Sutex-Kindred Apprentice
Joined: 26 Aug 2009 Posts: 141
|
Posted: 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 |
|