|
talith Novice
Joined: 03 Mar 2005 Posts: 31
|
Posted: Sat Aug 07, 2010 7:43 pm
help converting zmud trigger to cmud |
I used to have a triggrer that did something like:
"You are better at %1"
#ad %1 1
it would take the %1 and make a variable of it, and keeping adding to it everytime it triggers.
This same trigger in cmud doesn't want to work, and i can't figure out another way to make it work. Any help? |
|
|
|
Tech GURU
Joined: 18 Oct 2000 Posts: 2733 Location: Atlanta, USA
|
Posted: Sat Aug 07, 2010 7:57 pm |
You can't use %1 in the trigger patterns. One thing about CMUD is that it's stricter about enforcing the coding rules. I recommend reading Changes for zMUD users for more information. As for your particular trigger this should do the trick.
Code: |
"You are better at (%w)"
#ADD %1 1 |
Or better yet just copy and paste this xml snippet into the package editor.
Code: |
<?xml version="1.0" encoding="ISO-8859-1" ?>
<cmud>
<trigger priority="890" copy="yes">
<pattern>You are better at (%w)</pattern>
<value>#ADD %1 1</value>
</trigger>
</cmud> |
|
|
_________________ Asati di tempari! |
|
|
|
|
|