Register to post in forums, or Log in to your existing account
 
:
Search found 2 matches for:
Page 1 of 1
Author Message
  Topic: Expanding variable if statments...
tagal

Replies: 5
Views: 10887

PostForum: zMUD General Discussion   Posted: Tue Dec 04, 2001 12:09 pm   Subject: Expanding variable if statments...
@mob_targ holds the name of a mob, say goblin in it. the mm alias

#alias {mm} {cast 'magic missile' @attr}
is just a basic spellcasters alias

@attr is where the problem is. @attr is the equi ...
  Topic: Expanding variable if statments...
tagal

Replies: 5
Views: 10887

PostForum: zMUD General Discussion   Posted: Tue Dec 04, 2001 3:32 am   Subject: Expanding variable if statments...
Zmud script
*SNIP*
#var mob_targ {0} {0}
#var attr {%if( @mob_targ, @mob_targ, %0)}
#alias {targ} {#var mob_targ %0}
#alias {notarg} {#var mob_targ 0}
#alias {mm} {cast 'magic missile' @attr}
* ...
 
Page 1 of 1
All times are GMT
© 2009 Zugg Software. Hosted on Wolfpaw.net