Need Help With Current GlobalScript

Mu online season 21 - grand opening

msferna1

Dedicated Member
Dedicated Member
Feb 17, 2009
54
0
33
This is the current Global Script i've tryed to get working =/ i take's the money from you. but doesn't Send the Message Across the Server. Any Help Would be Great. Thanks! :)

Current Script:

(@@sendmsg)
[@Main]
Do you want to send a GLOBAL message?\
Note: Each message costs 1mill in Gold.\ \
<SendMsg/@@Sendmsg> \
<Exit/@Exit>\

[@@Sendmsg]
#if
checkgold 1000000
#act
take gold 1000000
SETSENDMSGFLAG
#SAY
Message Sent....\ \
<Back/@main>\
<Exit/@Exit>\
#ElseSay
You dont have enough gold to send a message.....\ \
<Back/@main>
 

awadhero

EGYMIR Team Dev.
Golden Oldie
Mar 17, 2009
815
9
105
EGYMIR Lands
if this script located in NPC_Def folder , it wont work , u should put the script in Market_Def and add the npc in Merchant.txt instead of Npcs.txt and try againe

this is mine and its working fine
Code:
[@@sendmsg]
#IF
checkgold 1000000
#ACT
take gold 1000000
SENDMSG 7 "Thanx for using our service."
SETSENDMSGFLAG
BREAK
CLOSE

#ELSEACT
SENDMSG 5 "You do not have enough gold in your bag."
BREAK
CLOSE
 
Upvote 0