Alter Aeon Community Forum

General Category => New Players => Topic started by: Brynhild on December 06, 2015, 11:17:14 pm



Title: Aliases and variables
Post by: Brynhild on December 06, 2015, 11:17:14 pm
Ok, I have the following problem:
I have created an alias, "vop" that sets a variable, "opponent". It looks like this:

vop = variable opponent $*

So just before I'm about to fight a pig, for instance, I type 'vop pig'.

During the fight I use another alias, "fb"  that interact with my opponent", it looks like this:

fb = use wand $opponent

This Works like a charm, but only the first time after I've created the 'fb' alias!

I can subsequently change the 'opponent' variable via "vop" to, say, "chicken", but when I list the "fb" alias, it says

fb = use wand pig

not "use wand $opponent", which it should?? What am I missing here?

Brynh/Bebop


Title: Re: Aliases and variables
Post by: Theman on December 07, 2015, 07:06:51 pm
fb = use wand $$opponent.


Title: Re: Aliases and variables
Post by: Brynhild on December 07, 2015, 09:54:27 pm
Ah. That worked. Thanks!