|
willowrose Newbie
Joined: 26 Sep 2003 Posts: 6
|
Posted: 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? |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: 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. |
|
|
|
Davos Adept
Joined: 30 Jan 2003 Posts: 228 Location: USA
|
Posted: 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... |
|
|
|
|
|