|
jgankum Newbie
Joined: 27 Jun 2003 Posts: 2 Location: USA
|
Posted: 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 |
|
|
|
Emit Magician
Joined: 24 Feb 2001 Posts: 342 Location: USA
|
Posted: Fri Jun 27, 2003 8:15 pm |
#alias sneaky {
unhide
hide
#alarm +(%gsl(Q) - %gsl(q)) {sneaky}
} |
|
|
|
jgankum Newbie
Joined: 27 Jun 2003 Posts: 2 Location: USA
|
Posted: 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}
}
|
|
|
|
Emit Magician
Joined: 24 Feb 2001 Posts: 342 Location: USA
|
Posted: 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. |
|
|
|
|
|