Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.24 KB | None | 0 0
  1. function NTMain()
  2. {
  3.  
  4. Include("libs/common/NTCommon.ntl");
  5. NTC_IncludeLibs();
  6. NTC_IncludeConfig("NTBot/char_configs");
  7.  
  8. NT_LoadConfig();
  9. NTSI_LoadNIPFiles("NTBot/item_configs");
  10.  
  11. NTA_Initialize(); // 10
  12.  
  13. var _leader = "Labtec"; // Name of leader's character in game (exactly)MEDlTATION Labtec The_Vanquisher
  14.  
  15. if(!NTTM_CheckAct())
  16. {
  17. NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_CheckAct()");
  18. return;
  19. }
  20.  
  21. if(me.areaid != 109)
  22. {
  23. if(!NTTM_TownMove("waypoint"))
  24. {
  25. NTC_SendMsgToScript("NTBotGame.ntj", "NTTM_TownMove()");
  26. return;
  27. }
  28.  
  29. if(!NTM_TakeWaypoint(109))
  30. {
  31. NTC_SendMsgToScript("NTBotGame.ntj", "NTM_TakeWaypoint()");
  32. return;
  33. }
  34. }
  35.  
  36. NTTMGR_TownManager();
  37.  
  38. NTTM_TownMove("portalspot");
  39.  
  40. for(i = 0; i <= 200; i++)
  41. {
  42. if(NTC_InMyParty(_leader))
  43. break;
  44.  
  45. Delay(200);
  46. }
  47.  
  48. while(me.areaid == 109 && NTC_InMyParty(_leader))
  49. {
  50. NTM_UsePortal("BluePortal", 131, _leader); // 50
  51. Delay (10000);
  52.  
  53. }
  54.  
  55. NTP_DoPrecast(true);
  56.  
  57. while(NTC_InMyParty(_leader))
  58. {
  59. Delay(1000);
  60. }
  61.  
  62.  
  63. NTC_SendMsgToScript("NTBotGame.ntj", "SCRIPT_END");
  64.  
  65. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement