|
takke Beginner
Joined: 11 Oct 2002 Posts: 29 Location: Sweden
|
Posted: Wed Feb 05, 2003 9:27 am
Random timetrigger |
Hi
I need help to make a trigger that will
execute random. Example
You summon a mystic sword.
Trigger: summon one again in 1-30 sec.
Hope you understand the quastion |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Wed Feb 05, 2003 12:13 pm |
#TR {You summon mystic sword.$} {#EXEC {%concat("#ALARM {+",%random(1,30),"} {summon sword}")}}
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Feb 05, 2003 6:11 pm |
The simpler
#TR {^You summon a mystic sword} {#ALA %random( 1, 30) {summon sword}}
will also work (v6.40).
LightBulb
Advanced Member |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Wed Feb 05, 2003 11:52 pm |
Cool, never saw that Zugg added that. Guess I should read back through the version history again.
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Thu Feb 06, 2003 4:14 am |
Heh, I didn't know it was ever missing so I just went ahead and tried it. It makes an interesting entry in the editor's list of triggers.
+%random( 1, 30)
LightBulb
Advanced Member |
|
|
|
|
|