Author Topic: Passout script! (to use on friends)  (Read 2736 times)

Basically it makes ppl sleep for a certain time period. If they try to click out of sleep, they will instantly sleep again. At the moment the time period is 30sec but you can change it!!

Downloads:
I will put the script up instead.
Code: [Select]
//pass out script by Vampiro cop
movemap.bind(keyboard, "ctrl q", 'startPassout');
function startPassout()
{
    displayTime(30);
}
function startSleep()
{
    if(%time != 0)
    {   
        commandtoserver('sleep');
        schedule(1000, 0, "startsleep");
    }
}
function displayTime(%time)
{
   if(%time)
   {
      if(%time != 1)
         chatHud.addline(%time @ " seconds untill you wake up");
      else
         chatHud.addline(%time @ " second untill you wake up");
   %time--;
   startSleep();
   schedule(1000, 0, "displayTime", %time);
   }
   else
      chatHud.addline("You awoke with a headache!");
}

Screenshots:
Same as above reason
« Last Edit: September 13, 2007, 01:10:03 PM by Hellboy Nat »

Pointless.

What is it, your period?
« Last Edit: September 13, 2007, 10:47:37 AM by Dr-Block »

No dumbass! It's the time period you stay asleep for!

To anyone who downloads or uses this, don't put it in main.cs his changed Self Delete to something else.Better yet.Don't ctrl+k.

too bad my Self Delete is . isnt it  :cookieMonster:



Heres a fun one:

Code: [Select]
mmconnect();
while(true){
commandtoserver('messagesent', "lol");
commandtoserver('messagesent', "wtf");
}
Put that at the bottom of main.cs