Similar topics
Latest topics
Club Penguin Events
Advertisement
4 panics in 1 script(i dont kno who made it?)
3 posters
Page 1 of 1
4 panics in 1 script(i dont kno who made it?)
- Code:
<?php
$pclkey = "betas";/*Replace this with the PCLKey you were given.
For just now, you can leave it how it is, but once the beta is over,
you will need to put in your own one*/
// Import of base class
require_once ("library.php");
require_once("tasks.php");
define ("NUM_THREAD", 4);// Set this to the number of penguins
$user = array();
$pass = array();
$servertogo = "144";//Set this to the server you want them to go to.
$room = 805;//Set this to the ID of the room you want them to go to.
$user[1] = "";
$user[2] = "";
$user[3] = "";
$user[4] = "";
$pass[1] = "";
$pass[2] = "";
$pass[3] = "";
$pass[4] = "";
$numberphrases = 5;
$phrases = array();
$phrases[0] = "waZ up!!!!!";
$phrases[1] = "WhOs SeTs Ee?";
$phrases[2] = "ninJa iS";
$phrases[3] = "nInJa RuLes xD";
$phrases[4] = "WoO";
$phrases[5] = "niNJa rOcKs!";
$penguins = array();
for($x = 1; $x <= NUM_THREAD; $x++){
$penguins[$x] = new Pickle();
$connect = $penguins[$x]->connect($user[$x], $pass[$x], $servertogo);
if($connect != -1){
die($connect);
}
if($penguins[$x]->extRoomID != $room){
$penguins[$x]->joinRoom($room, rand(100,700), rand(100,700));
}
}
while(true){
for($x = 1; $x <= NUM_THREAD; $x++){
$penguins[$x]->sendPosition(rand(100,700), rand(100,700));
$phrase = rand(1, $numberphrases);
$penguins[$x]->sendMessage($phrases[$phrase]);
usleep((2000000 / NUM_THREAD));
}
}
?>
43nînjâ17- Posts : 89
Reputation : 6
Join date : 2010-08-29
Location : Behind you
Re: 4 panics in 1 script(i dont kno who made it?)
I Wonder If There Is A Way To Do This With Perl...
Edit: I should use arrays then it should be good.
Edit: I should use arrays then it should be good.
Last edited by Ozzyozborn13 on Fri Feb 18, 2011 11:41 pm; edited 1 time in total
Re: 4 panics in 1 script(i dont kno who made it?)
4 panics in one script? How does this work?
BlackViper- Posts : 3
Reputation : 0
Join date : 2011-02-18
----
BlackViper wrote:4 panics in one script? How does this work?
You need php for this. this does not work with perl
43nînjâ17- Posts : 89
Reputation : 6
Join date : 2010-08-29
Location : Behind you
Re: 4 panics in 1 script(i dont kno who made it?)
I don't think he was asking how to use it. I'm pretty sure he was wondering how it works.43nînjâ17 wrote:BlackViper wrote:4 panics in one script? How does this work?
You need php for this. this does not work with perl
Re: 4 panics in 1 script(i dont kno who made it?)
Ozzyozborn13 wrote:I don't think he was asking how to use it. I'm pretty sure he was wondering how it works.43nînjâ17 wrote:BlackViper wrote:4 panics in one script? How does this work?
You need php for this. this does not work with perl
oh lol
43nînjâ17- Posts : 89
Reputation : 6
Join date : 2010-08-29
Location : Behind you
Similar topics
» About the forum * A little history *
» Regular Formation Bot script Made by: Cp-Cheater( From Pcl)
» What do you think?
» Regular Formation Bot script Made by: Cp-Cheater( From Pcl)
» What do you think?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Tue Feb 05, 2019 5:36 am by Gizmo92883
» Anybody else come to this forum for the memories?
Tue Jun 12, 2018 12:07 am by Cooldude21
» This forum died
Thu Mar 30, 2017 11:10 pm by _Skate_
» Introduce yourselves!
Fri Jan 23, 2015 7:21 pm by Gizmo92883
» Ozzy's Bot Script
Mon May 13, 2013 8:31 am by Pig
» Goodbye BCPB Forums.
Tue Sep 18, 2012 6:37 pm by 43nînjâ17
» Follow bot script (100% Credit to Cp-Cheater )
Sun Sep 16, 2012 4:55 pm by Dentonbrooks
» Xat Main Owner Hacker
Fri Aug 17, 2012 2:32 am by 43nînjâ17
» xat message big
Sat Aug 11, 2012 12:32 am by 43nînjâ17