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(74)){
- NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
- return;
- }
- NTP_DoPrecast(true);
- if(NTConfig_SwitchTele){
- NTC_SwapWeapons(1);
- }
- if(NTConfig_KillFireEye){
- if(NTM_TakeUnit(NTC_UNIT_OBJECT, 298)){
- if(NTConfig_SwitchTele){
- NTC_SwapWeapons(0);
- }
- if(NTA_KillMonster(GetLocaleString(2885))){
- if(NTConfig_ClearPosition)
- NTA_ClearPosition();
- NTSI_PickItems();
- if(NTConfig_OpenChestsInArea && NTU_DontOpenAreas()){
- OpenChestsInArea();
- }
- }
- if(!NTM_MoveToPresetUnit(me.areaid, NTC_UNIT_OBJECT, 298)){
- NTC_SendMsgToScript("NTBotGame.ntj", "NTM_MoveToPresetUnit()");
- return;
- }
- if(!NTM_TakeUnit(NTC_UNIT_OBJECT, 298)){
- NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeUnit()");
- return;
- }
- }
- }
- var NTConfig_ClearArcaneSanc = true;
- if(NTConfig_ClearArcaneSanc) {
- OpenChestsInArea();
- NTA_ClearLevel();
- }
- if(!NTM_MoveToPresetUnit(me.areaid, NTC_UNIT_OBJECT, 357, 2, 2)){
- NTC_SendMsgToScript("NTBotGame.ntj", "NTM_MoveToPresetUnit()");
- return;
- }
- if(NTTMGR_CheckSafe(NTConfig_CheckSelfSafe, NTConfig_CheckMercSafe)){
- NTTMGR_VisitTown();
- return;
- }
- if(NTConfig_SwitchTele){
- NTC_SwapWeapons(0);
- }
- if(!NTA_KillMonster(250)) {
- NTC_SendMsgToScript("NTBotGame.ntj", "NTA_KillMonster()");
- return;
- }
- if(NTConfig_ClearPosition)
- NTA_ClearPosition();
- NTSI_PickItems();
- if(NTConfig_OpenChestsInArea && NTU_DontOpenAreas()){
- OpenChestsInArea();
- }
- NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement