Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //NTFiller - just idles until run is over
- function NTMain()
- {
- Include("libs/common/NTCommon.ntl");
- NTC_IncludeLibs();
- NTC_IncludeConfig("NTBot/char_configs");
- NT_LoadConfig();
- NTSI_LoadNIPFiles("NTBot/item_configs");
- NTA_Initialize();
- RegisterEvent(EVENT_GAMEMSG, chat);
- while(1)
- {
- if(me.mode == 17 || me.mode == 0 || me.hp < 1)
- {
- me.Cancel(0);
- }
- NTC_Delay(250);
- }
- }
- function chat(msg, type)
- {
- if(type == 4 && (msg.indexOf("weaken") != -1) && (msg.indexOf(NTConfig_Leader) != -1))
- {
- NTC_Delay(4000);
- ExitGame();
- }
- }
Add Comment
Please, Sign In to add comment