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


Joined: 19 Jun 2003
Posts: 8

PostPosted: Wed Jul 16, 2003 12:56 am   

variable syntax question
 
what i want to do is to emulate this:
tell 1.thief hi
tell 2.thief hi
etc.

so i make this alias
#al tmob {tell @counterVar.%1 hi}
i am having trouble with the period. it is not letting the var expaned if i put a space to expands to: tell 1 .mob hi
you get the idea? is there anyway around this?
Reply with quote
moksha
Novice


Joined: 13 Oct 2002
Posts: 37
Location: United Kingdom

PostPosted: Wed Jul 16, 2003 1:37 am   
 
Hiya

I think need to put a tilde (~) in front of the period, as its one of the special characters.

#al tmob {tell @counterVar~.%1}

Moksha
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