The usage will be at the bottom, so read the whole thing before installing.
Features:
- Makes it so you don't have to put the $x-> in front of the command
- Brings PCL2-type commands back
Modification:
- Make a new PHP file called "mod.php"
- Inside "mod.php", add:
- Code: Select all
<?php
// This modification was made by PC/Brenhein
// This software comes "as is" with no expressed
// or implied warranties. Use at your own risk.
// ================================
// Please note that this modification is still in
// "Beta" and therefore is not stable. For updates,
// please visit http://www.brenhein.com/pcl
// ================================
// AND NOW FOR THE SCRIPT!!
function say($message){
$p->sendMessage($message);
return true;
}
function sayblocked($block){
$p->sendBlocked($block);
return true;
}
function emote($em){
$p->sendEmote($em);
return true;
}
function joke($joke){
$p->sendJoke($block);
return true;
}
function safechat($blo){
$p->sendSafe($blo);
return true;
}
function sendLine($send){
$p->sendLine($send);
return true;
}
function sendQuick($block){
$p->sendQuick($block);
return true;
}
function sendGuide($block){
$p->sendGuide($block);
return true;
}
function gotoPos($x, $y){
$p->sendPosition($x, $y);
return true;
}
function wait($time){
sleep($time);
return true;
}
function snowball($x, $y){
$p->snowBall($x, $y);
return true;
}
function action($block){
$p->sendAction($block);
return true;
}
function sendFrame($block){
$p->sendFrame($block);
return true;
}
function sendmail($block){
$p->sendMail($block);
return true;
}
function additem($block){
$p->addItem($block);
return true;
}
function igloo($block){
$p->joinIgloo($block);
return true;
}
function rainbowpuffle(){
$p->rainbowPuffle();
return true;
}
function coins($coin){
$p->sendGuide($coin);
return true;
}
function room($block){
$p->joinRoom($block);
return true;
}
function cpexit(){
$p->disconnect();
return true;
}
function follow($pengid){
$p->followBot($pengid);
return true;
}
function cplogin($username, $password, $server){
$p = new Pickle;
$p->connect($Username, $Password, $Server);
return true;
}
// END MOD
// Thank you, thank you very much!
?>
Usage:
After the <?php on the top of every script, type:
- Code: Select all
require("mod.php");
Commands
THERE IS NO NEED TO MAKE $p-> IN FRONT OF EVERY COMMAND - IT JUST SCREWS IT UP!
cplogin(username, password, server) - Logs into the specified server in $server
say("message") - Makes the penguin say something.
sayblocked("message") - Does the same thing a sendBlocked
emote(emid) - Makes the penguin send the specified emote.
joke(jkid) - Makes the penguin send the joke specified in $joke
safechat(safeid) - Says the specified safe-chat text
sendLine(line) - Does the same thing as sendLine
sendQuick(quick) - Does the same thing as sendQuick
sendGuide(guide) - Does the same thing as sendGuide
gotopos(x, y) - Makes the penguin go to the specified position
wait(seconds) - Makes the script hang for the specified amount of seconds
snowball(x, y) - Sends a snowball to the specified coordinates
action(action) - sends the specified action
sendFrame(frame) - Sends the frame specified
sendMail(pngid) - Sends mail to the specified Penguin ID
additem(id) - Adds the specified item permanently into the penguin's inventory.
Igloo(pngid) - Joins the igloo of the Penguin ID specified.
rainbowpuffle() - Makes you have the rainbow puffle
coins(amount) - Gets coins WARNING: Only use this while in a game
room(rmid) - Joins the specified room.
follow(pngid) - Makes the penguin follow the selected Penguin ID
cpexit() - Logs out of CP and exits the script.
Thank you, Brenhein/PC






