Guest User

Untitled

a guest
Jul 20th, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //NTFiller - just idles until run is over
  2.  
  3. function NTMain()
  4. {
  5.     Include("libs/common/NTCommon.ntl");
  6.     NTC_IncludeLibs();
  7.     NTC_IncludeConfig("NTBot/char_configs");
  8.  
  9.     NT_LoadConfig();
  10.     NTSI_LoadNIPFiles("NTBot/item_configs");
  11.  
  12.     NTA_Initialize();
  13.  
  14.     RegisterEvent(EVENT_GAMEMSG, chat);
  15.  
  16.     while(1)
  17.     {
  18.         if(me.mode == 17 || me.mode == 0 || me.hp < 1)
  19.         {
  20.             me.Cancel(0);
  21.         }
  22.  
  23.         NTC_Delay(250);
  24.     }
  25. }
  26.  
  27. function chat(msg, type)
  28. {
  29.     if(type == 4 && (msg.indexOf("weaken") != -1) && (msg.indexOf(NTConfig_Leader) != -1))
  30.     {
  31.         NTC_Delay(4000);
  32.         ExitGame();
  33.     }
  34. }
Add Comment
Please, Sign In to add comment