Alter Aeon Community Forum
April 19, 2018, 05:43:47 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Registration is enabled!  Please register using the name of your primary character in-game.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Aliases and variables  (Read 1862 times)
Brynhild
Newbie
*
Posts: 4


View Profile
« 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
Logged
Theman
Newbie
*
Posts: 1


View Profile
« Reply #1 on: December 07, 2015, 07:06:51 pm »

fb = use wand $$opponent.
Logged
Brynhild
Newbie
*
Posts: 4


View Profile
« Reply #2 on: December 07, 2015, 09:54:27 pm »

Ah. That worked. Thanks!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.115 seconds with 18 queries.