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
user0101
Apprentice


Joined: 01 Aug 2003
Posts: 100
Location: USA

PostPosted: Sun Apr 18, 2004 7:03 am   

Alias Parameters
 
Ok this is a really simple alias that seems like it should work.

#alias get {#if (%-1 = "gold from pack") {~get gold from @pack} {~get %-1}}

Seems simple enough right? Well, when I try to use multiple word 'get', it receives the parameters as passing the if check and tries to get my gold from the pack. One word parameters are passed without a problem, it's just multiple words that seem to act haywire.
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Sun Apr 18, 2004 7:48 am   
 
QUOTE IT! :P

#alias get {#if ("%-1" = "gold from pack") {~get gold from @pack} {~get %-1}}
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