|
rlittle8 Newbie
Joined: 04 Oct 2010 Posts: 2
|
Posted: Mon Oct 04, 2010 12:25 am
Alarm + wait help |
Botting/scripting is illegal on most muds that I play. I have everything set up to bot/script, however... I am running a bot that runs off of timers, and does not respond from the mud.
Here is my issue. I want to set the ticker to re-occur every 2 minutes which I have been able to do. My issue is, I want it to fire off at random times between 1:45 and 2:25 (that would be in minutes). So very simple, I want to (kill human) every 1:45-2:25 minutes. Is anyone able to show me how to do this? It must be random times, it cannot be the same time every time. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Mon Oct 04, 2010 3:26 am |
First off.. this is the wrong forum for questions, this is a place for sharing completed and working scripts.
As for the question... you would convert the time to seconds, and use the %random function
With the times you have supplied that would be: %random(105, 145)
You would then want to use an #ALARM:
#ALARM "killBot" +%random(105, 145) {kill human}
Now, this wont prevent it from randomly being the same number twice, but it should do what you want. |
|
_________________ Discord: Shalimarwildcat |
|
|
|
lionsroar777 Beginner
Joined: 31 Jan 2012 Posts: 17
|
Posted: Fri Feb 10, 2012 11:51 am |
Is this for Zmud or Cmud?
|
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Fri Feb 10, 2012 2:20 pm |
Seeing as it's in a zmud forum, make an educated guess.
|
|
|
|
lionsroar777 Beginner
Joined: 31 Jan 2012 Posts: 17
|
Posted: Fri Feb 10, 2012 5:25 pm |
Haha, I like your style.
|
|
|
|
|
|