|
Retrovirus Wanderer
Joined: 13 Jul 2002 Posts: 51 Location: Malaysia
|
Posted: Wed Aug 28, 2002 3:47 pm
A pinger + timer question. |
I'm wondering how to get this pinger working??
I have a pinger, basically what it says is tell a mob ping until it pops.
But i want to add a timer to it, so i know how long it is before it repops.
Can anyone help me with this?
Cameth
Saweth
Fledeth my asseth offeth |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Aug 28, 2002 5:26 pm |
To find out how long something takes, subtract the start time from the stop time.
Record your start time (when the mob dies, probably). You can probably use a trigger for this.
#MATH pingstart {(%time(hh) * 3600) + (%time(nn) * 60) + %time(ss)}
Record the stoptime and/or calculate elapsed time when the mob repops. Again, you'll probably want to use a trigger for this.
#MATH pingstop {(%time(hh) * 3600) + (%time(nn) * 60) + %time(ss)}
#MATH pingtime {(@pingstop - @pingstart + (3600 * 24)) (3600 * 24)}
#VAR pinghms {%eval(@pingtime / 3600) hrs, %eval((@pingtime 3600) / 60) mins, %eval(@pingtime 60) secs}
LightBulb
Senior Member |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|