Best Club Penguin Bots
Hello, you are not logged in. You may log in or register.

Moderator Function! (NOT MINE) (Hu_'s) From Pcl

View previous topic View next topic Go down

Moderator Function! (NOT MINE) (Hu_'s) From Pcl

Post  43nînjâ17 on Tue Mar 01, 2011 12:06 am

It Sees if theres mods in the room.


Code:
  function safetySignal($Arg){

if ($Arg == "Simple"){
        echo "\n\n--- Starting The Simple SafetySignal 2.0 Function By Hu_ ---\n";
        sleep(3);
        $rawPack = $this->readRawPacket();
        if(stripos($rawPack, "xt%ma%")) {
        echo ("\n\nALERT: Moderator detected; Bot disconnecting\n\n");
        $this->disconnect();
                sleep(9001);
    }
        if(stripos($rawPack, "xt%k%")) {
        echo ("\n\nALERT: Kick detected on server; Bot disconnecting\n\n");
        $this->disconnect();
                sleep(9001);
    }
        if(stripos($rawPack, "xt%m%")) {
        echo ("\n\nALERT: Mute detected on server; Bot disconnecting\n\n");
        $this->disconnect();
                sleep(9001);
    }
        if(stripos($rawPack, "xt%b%")) {
        echo ("\n\nALERT: Ban detected on server; Bot disconnecting\n\n");
        $this->disconnect();
                sleep(9001);
    }
        else {
        echo "--- GOGOGO NO MODS OR PUNISHMENTS! ---\n---Waiting 5 seconds :D---\n\n";
        sleep(5);
        }
}

elseif ($Arg == "Advanced"){
echo "\n\n--- Starting The Advanced SafetySignal 2.0 Function By Hu_ ---\n";
        sleep(3);
$rawPack = $this->readRawPacket ();

        if (stripos($rawPack, "xt%")) {

                $explode = explode("%", $rawPack);

                $set = $explode[2];
                switch($set){
                        case ma:
                        echo ("\n\nALERT: Moderator detected; Bot disconnecting\n\n");
                        $this->disconnect();
                        sleep(9001);

                        case k:
                        echo ("\n\nALERT: Kick detected on server; Bot disconnecting\n\n");
                        $this->disconnect();
                        sleep(9001);

                        case m:
                        echo ("\n\nALERT: Mute detected on server; Bot disconnecting\n\n");
                        $this->disconnect();
                        sleep(9001);

                        case b:
                        echo ("\n\nALERT: Ban detected on server; Bot disconnecting\n\n");
                        $this->disconnect();
                        sleep(9001);

                        default:
                        echo "--- GOGOGO NO MODS OR PUNISHMENTS! ---\n---Waiting 5 seconds :D---\n\n";
                        sleep(5);
                        }
                        }
}

else{
for($k = 1; $k <= 5; $k++){
echo "\n\nSafety Signal: LAWL ERROR: Entered Wrong Arguments, remember it's either Advanced or Simple. :D\n";

}
echo"\n";
sleep(9001);
}

        }


Last edited by 43nînjâ17 on Tue Mar 01, 2011 6:41 pm; edited 1 time in total

_________________
Code:
<?php
echo "Ninjas Are Awesome!";
sleep(999999);
?>

Click here Down there ↓ (SUB)
[You must be registered and logged in to see this link.]

43nînjâ17

Posts : 89
Reputation : 6
Join date : 2010-08-29
Location : Behind you

Back to top Go down

Re: Moderator Function! (NOT MINE) (Hu_'s) From Pcl

Post  Ozzyozborn13 on Tue Mar 01, 2011 12:17 am

You don't need to type in capitals when you are saying it is not yours, you can just say that and give credit in the post.

_________________
[You must be registered and logged in to see this image.]



[You must be registered and logged in to see this link.]

[You must be registered and logged in to see this link.]



[You must be registered and logged in to see this link.]
avatar
Ozzyozborn13
Admin

Posts : 211
Reputation : 19
Join date : 2010-08-28

http://www.youtube.com/ozzyozborn13

Back to top Go down

Re: Moderator Function! (NOT MINE) (Hu_'s) From Pcl

Post  Bolt Hugs on Fri Sep 09, 2011 8:37 pm

Does this script still work? o:

_________________
[You must be registered and logged in to see this image.]

Bolt Hugs

Posts : 117
Reputation : 3
Join date : 2011-06-25

Back to top Go down

Re: Moderator Function! (NOT MINE) (Hu_'s) From Pcl

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum