Best Club Penguin Bots
Hello, you are not logged in. You may log in or register.
Latest topics
» This forum died
Thu Mar 30, 2017 11:10 pm by _Skate_

» Introduce yourselves!
Fri Jan 23, 2015 7:21 pm by Gizmo92883

» Anybody else come to this forum for the memories?
Wed Nov 26, 2014 12:46 am 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

» CPPS GLICH "Auto Talker"
Sat Aug 11, 2012 12:25 am by 43nînjâ17

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Club Penguin Events
Advertisement

4 panics in 1 script(i dont kno who made it?)

View previous topic View next topic Go down

4 panics in 1 script(i dont kno who made it?)

Post  43nînjâ17 on Wed Oct 13, 2010 10:51 pm

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));
}
}

?>

_________________
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: 4 panics in 1 script(i dont kno who made it?)

Post  Ozzyozborn13 on Thu Oct 14, 2010 7:33 pm

I Wonder If There Is A Way To Do This With Perl...

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
avatar
Ozzyozborn13
Admin

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

http://www.youtube.com/ozzyozborn13

Back to top Go down

Re: 4 panics in 1 script(i dont kno who made it?)

Post  BlackViper on Fri Feb 18, 2011 11:07 pm

4 panics in one script? How does this work?

BlackViper

Posts : 3
Reputation : 0
Join date : 2011-02-18

Back to top Go down

----

Post  43nînjâ17 on Sat Feb 19, 2011 1:13 am

BlackViper wrote:4 panics in one script? How does this work?


You need php for this. this does not work with perl

_________________
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: 4 panics in 1 script(i dont kno who made it?)

Post  Ozzyozborn13 on Sat Feb 19, 2011 1:58 am

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
I don't think he was asking how to use it. I'm pretty sure he was wondering how it works.

_________________
[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 image.]
avatar
Ozzyozborn13
Admin

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

http://www.youtube.com/ozzyozborn13

Back to top Go down

Re: 4 panics in 1 script(i dont kno who made it?)

Post  43nînjâ17 on Sat Feb 19, 2011 2:30 am

Ozzyozborn13 wrote:
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
I don't think he was asking how to use it. I'm pretty sure he was wondering how it works.

oh lol

_________________
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: 4 panics in 1 script(i dont kno who made it?)

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