bordemstirs
Member
I am... horribly perplexed by some behavior I am seeing.
I have a bot. This bot handles faxbot requests for our clan. (he accepts a (partial) monster name and turns it into the appropriate faxbot command).
Something is not working out properly, but in a way I cannot being to grasp.
My first few lines of code are
So, as you can see... nothing more of the code should ever execute when faxbot pms us.
Further, the word "help" appears once in the entire source, and not as part of a string variable nor inside a chat_private();
But, from the looks of my chat window...
[00:02] ominous buffer: help
[00:02] FaxBot: I do not understand your request. For help, look at my Display Case or /w FaxBot help
Which suggests that my bot has become self aware and decided to respond to the PM by his own free will.
Any ideas as to what is going on?
I have a bot. This bot handles faxbot requests for our clan. (he accepts a (partial) monster name and turns it into the appropriate faxbot command).
Something is not working out properly, but in a way I cannot being to grasp.
My first few lines of code are
Code:
void main(string sender, string message, string channel){
if (sender=="faxbot") {
chat_private(get_property("_lastFax"),message);
return;
}
if (sender=="wangbot") return;
So, as you can see... nothing more of the code should ever execute when faxbot pms us.
Further, the word "help" appears once in the entire source, and not as part of a string variable nor inside a chat_private();
But, from the looks of my chat window...
[00:02] ominous buffer: help
[00:02] FaxBot: I do not understand your request. For help, look at my Display Case or /w FaxBot help
Which suggests that my bot has become self aware and decided to respond to the PM by his own free will.
Any ideas as to what is going on?