quote:
Originally posted by Huhu_Manix
replace
code:
if (sMessage == '!imitate'){
if (isEnabled == false){
isEnabled = true;
return '';
}else{
isEnabled = false;
return '';
}
}
by
code:
if (sMessage == '!imitate')isEnabled=!isEnabled;
It should be:
code:
if (sMessage == '!imitate')
{
isEnabled=!isEnabled;
return '';
}
Or else it will send "!imitate" to the other contact.