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

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Sutex-Kindred
Apprentice


Joined: 26 Aug 2009
Posts: 141

PostPosted: Fri May 20, 2011 4:37 am   

Variables
 
When I use this script in one window the other character window won't run their spell up . Instead the current window now starts , while the other stops. Or I just get overflow errors.
The other two character window have the same scripts , but have either "s" or "z" in front of variables and alias
ie: here #var spell_test 0 . Other character windows #var sspell_test 0 or #var hspell_test 0
I thought this would stop the problem.
This is a cobble together scripts , so any help in getting it to work better, would be great

#T+ failCap
#T+ exitCap
#T+ spell_cast
#var exitFlag 0
#IF (%numparam < 1) {#var finalList @selfList} {#var finalList @spellList}
#FORALL @finalList {
#var spell_test 0
#while (@spell_test != 1 && @exitFlag != 1) {
#var spell_test 1
#IF (%numparam < 1) {#exec {%i}} {#exec {%i %1}}
#wait 6000
}
}
#T- failCap
#T- exitCap
#T- spell_cast

The triggers ^You lost your concentration*$ #var spell_test 0
^You rest.$ #var exitFlag 1
_________________
Entropy rules
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD 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