Advertisement
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;
- }
- NTTMGR_TownManager();
- if(!NTTM_TownMove("waypoint"))
- {
- NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_TownMove()");
- return;
- }
- if(!NTM_TakeWaypoint(83))
- {
- NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
- return;
- }
- var i,
- orgx = me.x,
- orgy = me.y,
- attackpos = [112, -93, 84, -93, 76, -72];
- NTP_DoPrecast(true);
- for(i = 0; i < attackpos.length; i += 2)
- {
- NTM_MoveTo(me.areaid, orgx + attackpos[i], orgy + attackpos[i + 1]);
- NTA_ClearPosition(25, true, 2);
- }
- NTSI_PickItems();
- NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement