Alias trouble

Scripts and support for your favorite MUD client.
Kordon
Sojourner
Posts: 15
Joined: Fri Oct 10, 2003 5:44 pm
Location: iowa
Contact:

Alias trouble

Postby Kordon » Tue Jul 31, 2007 6:25 am

i am trying to set up an alias where the alias also gives a variable a value. i am having problems.

here is what i have:

#ALIAS nukefire {cast 'fireball' %1;#VAR nukemob %1}


so is it even possible to have a variable within an alias, and if so, what am I doing wrong. I'm not sure what zmud is putting out, but whenever i put in, for example "nukefire adventurer" the mud just replies back "pardon?"
Kegor
Sojourner
Posts: 666
Joined: Wed Feb 28, 2001 6:01 am
Location: St. Cloud, MN
Contact:

Postby Kegor » Tue Jul 31, 2007 8:04 am

You were very close.

Code: Select all

#ALIAS nukefire {#VAR NUKEMOB {%1};cast 'fireball' @NUKEMOB}
Kordon
Sojourner
Posts: 15
Joined: Fri Oct 10, 2003 5:44 pm
Location: iowa
Contact:

Postby Kordon » Tue Jul 31, 2007 5:00 pm

thanks, that worked great :)

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 2 guests