server shout

pwnage

Golden Oldie
Golden Oldie
Feb 17, 2006
598
5
154
hi all ive tried a few times but seem to have no luck .. how do i make it so when lms is starting it globals " lms starts in 10mins " .. and like "username has reached level blah " etc etc and welcome a new player.. thanks in advance x
 

ρяєα¢нєя

Unstookie Titled
VIP
Aug 19, 2008
444
23
85
The NPC command for a global shout is:

Code:
 SENDMSG 1 "Message goes here"

If you want it to send when people level up it needs to be in qfunction-0.txt

Envir->Market_def->QFunction-0.txt
Code:
[@levelup]
#IF
CHECKLEVELEX = 40
#ACT
SENDMSG 1 "<%S> has reached Level 40. Congratulations!"

<%S> is used in NPC scripts to call the name of the NPC user in ACT statements.

As for LMS you will need to add it into the robot system. For example if you wanted your LMS to start at 8:00pm everyday you would have somthing similar to this:

Envir->Robot_def->AutoRunRobot.txt

Code:
#AutoRun	NPC	RUNONDAY	19:50	  @LMS

Then in...

Envir->Robot_def->RobotManage.txt
Code:
[@LMS]
#IF
#ACT
LINEMSG 0 "LastManStanding will comence in 10mins! Visist the NPC to sign up!"
BREAK

That should help you out.

p
 
Upvote 0