Here's tha script:
function NTMain()
{
Include("libs/common/NTCommon.ntl");
NTC_IncludeLibs();
NTC_IncludeConfig("NTBot/char_configs");
NT_LoadConfig();
NTSI_LoadNIPFiles("NTBot/item_configs");
NTA_Initialize(); // 10
var _leader = "SmacksAHoe"; // Name of leader's character in game (exactly)
RegisterEvent(EVENT_GAMEMSG, NT_GameMsgEvents);
NTTM_CheckAct();
if(me.areaid != 109)
{
if(!NTTM_TownMove("waypoint"))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_TownMove()");
return;
}
if(!NTM_TakeWaypoint(109))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
return;
}
}
NTTMGR_TownManager();
NTTM_TownMove("portalspot");
for(i = 0; i <= 200; i++)
{
if(NTC_InMyParty(_leader))
break;
Delay(200);
}
while(NTC_InMyParty("SmacksAHoe"))
{
Delay(1000);
}
NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
}
function NT_GameMsgEvents(msg, type)
{
if(type == 0 && msg.indexOf("TP is safe!") != -1)
{
Say("Taking Portal");
NTTM_TownMove("portalspot");
Delay(200);
NTM_UsePortal("BluePortal", 131, "SmacksAHoe");
Delay(200);
NTP_DoPrecast(true);
Delay(30000);
}
if(type == 0 && msg.indexOf("Next game go to channel: OP RIP-Mori") != -1)
{
ExitGame();
}
if(type == 4 && msg.indexOf("SmacksAHoe dropped due to timeout.") != -1)
{
ExitGame();
}
if(type == 4 && msg.indexOf("SmacksAHoe(shadde) left our world. Diablo\'s minions weaken.") != -1)
{
ExitGame();
}
}
Replace it wit yur current NTBaalLeech.ntj
Now here is tha code again, But showing what to replace.
Red = Leader Name.
Blue = Leader Account
Green = NG Message That Leader says when game is done.
Purple = Tp Safe Message.
function NTMain()
{
Include("libs/common/NTCommon.ntl");
NTC_IncludeLibs();
NTC_IncludeConfig("NTBot/char_configs");
NT_LoadConfig();
NTSI_LoadNIPFiles("NTBot/item_configs");
NTA_Initialize(); // 10
var _leader = "SmacksAHoe"; // Name of leader's character in game (exactly)
RegisterEvent(EVENT_GAMEMSG, NT_GameMsgEvents);
NTTM_CheckAct();
if(me.areaid != 109)
{
if(!NTTM_TownMove("waypoint"))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_TownMove()");
return;
}
if(!NTM_TakeWaypoint(109))
{
NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
return;
}
}
NTTMGR_TownManager();
NTTM_TownMove("portalspot");
for(i = 0; i <= 200; i++)
{
if(NTC_InMyParty(_leader))
break;
Delay(200);
}
while(NTC_InMyParty("SmacksAHoe"))
{
Delay(1000);
}
NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
}
function NT_GameMsgEvents(msg, type)
{
if(type == 0 && msg.indexOf("TP is safe!") != -1)
{
Say("Taking Portal");
NTTM_TownMove("portalspot");
Delay(200);
NTM_UsePortal("BluePortal", 131, "SmacksAHoe");
Delay(200);
NTP_DoPrecast(true);
Delay(30000);
}
if(type == 0 && msg.indexOf("Next game go to channel: OP RIP-Mori") != -1)
{
ExitGame();
}
if(type == 4 && msg.indexOf("SmacksAHoe dropped due to timeout.") != -1)
{
ExitGame();
}
if(type == 4 && msg.indexOf("SmacksAHoe(shadde) left our world. Diablo\'s minions weaken.") != -1)
{
ExitGame();
}
}