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


Joined: 28 Apr 2004
Posts: 4
Location: USA

PostPosted: Tue May 11, 2004 3:01 pm   

Toril looter help
 
I'm trying to build a loot class and can't figure out how to escape part of the command. Basically, the problem is in this trigger:

#TRIGGER {You get} {get all @lootcount.corpse;#ADD lootcount 1} "loot"

the mud sees "get all" (spammed). It needs to be e.g.:

"get all 3.corpse

it appears that there is no escape character listed in help (not as an "escape" character).

TIA

J
Reply with quote
nexela
Wizard


Joined: 15 Jan 2002
Posts: 1644
Location: USA

PostPosted: Tue May 11, 2004 3:07 pm   
 
First ~ is your escape character second reading #HELP VARIABLE will explain your problem

@lootcount.corpse is a refrence to a variable (which doesn't exsist)

@{lootcount}.corpse will expand @lootcount first then output 3.corpse //if lootcount=3
@lootcount~.corpse Same as above
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