You don't want or you can't ? What's the problem with understanding that nothing but a /scid command give you the error ?
I'm sure you've already tried a lot of things to debug your code, but really, you think that if there was such a bug in mirc it will display you THIS error message ?
You've said earlier :
No, actually I would have been happy to use echo's around where I use scid but I didn't know how to duplicate the issue. But this has happened again now and I did put echos and recieved nothing in the window. Only the same error message.
It's funny, because this proove that there's a /scid that you're not aware of somewhere :')...
Also, another clue is that you've reproduced the error two time in a short period while others never reproduced it.