|
superbovine Newbie
Joined: 19 Jun 2003 Posts: 8
|
Posted: 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? |
|
|
|
moksha Novice
Joined: 13 Oct 2002 Posts: 37 Location: United Kingdom
|
Posted: 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 |
|
|
|
|
|