Okay here's the deal. What im trying to do here is to make the bot exit the whole game when i get whispered by someone. I have tried this code.
Quote:
RegisterEvent(EVENT_GAMEMSG, quitfunc);
function quitfunc(msg, type)
{
switch(type){
case 2:
if(msg.indexOf(msg) != -1){
NTTM_CheckAct();
ExitGame();
}
break;
}
}
|
I put it at the end of "
D2NT\scripts\NTBot\tools\NTToolsThread.ntj" - does not working

Please, help me with that guys. Thanks in advance!