Thanks guys. That solved the problem. I can't believe that for all the times I stared at that problem I didn't realised that I had forgotten to include the Variable name for my 4 line.
I am trying to create a switch command to cast a spell on a rotating basis. It will trigger everytime CMUD see's the words "you also see". The variable Spellnum has already been created and set to 1 f ...