|
Atreides096 Beginner
Joined: 26 Apr 2004 Posts: 15 Location: USA
|
Posted: Fri May 21, 2004 3:01 am
Help with #alarm or similar command |
Hi, I am trying to write a couple of scripts right now that involved time-delayed output to the MUD. The #wait command is too flawed for the timing I need, and I cannot get the #alarm command to work.. I was wondering if someone could help with the syntaxing? An example of what I want to do would be like:
#ac {^(%w) says 'Activate'}
{
say Bot activated
(delay 2 seconds)
say something else
(delay 6 seconds)
say something else
(etc)
}
All help is appreciated, thanks! |
|
|
|
Vorax Apprentice
Joined: 29 Jun 2001 Posts: 198 Location: USA
|
Posted: Fri May 21, 2004 3:07 am |
#TRIGGER {^(%w) says 'Activate'} {say Bot activated
#ALARM +2 {say something else
#ALARM +6 {say something else}
}
}
These alarms are nested. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Fri May 21, 2004 3:53 am |
A multistate Wait-type trigger could also be used.
#ACTION {^(%w) says 'Activate'} {say Bot activated}
#COND {} {say something else} {Wait|Param=2000}
#COND {} {say something else} {Wait|Param=6000}
(etc) |
|
|
|
|
|