bordemstirs
Member
So, I've tried to replicate the issue on a smaller scale, but I haven't been able to.
It seems that my buffbot, when sending himself commands (using chat_private() to himself, from his loginScript) is running the chatbotScript twice.
I thought at first maybe somehow the loginScript was being run on two threads simultaneously, but the addition of a few well placed print()s shows that the loginScript is sending the message once, and the chatbotScript is executing twice. My guess is, since it's appearing in the chat log twice (once for outgoing, once for incoming) that it's being interpreted as two incoming messages? Maybe? Again, I tried to duplicate this on a severely simple scale, but it behaved as I would have hoped.
Anything I could provide to help I'd be glad to give.
Scripts are here: http://code.google.com/p/ominous-buffer/source/browse/trunk/OB/scripts/
buffbot.ash is the chatbotScript, login.ash is the loginScript.
It seems that my buffbot, when sending himself commands (using chat_private() to himself, from his loginScript) is running the chatbotScript twice.
I thought at first maybe somehow the loginScript was being run on two threads simultaneously, but the addition of a few well placed print()s shows that the loginScript is sending the message once, and the chatbotScript is executing twice. My guess is, since it's appearing in the chat log twice (once for outgoing, once for incoming) that it's being interpreted as two incoming messages? Maybe? Again, I tried to duplicate this on a severely simple scale, but it behaved as I would have hoped.
Anything I could provide to help I'd be glad to give.
Scripts are here: http://code.google.com/p/ominous-buffer/source/browse/trunk/OB/scripts/
buffbot.ash is the chatbotScript, login.ash is the loginScript.