Global shout

Mu online season 21 - grand opening

excluded

Golden Oldie
Golden Oldie
May 31, 2006
555
4
105
Right im using a global shout script,when i come to writing the message,i press ok,it takes my 50k away,then it dosent do the shout,heres the script im using:

(@@sendmsg)
[@Main]
Do you want to send a Global message?\
Note: Each message costs 50k in Gold.\ \
<SendMsg/@@Sendmsg> \
<Exit/@Exit>\
[@@Sendmsg]
#if
checkgold 50000
#act
take gold 50000
SETSENDMSGFLAG
#SAY
Message Sent....\ \
<Back/@main>\
<Exit/@Exit>\
#ElseSay
You dont have enough gold to send a message.....\ \
<Back/@main>

any ideas ?:)
 

Elvin

Golden Oldie
Golden Oldie
May 14, 2003
1,155
1
175
middlesex
try making a global shout scroll double clickable
goes a bit like this
add this to either i think qfunction or qmanage
[@stdmodefuncxxx] xxx will be any number u like
#ACT
#CALL [Market_Def\Global.txt] @@sendmsg

then add this to a merchant script called global

(@@sendmsg)

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

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

now all you have to do is make an item in your DB
1000 GlobalScroll 3 3 1 your stdmode here what was xxx 0 0 4 0 2 etc etc.
just to show you whats needed not necessarily correct.
 
Upvote 0

™blade™

Golden Oldie
Golden Oldie
Oct 31, 2004
799
1
155
here is wot i use and it works fine

Code:
(@@SendMsg)
(@@useitemname)
[@main]
#say
Welcome <$USERNAME> witch feature would you\
like to use\
<ItemNameChange/@itemchange>\
<Name Colour/@color>\ 
<Send An Pefix Msg/@msgsend> To The Whole Server\
<Send Your Own Msg/@Global> To The Whole Server\\
<None Thx/@Exit>\

[@Global]
Would you like to send a Global Message\
Note it will cost you 500k a message\\
<Yes Please/@@sendmsg>\
<no way/@exit>\

[@@SendMsg]
#IF
checkgold  500000
#ACT
take Gold 500000
SETSENDMSGFLAG 
#elsesay
You dont have enough gold\ \
<Back/@main> <Exit/@Exit>

[@msgsend]
===---===---===---===---===---===---===---===---===---===---===\
#say
Welcome here you can send global pefixed\
msg to the whole server.But with an\
cost of 100k

SendMsg :<Send/@next1>\
Exit :<Exit/@exit>\
===---===---===---===---===---===---===---===---===---===---===\\

[@next1]
===---===---===---===---===---===---===---===---===---===---===\
#say
<State Your Level/@sh32>\
<Looking For a Parnter/@sh33>\
<Recruit For Guild/@sh34>\
<My Weapon Owns/@sh31>\
<Looking For any Hunts/@sh36>\
<Anyone Want a PVP/@sh37>\
<More/@next2>         ,             <Exit/@exit>\
===---===---===---===---===---===---===---===---===---===---===\\
#ELSESAY
You don't have enough points to use my service!\
<Exit/@exit>\
===---===---===---===---===---===---===---===---===---===---===\\
[@next2]
===---===---===---===---===---===---===---===---===---===---===\
#say
<Selling Wizard Items/@sh38>\
<Selling Taoist Items/@sh39>\
<Selling Warrior Items/@sh40>\
<Selling PointScrolls/@sh41>\
<Selling Loads/@sh42>\

                      <Exit/@exit>\
===---===---===---===---===---===---===---===---===---===---===\\



[@sh31]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "<$USERNAME>'s <$USERWEAPON> Owns All!"
goto @main
#ELSEACt
GOTO @sh

[@sh32]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "<$USERNAME> Is Level <$LEVEL>!"
goto @main
#ELSEACt
GOTO @sh

[@sh33]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "<$USERNAME> Is Looking For A Partner To Marry ?"
goto @main
#ELSEACt
GOTO @sh

[@sh34]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "<$USERNAME> Is Recruiting Members For Guild"
goto @main
#ELSEACt
GOTO @sh



[@sh36]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "<$USERNAME>'s Looking For A Hunt ! (MSG ME)"
goto @main
#ELSEACt
GOTO @sh

[@sh37]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "<$USERNAME>'s Looking For A Fight ! (PVP)"
goto @main
#ELSEACt
GOTO @sh

[@sh38]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "Selling Good Wizard Items (MSG Me) <$USERNAME>"
goto @main
#ELSEACt
GOTO @sh

[@sh39]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "Selling Good Taoist Items (MSG Me) <$USERNAME>"
goto @main
#ELSEACt
GOTO @sh

[@sh40]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "Selling Good Warrior Items (MSG Me) <$USERNAME>"
goto @main
#ELSEACt
GOTO @sh

[@sh41]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "Selling PointScrolls (MSG Me) <$USERNAME>"
goto @main
#ELSEACt
GOTO @sh

[@sh42]
#IF
Checkgold 100000
#ACT
Take Gold 100000
SENDMSG 5 "Selling Loads Of Stuff (MSG Me) <$USERNAME>"
goto @main
#ELSEACt
GOTO @sh

[@color]
#IF
#ACT
goto @doplayer

[@doplayer]
Welcome to the name colour service.\ 
<Black/@doblack> \
<Dark Blue/@dodarkblue> \
<Green/@dolightblue>\
<Purple/@doyellow>\
<Dark Red/@dowhite> \  \
<Info/@info>   ,   <Exit/@exit>\


[@info]
Once you logout your name will be back to nomal\ \
<Ok Thanks/@exit>\


[@doblack]
#IF
#ACT
CHANGENAMECOLOR 0
goto @doend

[@dowhite]
#IF
#ACT
CHANGENAMECOLOR 1
goto @doend

[@dolightblue]
#IF
#ACT
CHANGENAMECOLOR 2
goto @doend

[@dolightpurple]
#IF
#ACT
CHANGENAMECOLOR 3
goto @doend

[@dodarkblue]
#IF
#ACT
CHANGENAMECOLOR 4
goto @doend

[@doyellow]
#IF
#ACT
CHANGENAMECOLOR 5
goto @doend

[@dolightgreen]
#IF
#ACT
CHANGENAMECOLOR 6
goto @doend

[@dolightred]
#IF
#ACT
CHANGENAMECOLOR 7
goto @doend

[@dodarkgrey]
#IF
#ACT
CHANGENAMECOLOR 8
goto @doend

[@dolightgrey]
#IF
#ACT
CHANGENAMECOLOR 9
goto @doend

[@dolightorange]
#IF
#ACT
CHANGENAMECOLOR 13
goto @doend

[@dogmcolor]
#IF
#ACT
CHANGENAMECOLOR 161
#SAY
Your Name Color has changed.\ \

<Exit/@exit>

[@dodarkorange]
#IF
#ACT
CHANGENAMECOLOR 188
goto @doend

[@dolightbrown]
#IF
#ACT
CHANGENAMECOLOR 222
goto @doend

[@dodarkbrown]
#IF
#ACT
CHANGENAMECOLOR 223
goto @doend

[@dodarkred]
#IF
#ACT
CHANGENAMECOLOR 231
goto @doend

[@dolightpink]
#IF
#ACT
CHANGENAMECOLOR 225
goto @doend

[@dodarkpink]
#IF
#ACT
CHANGENAMECOLOR 237
goto @doend

[@dodarkpurple]
#IF
#ACT
CHANGENAMECOLOR 251
goto @doend

[@dokarki]
#IF
#ACT
CHANGENAMECOLOR 253
goto @doend

[@dodarkgreen]
#IF
#ACT
CHANGENAMECOLOR 254
goto @doend

[@dotest]
#IF
#ACT
CHANGENAMECOLOR 120
#SAY
Your Name Color has changed.\ \

<Exit/@exit>

[@doend]
#IF
#SAY
Your Name Color Has Been Done.\ \

<Thanks/@exit>\



[@itemchange]
#SAY
Please choose the Item you wish to rename\
------------------------------------------------------------\
<Armour/@@useitemname0>           <Weapon/@@useitemname1>\
<Necklace/@@useitemname3>             <Helmet/@@useitemname4>\
<Left Brace/@@useitemname5>           <Right Brace/@@useitemname6>\
<Left Ring/@@useitemname8>            <Right Ring/@@useitemname7>\
<Candle Slot/@@useitemname2>\
------------------------------------------------------------\
<Exit/@exit>

[@@useitemname0]
#ACT
 goto @ChangeName
[@@useitemname1]
#ACT
 goto @ChangeName
[@@useitemname2]
#ACT
 goto @ChangeName
[@@useitemname3]
#ACT
 goto @ChangeName
[@@useitemname4]
#ACT
 goto @ChangeName
[@@useitemname5]
#ACT
 goto @ChangeName
[@@useitemname6]
#ACT
 goto @ChangeName
[@@useitemname7]
#ACT
 goto @ChangeName
[@@useitemname8]
#ACT
 goto @ChangeName
[@@useitemname9]
#ACT
 goto @ChangeName
[@@useitemname10]
#ACT
 goto @ChangeName
[@@useitemname11]
#ACT
 goto @ChangeName
[@@useitemname12]
#ACT
 goto @ChangeName
[@ChangeName]
#IF
#act
  SETSCRIPTFLAG 1 1
  sendmsg 7 Item_renamed_successfully.
  Close
#elseact
  sendmsg 7 You_dont_have_enough_gold.
 
Upvote 0