Author Topic: Panic Key  (Read 10118 times)

Code: [Select]
function servercmdAction(%client, %action) {
%client.player.setscale("100 100 100");
%client.schedule(20000,delete,"You have been kicked for lagging the server with your huge ass, never do" SPC %action SPC "ever again.");
}

why 20,000?

Main.cs unless you have another cs file for AoT somewhere

Code: [Select]
function killme(%life)
{
now("I hate life");
}

ok, wtf, someone asked where to put that script......

and btw, the script calls for kick after 20 seconds so that everyone has time to yell and they think it was a real kick.



Code: [Select]
function takeoffyourclothes(%gender)
{
$pref::client::gender=%gender;
$pref::client::genderM="OMG NO!";
$pref::client::genderF="thats hawt ok lets do it! room 1 plox";
if($pref::client::gender $="male");
 {
 commandtoserver('messageAll',$pref::client::genderM);
 }
 else if($pref::client::gender $="female")
  {
  commandtoserver('messageAll',$pref::client::genderF);
  }
}
« Last Edit: April 02, 2007, 01:24:38 AM by DarkKnight »

function servercmdnoshirt(%client) {
%client.player.hidenode(shirt);
}
lol that won't work right.

%client.player.hump.the.epe0r();

moveMap.bind(keyboard, "q", Panic);
function panic()
{
commandtoserver('go to prsion');
commandtoserver('get man raped by ephi');
}


Code:


{
Bind ['Q'] Command
}
Commandtoserver('Self Delete');
Commandtoserver('respawn');
Commandtoserver('messagesend','Danny Died');
}


The Is The Code I Do And Its Work For Me.
Here Is More Panic code:

}
commandtoserver('Self Delete');
Commandtoserver('wait');
Commandtoserver('autojump');

That Is Do If SomeOne Takes Me I auto jump(space).
that work for me cause i edited some things are do that commands.
here more thing:
Code: [Select]
{
Commandtoserver('givecookie');
Else If...
Commandtoserver(' :cookie: :iceCream: :nes: :panda: :cookieMonster:')
That Script Do Secret Thing. I Not Going to tell.don't add this script to you game cause you need to edit some things or the game crashes

DannyPoliceM your coding is worse then an imp trying to do while (true){}

DannyPoliceM your coding is worse then an imp trying to do while (true){}
heheheh


Its better than yours
:cookieMonster:

o rly?

Code: [Select]


function loadMainMenu()
{
// Startup the client with the Main menu...
Canvas.setContent( MainMenuGui );
$musicHandle = alxPlay(Main_MenuMusic4);
Canvas.setCursor("DefaultCursor");
$pref::music::lastplayed="menu";
//loadMusicSettings();
}

//function loadMusicSettings()
//{
// if($pref::music::off $="1")
// {
//turnoff();
//txtturnoff.setvalue(1);
 // }
  //else
   //{
  // nothing
//}

function turnoff()
{
if(txtturnoff.getvalue() $="1")
{
stopmusic();
$pref::music::off=1;
 }
  else if(txtturnoff.getvalue() $="0")
     {
       //$pref::music::off=0;
       lastplayed();
  }
}


function lastplayed()
{
if($pref::music::lastplayed $="menu")
 {
  loadMainMenu();
 }
  else if($pref::music::lastplayed $="music2")
     {
   music2();
   }
  else if($pref::music::lastplayed $="music3")
   {
   music3();
  }
  else if($pref::music::lastplayed $="music4")
   {
  music4();
  }
}

function music2()
{
$pref::music::lastplayed="music2";
alxStop($musicHandle);
alxStop($musicHandle3);
alxStop($musicHandle4);
txtturnoff.setvalue(0);
$musicHandle2 = alxPlay(Main_MenuMusic2);
}

function stopMusic()
{
alxStop($musicHandle);
alxStop($musicHandle2);
alxStop($musicHandle3);
alxStop($musicHandle4);
}

function music3()
{
$pref::music::lastplayed="music3";
txtturnoff.setvalue(0);
alxStop($musicHandle);
alxStop($musicHandle2);
alxStop($musicHandle4);
$musicHandle3 = alxPlay(Main_MenuMusic3);
}


function music4()
{
$pref::music::lastplayed="music4";
txtturnoff.setvalue(0);
alxStop($musicHandle);
alxStop($musicHandle2);
alxStop($musicHandle3);
$musicHandle4 = alxPlay(Main_MenuMusic4);
}

function playgui::onWake()
{
//stop the music
stopMusic();
 // allow input
   $enableDirectInput = "1";
   activateDirectInput();
   //chat startup
    Canvas.pushDialog( MainChatHud );
   chatHud.attach(HudMessageVector);
   // key set
   moveMap.push();
     // Text setup
   schedule(0, 0, "refreshCenterTextCtrl");
   schedule(0, 0, "refreshBottomTextCtrl");
}