|
Samantha Newbie
Joined: 03 Jun 2009 Posts: 2
|
Posted: Wed Jun 03, 2009 11:43 am
brackets in trigger problem |
Hi !
I have a problem running this one:
#trigger { ( CRIMINAL ) &crimname}
I want it to capture automatically the name of the criminal character and store it in variable &crimname but for some reason those () brackets within the trigger are not allowing me to capture it.
Can anyone help me with this ? The brackets are special characters but they are not within the special characters menu thus can't be disabled as such. |
|
|
|
ixy Novice
Joined: 18 Mar 2007 Posts: 39
|
Posted: Wed Jun 03, 2009 12:10 pm |
you need to use the tilde ~ before special characters in trigger lines to make zmud recongise the () as a actual line in the mud and not a parameter.
An example from my mud i play would be:
#trigger {~(Gold Aura~) King Sandoval stands here, watching over his castle.} {#stop} |
|
|
|
Samantha Newbie
Joined: 03 Jun 2009 Posts: 2
|
Posted: Wed Jun 03, 2009 1:03 pm |
thanks alot, it worked out perfectly !
|
|
|
|
|
|