[2.3] NPC GlobalShout Help

devonf9

LOMCN n00bie
May 23, 2011
6
0
12
Hi, Everything is working except from it doesnt send the message is there anything wrong with this ?

(@@sendmsg @storage @getback)


[@main]
#IF
#ACT
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 75k in Gold.\ \
<SendMsg/@@Sendmsg> \
<Exit/@Exit>\


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


[@TooLow]
#SAY
BOG OFF lulz


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

and in q-function i put that thing ........ (cant remember lulz )
 
Last edited:

FurianMir

LOMCN Veteran
Veteran
Jun 25, 2010
649
3
104
Halifax
Heres mine, hope it helps.

(@@sendmsg )
%100
[@main]
#IF
CHECKLEVEL 30
#ACT
Goto @Main-start
#ELSEACT
Goto @TooLow
[@Main-start]
#IF
CHECKNAMELIST Globalabuse.txt
#ACT
GOTO @abusetoldyou
#ELSEACT
GOTO @Main-start-1
[@Main-start-1]
#SAY
World shout is for Buying and Selling\
looking for Guilds.\
Please use my services wisely or receive a WorldChat Ban!\
Use general chat conversation's in PM's only.\
<Next/@Main-1>
[@Main-1]
Do you want to send a World message?\
Note: Each message costs 20k in Gold.\ \
<SendMsg/@@Sendmsg> \
<Exit/@Exit>\
[@@Sendmsg]
#if
checkgold 20000
#act
take gold 20000
SETSENDMSGFLAG 2
#SAY
Message Sent....\ \
<Back/@main>\
<Exit/@Exit>\
#ElseSay
You dont have enough gold to send a message.....\ \
<Back/@main>
[@TooLow]
#SAY
Sorry <$USERNAME>, You need to be level 30 to use my services.
[@abusetoldyou]
#SAY
You Have been Banned From Useing this service.\
<Exit/@Exit>\

That script needs to go into Market_Def
 
Upvote 0

acer777

Banned
Banned
Veteran
Jul 28, 2010
299
1
45
Devon ere mine :P

;Settings
(@@sendmsg)

[@main]
#IF
CHECKNAMELIST Globalabuse.txt
#ACT
GOTO @abuse
#ELSEACT
GOTO @Main1

[@Main1]
<!!WARNING ABUSING THIS NPC WILL GET YOU BANNED FROM>\
<IT'S SERVICES SO DONT DO IT!!>\
\
\
Hello there <$USERNAME> im the Global Shout NPC i allow\
users to use my services to shout a measage to everyone\
on the server.\
Each message costs 50k in Gold.\ \
<SendMsg/@@sendmsg> \
<Exit/@Exit>\

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

[@abuse]
#SAY
You Have been Banned From Useing this service.\
I will unban you when i feal or when you can\
prove to me that you are mature enough to\
use its services, Thanks.\
<Exit/@Exit>\


Then go into Qfunction and put this at the top copy and paste it easy done :D:

;Settings
(@storage @getback @makedrug @@sendmsg @buy @sell @repair @s_repair)
 
Upvote 0