|
Tygerhart Novice
Joined: 04 Oct 2001 Posts: 43 Location: Canada
|
Posted: Mon Mar 03, 2003 4:57 pm
Bad memory and trigger help. :) |
Hi, I'm hoping someone can help me.
I'm trying to make a trigger that will fire off a commands every 4th round of combat. Thankfully the MUD I'm on gives you a status bar every round. Somthing like;
HP: 300 CP: 234
So every 4th tim that comes up I need to send a command (smack) to the MUD.
Any help would be greatly appreciated.
Thanks
Tyger |
|
|
|
Charbal GURU
Joined: 15 Jun 2001 Posts: 654 Location: USA
|
Posted: Mon Mar 03, 2003 5:00 pm |
Try:
#VAR TimesFired 0
#TRIGGER {HP: %d CP: %d} {#ADD TimesFired 1;#IF (@TimesFired >= 4) {smack;#VAR TimesFired 0}} "" {prompt}
- Charbal |
|
|
|
Tygerhart Novice
Joined: 04 Oct 2001 Posts: 43 Location: Canada
|
Posted: Wed Mar 05, 2003 6:23 pm |
Thanks Carbel!
Works like a charm. :)
Thanks again,
Tyger |
|
|
|
|
|