 |
Lis Newbie
Joined: 22 Nov 2008 Posts: 2
|
Posted: Sat Nov 22, 2008 5:12 pm
Combat timer creation help needed |
I have a problem creating special timer for combat rounds
In our mud time between each combat round is 4,5 secs
I'm trying to create a small window on my status bar with this 4,5sec ticker synchronizing with special event like:
mud client capturing this string "The moss eater massacres Restive...." and start counting 4,5 secs, stop capturing same lines and resync only on special comand
Anyone is able to help me with it or can give some advice please?
Thanks in advance |
|
|
|
 |
Lis Newbie
Joined: 22 Nov 2008 Posts: 2
|
Posted: Mon Nov 24, 2008 4:31 pm |
Hmm i made something buggy by myself and seems i still need Guru's help
made trigger like this
trigger line: ^You * with your slice
#LOOP 20 {#sa ------>TICK;#WAIT 4500}
Problem:
This loop keeps giving me tick messages far more then 20 times and seems i cant turn it off
Anyone can help me with it or point out whats i'm doing wrong plz? |
|
|
|
 |
Fang Xianfu GURU

Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Mon Nov 24, 2008 4:45 pm |
A loop is a very bad idea, and is going to cause you problems. You're going to want to use an alarm that repeats every 4.5 seconds, and you can then use the %alarm function to change the time left and to return the current time left.
|
|
|
|
 |
|
|
|