That || symbol you used, can that be used to change the last line in my snippet
Until C Notin #charstatus Or G In #charstatus
to
Until C Notin #charstatus || G In #charstatus
Their is no command "OR" in easyuo. The command for 'or' in easyuo is "||".
Therefor you have to do it your revised way .. Until C Notin #charstatus || G In #charstatus
but be carefull with your repeat loop your code WILL get stuck looping and doing nothing if your spell fails so instead of
Repeat
Until C Notin #charstatus || G in #charstatus
Maybe you should change your code to a structure such as this
Repeat
if blabla
caste spell
Until C Notin #charstatus || G in #charstatus