About Us
Products
Purchase
Downloads
Support
Forums
Contact Us
Site
 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
Gatsby
Novice


Joined: 19 Dec 2006
Posts: 30

PostPosted: Thu May 03, 2007 1:17 pm   

small question
 
Hi,

This is not really a big issue, but I'm curious:

I have several triggers to tag name and exit of rooms with "weird" characters.
f.e. #TRIG {~* (*) ~* ~((*)~)} {#TAG name,exit (%1) (%2)}

This basically works fine, except that wit input '* a barn * (e,n)' it will take (a barn) as roomname (it of course included the parenthesis around the %1 of the TAG command) Is there an easy way to get rid of those parenthesis?

Secondly I dont succeed entering this trigger in a zone script instead of a normal class? This resuslts in a few dozen of those scripts in the root class... not nice:)

TIA
Gats
Reply with quote
Fang Xianfu
GURU


Joined: 26 Jan 2004
Posts: 5155
Location: United Kingdom

PostPosted: Thu May 03, 2007 3:49 pm   
 
Try using braces {} or quotes "" - brackets are used for expansion of expressions, not for grouping parameters.
_________________
Rorso's syntax colouriser.

- Happy bunny is happy! (1/25)
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