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
TehJunkAcct
Newbie


Joined: 07 May 2004
Posts: 7
Location: USA

PostPosted: Mon May 24, 2004 5:32 am   

Blasted Cant Control A Variable
 
Ok Im In Battle..
I Try To Cast A Spell, Done by trigger
and it says i cant concentrate enough, because im in battle
so when it says R.I.P. (saying the fight is over) i want it to cast the spell
But i cant get it to cast the spell i want it to..

Mud says:The White aura around your body fades
Trigger does:Cast 'Sanc'
Mud says:Impossible you cant concentrate enough
Mud says:The pig is dead R.I.P.
Trigger does:Cast 'Sanc'

but if i cast Aid.. it would cast sanc at the end of battle?
Anybody know the predefined variable so i target the Spell?

Thanks Lots
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: Mon May 24, 2004 4:18 pm   
 
#AL cast {#VAR lastspell {%-1};~cast %-1}
#TR {Impossible you cant concentrate enough} {#IF (@lastspell) {#VAR recast {@lastspell}};#VAR lastspell {}}
#TR {is dead R.I.P.} {cast @recast;#VAR recast {}}

NOTES (added):
1. You can control which spells might get recast by using 'cast' for noncombat spells and 'c' for combat spells
2. If your MUD doesn't recognize shortened commands, you can make an alias for 'c'
#AL c {~cast}
3. Added commands to clear variables after use
Reply with quote
TehJunkAcct
Newbie


Joined: 07 May 2004
Posts: 7
Location: USA

PostPosted: Tue May 25, 2004 2:04 am   
 
Yeah, i got it..
Very nice triggering btw..
Thanks-a-bunch
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