Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
willowrose
Newbie


Joined: 26 Sep 2003
Posts: 6

PostPosted: Thu Oct 09, 2003 6:14 pm   

trigger/alias help
 
Need some helping fixing this. I have my spells set as aliases. I am trying to set a trigger to spell up characters with more than one spell. I have a trigger foryou (%1) set to:
a %t1
ha %t1
sh %t1
gs %t1
fly %t1
which works but after the spellup is completed Huh? is displayed. What am I doing wrong?
Reply with quote
megamog75
Enchanter


Joined: 20 Nov 2002
Posts: 627
Location: USA

PostPosted: Fri Oct 10, 2003 3:30 am   
 
What?
#trigger {megamog says 'spellme'} {a mega;ha maga;sh maga;etc...}
#trigger {(%w) says 'Spellme'} {a %1;ha %1;sh %1;etc....}
or
#var allspells {a|ha|sh|gs|fly}
#trigger {(%w) says 'Spellme'} {#forall @allspells {%i %1}}

there are so many different ways, hope this is what you wanted.
Reply with quote
Davos
Adept


Joined: 30 Jan 2003
Posts: 228
Location: USA

PostPosted: Fri Oct 10, 2003 3:36 am   
 
or you could do
#ALIAS spell {a %1;ha %1;sh %1;etc....}
which when you typed
spell davos
it would return
a davos
ha davos
sh davos
and so on...
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net