[2.3] Global shout help

acer777

Banned
Banned
Veteran
Jul 28, 2010
299
1
45
ive made a npc in the merchant table and put him sz and all then found this script for him from demonio

Code:
(@@sendmsg)

[@main]
#IF
CHECKNAMELIST Globalabuse.txt 
#ACT
GOTO @abusetoldyou
#ELSEACT
GOTO @Main-start-1

[@Main-start-1]
#SAY
Global shout is for Buying and Selling\
looking for Guilds ETC\
NO CRAP chat that can be done in pms.\
ANYONE Abusing this will get chatbans ETC.\
<Next/@Main-1>

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

[@@Sendmsg]
#if
checkgold 100000
#act
take gold 100000
#SAY
Your Message Has Been Sent And 100k Removed From You \ \
<Back/@main>\
<Exit/@Exit>\
#ElseSay
You dont have enough gold to send a message.....\ \
<Back/@main>

[@TooLow]
#SAY
you are too low bye bye

[@abusetoldyou]
#SAY
You Have been Banned From Useing this service.\
<Exit/@Exit>\

Then Check Qfunction.txt For The Following

;Settings
(@storage @getback @makedrug @@sendmsg) makes sure @@sendmsg is in


then create globalabuse.txt in merchant file (This allows you to add names and that will ban
them from using the global shout service


i added this to the merchants script and also did wat it said about Qfunction.txt and when i log ingame the npc just sits there in sz and does nothing like u cant even click on him, dunno what wrong but if som1 could help would be great also if u got a better script then feel free to hit me with it :D.
 
Last edited by a moderator: