|
Thalir Novice
Joined: 10 Aug 2002 Posts: 35 Location: USA
|
Posted: Wed Feb 14, 2007 5:10 pm
Just a little help please. |
Its been a while since i've used Zmud and when i saw that Cmud came out i thought i'd give it a try seems i've pretty much forgotten all the old stuff as far as triggers go, So its a perfect time to get some help on the new format. I've read most of the read me files but still find myself a bit lost.
I was hoping that someone could help me convert this.
#ALIAS claw {~claw %1;#VAR Target %1}
#TRIGGER {You swipe at * (%w)!} {}
#COND {You swipe at * (%w)!} {claw @target}
this used to work in Zmud quite well but is a dead trigger in Cmud.
Thank you for any help you all can supply.
Best,
Thalir |
|
_________________ Thalir
Who ever said bards lie? |
|
|
|
Fang Xianfu GURU
Joined: 26 Jan 2004 Posts: 5155 Location: United Kingdom
|
Posted: Wed Feb 14, 2007 5:31 pm |
I pasted that code on the command line and it works fine for me.
Code: |
claw Bob
You swipe at something something!
You swipe at something something!
claw Bob |
What input exactly is being passed to the trigger, and what is it doing that you don't expect? |
|
|
|
Thalir Novice
Joined: 10 Aug 2002 Posts: 35 Location: USA
|
Posted: Wed Feb 14, 2007 6:23 pm |
Thats just it, it doesnt do anything. ZMUD used to trigger it off the second attack since i have 2 attacks per round.
Here is the MUD Text.
> claw dum
You swipe at a training dummy with your claws.
The attack is a strong blow to the left leg.
You inflict 17 points of damage!
[4 sec. delay]
You swipe at a training dummy with your claws.
The attack is a strong blow to the left leg.
You inflict 19 points of damage!
[4 sec. delay]
> |
|
_________________ Thalir
Who ever said bards lie? |
|
|
|
Thalir Novice
Joined: 10 Aug 2002 Posts: 35 Location: USA
|
Posted: Wed Feb 14, 2007 10:41 pm |
please ignore.
Thanks for the reply i've managed to resolve this issue myself complete oversight on my part. didnt mean to waist anyones time.
thank you very much. |
|
_________________ Thalir
Who ever said bards lie? |
|
|
|
|
|