Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function NTMain()
- {
- Include("libs/common/NTCommon.ntl");
- NTC_IncludeLibs();
- NTC_IncludeConfig("NTBot/char_configs");
- NT_LoadConfig();
- NTSI_LoadNIPFiles("NTBot/item_configs");
- NTA_Initialize();
- if(!NTTM_CheckAct())
- {
- NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_CheckAct()");
- return;
- }
- if(!NTTM_TownMove("waypoint"))
- {
- NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_TownMove()");
- return;
- }
- if(!NTM_TakeWaypoint(NTConfig_GetBOWP))
- {
- NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
- return;
- }
- Say("Bo me!");
- NTC_Delay(1000);
- var counting = 0;
- while(!me.GetState(26) || !me.GetState(32) || !me.GetState(51))
- {
- if(counting == NTConfig_GetBoWait && NTConfig_GetBoWait != 0)
- {
- Say("Don't have bo. Moving on without it.");
- if(!NTM_TakeWaypoint(NTConfig_AfterGetBOWP))
- {
- NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
- return;
- }
- NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
- }
- NTC_Delay(1000);
- counting++;
- }
- NTC_Delay(1500);
- Say("Thanks for BO!");
- NTC_Delay(500);
- if(!NTM_TakeWaypoint(NTConfig_AfterGetBOWP))
- {
- NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
- return;
- }
- NTC_Delay(500);
- NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
- }
Advertisement
Add Comment
Please, Sign In to add comment