Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
jgankum
Newbie


Joined: 27 Jun 2003
Posts: 2
Location: USA

PostPosted: Fri Jun 27, 2003 7:48 pm   

DR Example script please
 
I was hoping someone could show me a complete class script that would make a char hide, wait for the round time to end by checking the gsl(Q)-gsl(q) time, then unhide and hide again and loop. I dont want to use #wait as round times change often. If there is a good way to do this please help me by letting me know.

Jonny
Reply with quote
Emit
Magician


Joined: 24 Feb 2001
Posts: 342
Location: USA

PostPosted: Fri Jun 27, 2003 8:15 pm   
 
#alias sneaky {
unhide
hide
#alarm +(%gsl(Q) - %gsl(q)) {sneaky}
}
Reply with quote
jgankum
Newbie


Joined: 27 Jun 2003
Posts: 2
Location: USA

PostPosted: Fri Jun 27, 2003 9:18 pm   
 
Anyone know why this line, +(%gsl(Q) - %gsl(q)), would not set off the alarm and write sneaky to the screen?

Jonny

quote:
Originally posted by Emit

#alias sneaky {
unhide
hide
#alarm +(%gsl(Q) - %gsl(q)) {sneaky}
}

Reply with quote
Emit
Magician


Joined: 24 Feb 2001
Posts: 342
Location: USA

PostPosted: Fri Jun 27, 2003 10:08 pm   
 
maybe try
#alarm +%eval(%gsl(Q) - %gsl(q)) {sneaky}

i don't use %gsl, but the %eval one worked just now when i tested it.
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net