NPC Global Shout

Join Discord

~HeavenSent~

Golden Oldie
Golden Oldie
Nov 9, 2005
2,157
17
150
Chorley
Below is the script that in my merchant but it dose not allow me to send a Globle shout it just takes my gold & know box that i can enter a msg appears ??

any help would be gr8


(@@sendmsg)
[@main]
-= Legend Of Mir X =-\ \
A global Shout Will Cost You 50,000 Gold\ \
<Sure No Problem!/@global1> - <No Thanks!/@exit>\
[@global1]
#IF
CHECKGOLD 50000
#ACT
TAKE GOLD 50000
SETSENDMSGFLAG
LINEMSG 6 "Global shout executed!"
close
#ELSEACT
LINEMSG 6 "You dont have enough GamePoints to execute a GlobalShout!"
close
 

Tai

HEAD CAPTAIN
Staff member
Administrator
May 11, 2003
14,316
2
2,696
515
United Kingdom
Re: NPC GlobleShout

My guess is the files you're using don't have @@sendmsg coded.
 
Last edited:
Upvote 0

~HeavenSent~

Golden Oldie
Golden Oldie
Nov 9, 2005
2,157
17
150
Chorley
Re: NPC GlobleShout

JP told me to change the @@sendmsg to @sendmsg but still no box to input the msg :(

(@sendmsg)
[@main]
-= Legend Of Mir X =-\ \
A global Shout Will Cost You 50,000 Gold\ \
<Sure No Problem!/@global1> - <No Thanks!/@exit>\
[@global1]
#IF
CHECKGOLD 50000
#ACT
TAKE GOLD 50000
SETSENDMSGFLAG
LINEMSG 6 "Global shout executed!"
close
#ELSEACT
LINEMSG 6 "You dont have enough GamePoints to execute a GlobalShout!"
close
 
Upvote 0

neo16uk

LOMCN Veteran
Veteran
Aug 20, 2006
563
14
125
Below is the script that in my merchant but it dose not allow me to send a Globle shout it just takes my gold & know box that i can enter a msg appears ??

any help would be gr8

think i might of found some thing you can use i just made a npc quick to test some msging stuff here is anyways you can use one for the linmsg as global

Code:
; ===================================
; Npc Def NPC File : TESTNPC-0
; TEST npc in Bichon Province
; -----------------------------------
; Name: GameMasterHelper
; Job: 
; Map No: 0
; Pos X 
; Pos Y 
; File name: *removed*
; Comment: TEST npc in Bichon Province

;================================================= =
;

[@main]
#SAY
Hi there.\
Erm...Are you an Admin?\
<Yes!/@YES>\
<No sorry./@exit>

[@YES]
#IF
ISADMIN
#ACT
GOTO @TESTA
BREAK
#ELSEACT
CLOSE
MESSAGEBOX Lies.
BREAK

[@TESTA]
#SAY
Hi there fella lets get started.\\
<linmsg 1/@MSG1>  <linmsg 1/@MSG2>  <linmsg 1/@MSG3>\
<linmsg 1/@MSG4>  <linmsg 1/@MSG5>  <linmsg 1/@MSG6>\
<linmsg 1/@MSG7>\\
<Main Menu/@MAIN>

[@MSG1]
#IF
#ACT
LINEMSG 1 hi
EVENTMSG 1 hi
SOUNDMSG 1 hi
BREAK

[@MSG2]
#IF
#ACT
LINEMSG 2 hi
EVENTMSG 2 hi
SOUNDMSG 2 hi
BREAK

[@MSG3]
#IF
#ACT
LINEMSG 3 hi
EVENTMSG 3 hi
SOUNDMSG 3 hi
BREAK

[@MSG4]
#IF
#ACT
LINEMSG 4 hi
EVENTMSG 4 hi
SOUNDMSG 4 hi
BREAK

[@MSg5]
#IF
#ACT
LINEMSG 5 hi
EVENTMSG 5 hi
SOUNDMSG 5 hi
BREAK

[@MSG6]
#IF
#ACT
LINEMSG 6 hi
EVENTMSG 6 hi
SOUNDMSG 6 hi
BREAK

[@MSG7]
#IF
#ACT
LINEMSG 7 hi
EVENTMSG 7 hi
SOUNDMSG 7 hi
BREAK
linemsg.png


am trying to find away to imput text so you can make a global shout but no luck sadly still looking though playing around if i figure it out will let u know
 
Last edited by a moderator:
Upvote 0

neo16uk

LOMCN Veteran
Veteran
Aug 20, 2006
563
14
125
ahh will try that ty
i realised what posed was off subject and am sorry was half asleep anyways i am stil looking for some sort way to the gobal
 
Upvote 0

wanabee

Golden Oldie
Golden Oldie
Jul 10, 2004
723
4
125
newbury
Below is the script that in my merchant but it dose not allow me to send a Globle shout it just takes my gold & know box that i can enter a msg appears ??

any help would be gr8

not sure if this is what you are after but i used to use this on bandet but had many issues with silly ppl just spaming the server with mindless crap so added a few things in to try and over come this. below is the script i used to use and various files.

file name globalshout-hz123.txt you can use whatever you like.

(@@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
SETSENDMSGFLAG 2
#SAY
Message Sent....\ \
<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>\

Qfunction.txt

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

globalabuse.txt in merchant file


hope it helps
 
  • Like
Reactions: Andreas
Upvote 0

neo16uk

LOMCN Veteran
Veteran
Aug 20, 2006
563
14
125
thanks fella will try this now XD

Sorted thanks [SOLVED] Needed
 
Last edited:
Upvote 0