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
n0manarmy
Newbie


Joined: 31 May 2002
Posts: 8

PostPosted: Thu Jun 06, 2002 4:17 am   

Having problems calling an alias through trigger
 
I have an if statement in a trigger that calls to an alias, unfortunately it won't call the alias. The statement looks like this

#IF (@TOTAL] < 14) {aff} {#SA Done!}

It skips past the alias and goes right to the end. is there a special character im supposed to insert to call the alias in the trigger? Ill insert something besides aff and it will execute it, but when i put aff back it doesn't do anything.
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Thu Jun 06, 2002 5:36 am   
 
quote:

I have an if statement in a trigger that calls to an alias, unfortunately it won't call the alias. The statement looks like this

#IF (@TOTAL] < 14) {aff} {#SA Done!}

It skips past the alias and goes right to the end. is there a special character im supposed to insert to call the alias in the trigger? Ill insert something besides aff and it will execute it, but when i put aff back it doesn't do anything.



Your problem is probably the ending square bracket. Is that a typo and if not have you noticed this with other #IF commands?

You can perhaps try preceding it with the quote character (~ by default), but I think you'll need to remove it completely from the variable name.

li'l shmoe of Dragon's Gate MUD
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