Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Samantha
Newbie


Joined: 03 Jun 2009
Posts: 2

PostPosted: 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.
Reply with quote
ixy
Novice


Joined: 18 Mar 2007
Posts: 39

PostPosted: 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}
Reply with quote
Samantha
Newbie


Joined: 03 Jun 2009
Posts: 2

PostPosted: Wed Jun 03, 2009 1:03 pm   
 
thanks alot, it worked out perfectly !
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net