 |
PHLN Adept
Joined: 30 Dec 2001 Posts: 220 Location: Canada
|
Posted: Tue Oct 15, 2002 2:01 am
Timer with a random actions... |
Anyone know how about doing a ALARM for like every 10 minutes, and a action (random from a list) will occur, ?
|
|
|
|
 |
Kjata GURU

Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Tue Oct 15, 2002 2:19 am |
#ALARM {*600} {#EXEC %item(@list, %random(%numitems(@list)))}
Kjata |
|
|
|
 |
PHLN Adept
Joined: 30 Dec 2001 Posts: 220 Location: Canada
|
Posted: Tue Oct 15, 2002 2:57 am |
hmm, it doesn't work, I created a variable name list too
|
|
|
|
 |
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue Oct 15, 2002 3:58 am |
#VAR list %null
#ADDITEM list {remove all}
#ADDITEM list {drop all}
#ADDITEM list {drop all gold}
#ADDITEM list {dance}
#ADDITEM list {say oops}
It has to be a list. The order doesn't matter, since you are picking a random item. I wouldn't recommend the examples I used.
LightBulb
Senior Member |
|
|
|
 |
PHLN Adept
Joined: 30 Dec 2001 Posts: 220 Location: Canada
|
Posted: Tue Oct 15, 2002 8:48 am |
thanks
|
|
|
|
 |
|
|
|