Author Topic: Can u jump to a specific script?  (Read 416 times)

Offline Apeboyz

  • Newbie
  • *
  • Join Date: Aug 2010
  • Posts: 25
  • Reputation 0
  • I <3 PureKaoz.com
    • View Profile
Can u jump to a specific script?
« on: August 10, 2010, 11:20:11 PM »
like today my hdin chicken'd @ cs hell while the game was laggin.

i logged him in again but he started ofc again @ andy.

so i went out. changed the char script and put everwhere // infront of the other scripts so he will do diablo right after he joins.

i wondered if there is any other way to switch in the scripts.


PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Can u jump to a specific script?
« on: August 10, 2010, 11:20:11 PM »

Offline TheFreak

  • Just like an admin ;)
  • AFK Admins
  • PK Pro
  • *****
  • Join Date: May 2010
  • Posts: 372
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: Can u jump to a specific script?
« Reply #1 on: August 10, 2010, 11:36:53 PM »
NTBotGame.ntj

Ctrl+f KeyEvents

Replace yur NT_KeyEvents(keycode)

Wit this:

Code: [Select]
function NT_KeyEvents(keycode)
{
var _script;

switch(keycode)
{
case 19:
_script = NTC_FindScript(NTConfig_Script[CurScriptIndex]);
if(_script)
{
if(_script.running)
{
_script.Stop();

NTC_Delay(300);
ClickMap(NTC_CLICK_LUP, NTC_SHIFT_NONE, null);

SetStatusText("Stopped " + NTConfig_Script[CurScriptIndex]);
}
else
{
Load("NTBot/bots/" + NTConfig_Script[CurScriptIndex]);
SetStatusText("Running " + NTConfig_Script[CurScriptIndex]);
}
}
break;
case 34:
_script = NTC_FindScript(NTConfig_Script[CurScriptIndex]);

if(_script.running)
{
_script.Stop();
SetStatusText("Stopped " + NTConfig_Script[CurScriptIndex]);
}
else if(++CurScriptIndex < NTConfig_Script.length)
SetStatusText("Skipped to " + NTConfig_Script[CurScriptIndex]);
else if(++CurScriptIndex >= NTConfig_Script.length)
{
CurScriptIndex = 0
SetStatusText("Skipped to " + NTConfig_Script[CurScriptIndex]);
}
break;

}

}

Use tha page down button on yur keyboard to skip to a script.
« Last Edit: August 10, 2010, 11:39:08 PM by TheFreak »


My New function:

function AlbertEinstein()
{
If (A = success in life)
A = x + y + z;
x = Work;
y = Play;
z = Keeping your mouth shut;
}

"Right after the Sam-Frodo suckfest, right before the credits roll, Sam fuckin' flat-out brick's in Frodo's mouth"

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: Can u jump to a specific script?
« Reply #1 on: August 10, 2010, 11:36:53 PM »