logo

About...

This is all of my finished PCS scripts. On this website I keep the scripts, where you can find the links to. You can find all my scripts right below this.

Download my CP Swf Viewer ( Beta Version )>>HERE<< Note : Unsupported / Updated Anymore

Copyright © 2009 MrYanDao.

All work on this website is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License.
Creative Commons License

War Bot

What Does This Do?
  • Goes To The Dock ( change-able )
  • Throw Snowball In Random Directions
  • Show Out BOOYA ( change-able )
  • Loop
<?php
$pclkey = "betas";
require("library.php");
require("tasks.php");
/*
This script was made by MrYanDao
*/
$Username = " USERNAME ";
$Password = " PASSWORD ";
$Server = SERVER NAME / ID;
$p = new Pickle;
$p->connect($Username, $Password, $Server);
echo "Successfully Connect To $Server\n";
$p->joinRoom(800, 0, 0);
echo "Bot Currently At Dock\n\n";
while(true){
$p->joinRoom(320, 0, 120);
sleep(0);
$p->joinRoom(800,rand(0,999),rand(0,999));
sleep(1);
$p->snowBall(rand(0,999),rand(0,999));
sleep(1);
$p->sendMessage("BOOYA");
echo "Declaring War xD\n\n";
sleep(1);
}
?>

Irritating Bot

What Does This Do?
  • Get 5000 Coins ( change-able )
  • Send Postcards And buddyCheats everyone that moves
  • EXCLUSIVE : Writes To .txt File ( Thanks To Sweettooth(: )
  • Loop
<?php
$pclkey = "betas";
require("library.php");
require("tasks.php");
/*
This script was made by MrYanDao
*/
$Username = "";
$Password = "";
$Server = "Winter Land";//Server ID or Name
$Room = "300"; // Dock
$FileName = "irritating_my.txt"; //Keep the .txt in the file name.
$fp = fopen($FileName, 'w'); // Creates the file
$p = new Pickle;
$connect = $p->connect($Username, $Password, $Server);
sleep(2);
$p->joinRoom($Room);
$MyID = $p->PlayerID;
$p->joinRoom(810, 0, 0);
$p->joinGame(912, 0, 0);
$p->getCoins(500);
$p->joinRoom($Room);
fwrite($fp, " 5000 Coins Added \n");
echo " 5000 Coins Added \n";
fwrite($fp, " # Raid Started\n");
fwrite($fp, date("l, M dS Y h:i a\n"));
fwrite($fp, " # Server : $Server\n");
fwrite($fp, " # Room : $Room\n");
fwrite($fp, " ------------------------\n");
while(true){
$rawPack = $p->readRawPacket();
if (stripos($rawPack, "xt%sp%")){
$victimID = $p->stribet($rawPack, "%xt%sp%$p->intRoomID%", "%");
}
if ($victimID == $p->PlayerID) {
sleep(1);
}
$wait = true;
while($wait){
$rawPack = $p->readRawPacket();
if (stripos($rawPack, "xt%")) {
$p->sendPosition(rand(0,999), rand(0,999));
fwrite($fp, " # ------- Victim ID Found : $victimID ------- #\n");
echo " # Victim ID Found : $victimID #\n" ;
sleep(2);
$p->sendMail($victimID, 57);
fwrite($fp, "- Postcard Sent To $victimID\n");
echo "- Postcard Sent To $victimID\n";
sleep(2);
$p->sendEmote(rand(1,13));
fwrite($fp, "- Your Penguin Has Just Shown An Emoticon.\n");
echo "- Your Penguin Has Just Shown An Emoticon.\n";
sleep(2);
$p->buddyRequest($victimID);
fwrite($fp, "- Buddy Request Sent.\n");
echo "- Buddy Request Sent.\n";
sleep(2);
$p->buddyCheat($victimID);
fwrite($fp, "- Buddy Of ID $victimID Has Been Added.\n");
echo "- Buddy Of ID $victimID Has Been Added.\n";
sleep(2);
$p->removeBuddy($victimID);
fwrite($fp, "- Buddy Of ID $victimID Has Been Removed.\n");
echo "- Buddy Of ID $victimID Has Been Removed.\n\n";
sleep(2);
$wait = False;
}
}
}
?>

Trivia Bot

What Does This Do?
  • Goes To The Dock ( change-able )
  • Ask Questions About Club Penguin
  • Wait For Penguins To Answer
  • If Correct . Send A Mail . Walk To Random Area .
  • Loop
<?php
$pclkey = "betas";
require("library.php");
require("tasks.php");
/*
This script was made by p1x3lbl0x.
Converted to PCS by MrYanDao And Paul
*/
$Usernames[1] = " USERNAME ";
$Passwords[1] = " PASSWORD ";
$Server = " SERVER NAME / ID";
$users = 1;
$Qa[1]["Question"] = ("What color is the Black Puffle?");
$Qa[1]["Answer"] = ("%black%");
$Qa[1]["Answer"] = ("%Black%");
$Qa[2]["Question"] = ("Who writes the newspaper?");
$Qa[2]["Answer"] = ("%aunt arctic%");
$Qa[2]["Answer"] = ("%Aunt Arctic%");
$Qa[2]["Answer"] = ("%Aunt arctic%");
$Qa[2]["Answer"] = ("%aunt Arctic%");
$Qa[3]["Question"] = ("Who made the clock?");
$Qa[3]["Answer"] = ("%g%");
$Qa[3]["Answer"] = ("%G%");
$Qa[4]["Question"] = ("where Is Card Jitsu?");
$Qa[4]["Answer"] = ("%dojo%");
$Qa[4]["Answer"] = ("%the dojo%");
$Qa[4]["Answer"] = ("%Dojo%");
$Qa[4]["Answer"] = ("%The Dojo%");
$Qa[4]["Answer"] = ("%The dojo%");
$Qa[4]["Answer"] = ("%the Dojo%");
$Qa[5]["Question"] = ("what game is in the bookroom?");
$Qa[5]["Answer"] = ("%Mancala%");
$Qa[5]["Answer"] = ("%mancala%");
$Qa[6]["Question"] = ("what game is in the mine?");
$Qa[6]["Answer"] = ("%Cart Surfer%");
$Qa[6]["Answer"] = ("%Cart surfer%");
$Qa[6]["Answer"] = ("%cart Surfer%");
$Qa[7]["Question"] = ("what game is in the lounge?");
$Qa[7]["Answer"] = ("%Astro Barrier%");
$Qa[7]["Answer"] = ("%Astro barrier%");
$Qa[7]["Answer"] = ("%astro Barrier%");
$Qa[7]["Answer"] = ("%Thin Ice%");
$Qa[7]["Answer"] = ("%Thin ice%");
$Qa[7]["Answer"] = ("%thin ice%");
$Qa[7]["Answer"] = ("%thin Ice%");
$Qa[8]["Question"] = ("Where can we play hockey?");
$Qa[8]["Answer"] = ("%The Ice Rink%");
$Qa[8]["Answer"] = ("%The Ice rink%");
$Qa[8]["Answer"] = ("%The ice rink%");
$Qa[8]["Answer"] = ("%the ice rink%");
$Qa[8]["Answer"] = ("%the Ice rink%");
$Qa[8]["Answer"] = ("%the ice Rink%");
$Qa[8]["Answer"] = ("%the Ice Rink%");
$Qa[8]["Answer"] = ("%The Rink%");
$Qa[8]["Answer"] = ("%The rink%");
$Qa[8]["Answer"] = ("%the Rink%");
$Qa[9]["Question"] = ("What do we want to tip?");
$Qa[9]["Answer"] = ("%The Iceberg%");
$Qa[9]["Answer"] = ("%The iceberg%");
$Qa[9]["Answer"] = ("%the Iceberg%");
$Qa[10]["Question"] = ("Where do we get to act?");
$Qa[10]["Answer"] = ("%The Stage%");
$Qa[10]["Answer"] = ("%The stage%");
$Qa[10]["Answer"] = ("%the Stage%");
$Number = (rand(1, 10));
$pickle = array();
for($Currentpenguin = 1; $Currentpenguin <= $users; $Currentpenguin++){
$p[$Currentpenguin] = new Pickle;
$login = $p[$Currentpenguin]->connect($Usernames[$Currentpenguin], $Passwords[$Currentpenguin],$Server);
if($p[$Currentpenguin]->run){
$p[$Currentpenguin]->joinRoom(800, 0, 0);
echo "Currently At the Dock!";
while(true) {
$p[$Currentpenguin]->sendEmote(19);//send the fart emote
sleep(3);
$p[$Currentpenguin]->sendMessage("Its Quiz Time!");
sleep(3);
$p[$Currentpenguin]->sendMessage("Come Here Everyone");
$rawPack = $p[$Currentpenguin]->readRawPacket();
if (stripos($rawPack, "xt%")) { //if that packet is seen..
echo ($rawPack . "\n\n"); // Shows the packet on the command line.
sleep(5);
$p[$Currentpenguin]->sendMessage($Qa[$Number]["Question"]);//ask question
$Answer = $Qa[$Number]["Answer"] ;
echo "$Answer is the answer for question\n\n";
sleep(2);
$waitingForAnswers = true;
while($waitingForAnswers){ //second loop
$rawPack = $p[$Currentpenguin]->readRawPacket();
if (stripos($rawPack, "xt%")) { // if that packet is seen
echo ($rawPack . "\n\n"); // Shows the packet on the command line.
if (stripos($rawPack, "xt%sm%") !== FALSE && stripos($rawPack, "$Answer") !== FALSE){ //look for answer
sleep(1); //looks for the answer
$p[$Currentpenguin]->sendMessage("Correct");
echo "Someone answered correctly\n";
$Correct = $p[$Currentpenguin]->stribet($rawPack, "%xt%sm%800%","$Answer");
echo "$Correct is the Id\n";
sleep(2);
$p[$Currentpenguin]->sendMail($Correct , rand(0,15));
$Number = (rand(1, 10));
sleep(2);
$p[$Currentpenguin]->sendPosition(rand(200, 500),rand(100,400));
sleep(2);
$p[$Currentpenguin]->sendAction(26);
sleep(2);
$p[$Currentpenguin]->sendMessage("Next Question");
$waitingForAnswers = False; //close second loop
}
}
}
}
}
}
}
?>

Fart Bot

What Does This Do?
  • Goes To The Iceberg ( change-able )
  • Walk About Randomly And Farts !
  • Loop
<?php
$pclkey = "betas";
require("library.php");
require("tasks.php");
/*
This script was made by MrYanDao
*/
$Username = "";
$Password = "";
$Server = 142;
$p = new Pickle;
$p->connect($Username, $Password, $Server);
echo "Successfully Connect To $Server\n";
$p->joinRoom(805, 0, 0);
echo "Currently At The Iceberg\n";
while(true){
$p->sendPosition(rand(200, 500),rand(100,400));
$p->sendEmote(19);
sleep(2);
echo "Currently Farting Now..\n\n";
}
?>

Fall Fair Item Adder Updated - 11/09/09

What Does This Do?
  • Add Fall Fair Items To Your Inventory
  • * No Tickets Is Needed !
  • Exit Once All Items Are Added
<?php
$pclkey = "betas";
require("library.php");
require("tasks.php");
/*
This script was made by MrYanDao
*/
////Config///////////////////////////////
$Username = "";
$Password = "";
$Server = "411";
////Config///////////////////////////////
$p = new Pickle;
$p->connect($Username, $Password, $Server);
echo "Successfully Connect To $Server\n";
$p->joinRoom(800, 0, 0);
echo "Currently At The Dock\n";
$rawPack = $p->readRawPacket();
$p->addItem(649);
echo "Cotton Candy Pin Added To Your Inventory. Item Updated On Penguin\n";
sleep(2);
$p->addItem(486);
echo "Feathered Tiara Added To Your Inventory.\n";
sleep(2);
$p->addItem(1082);
echo "Cosmic Star Hat Added To Your Inventory. Item Updated On Penguin\n";
sleep(2);
$p->addItem(9042);
sleep(2);
$p->updatePhoto(9042);
echo "Fair Beacon Background Added To Your Inventory. Item Updated On Penguin\n";
sleep(2);
$p->addItem(473);
echo "Winged Viking Helmet Added To Your Inventory\n";
sleep(2);
$p->addItem(9043);
echo "Green Plaid Background Added To Your Inventory\n";
sleep(2);
$p->addItem(1080);
sleep(2);
$p->updateHead(1080);
echo "Stripey Hat Added To Your Inventory. Item Updated On Penguin\n";
$p->addItem(7000);
sleep(2);
$p->updateFlag(7000);
echo "101 Days Pin Added To Your Inventory. Item Updated On Penguin\n";
sleep(1);
echo "All Item Added. This Will Now Close\n";
sleep(4);
exit;
?>

Random Snowball And Fart

What Does This Do?
  • Goes To Iceberg ( change-able)
  • Farts !
  • Throw Snowball At Random Places
<?php
$pclkey = "betas";
require("library.php");
require("tasks.php");
/*
This script was made by MrYanDao
*/
$Username = "";
$Password = "";
$Server = 142;
$p = new Pickle;
$p->connect($Username, $Password, $Server);
echo "Successfully Connect To $Server\n";
$p->joinRoom(805, 0, 0);
echo "Currently At The Iceberg\n";
while(true){
$p->sendEmote(19);
$p->snowBall(rand(0,999),rand(0,999));
sleep(2);
echo "Currently Throwing Snowball And Farting\n\n";
}
?>