this was always gonna be the issue lol... this is a tad complex to what i am usually writing. thought i would try and be smart. heh! the coding worked. ops are auto protected by my bot anyway hence why i think i forgot to include ops in the loop. also my ops use a set mode to escape the script knowing where they are... i wont post the mode for obvious reasons lol..
ty for the /var suggestion as a replacement for the /set /unset also.
much appreciated