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

How To Make A Panic bot stay online forever

View previous topic View next topic Go down

How To Make A Panic bot stay online forever

Post  Gizmo92883 on Sat Jan 22, 2011 12:17 am

most scripts have panic bots running around but they dont last forerver

For Example this will last a few seconds
Code:
our $state = 0;

while (1) {
  if (!$o->consume) {
    print scalar(localtime).": [$$] *YAWN* ($state)\n";
    select(undef,undef,undef,1);
    if (!$state) {
  } elsif ($state==1) {
  $o->doJoinRoom($o->{room});
  $o->doSendPosition(300,300);
  $o->doSendMessage("$o->{message1}");
  sleep 5;
  $o->doSendMessage("$o->{message2}");
  sleep 5;
  $o->doSendMessage("$o->{message3}");
  sleep 4;
  last;
    }
    $state++;
  }
}

But to make it last forever change last; to $state = 0;
Example
Code:
our $state = 0;

while (1) {
  if (!$o->consume) {
    print scalar(localtime).": [$$] *YAWN* ($state)\n";
    select(undef,undef,undef,1);
    if (!$state) {
  } elsif ($state==1) {
  $o->doJoinRoom($o->{room});
  $o->doSendPosition(300,300);
  $o->doSendMessage("$o->{message1}");
  sleep 5;
  $o->doSendMessage("$o->{message2}");
  sleep 5;
  $o->doSendMessage("$o->{message3}");
  sleep 4;
  $state = 0;
      }
    $state++;
  }
}

And thats how
avatar
Gizmo92883

Posts : 113
Reputation : 0
Join date : 2010-09-08
Age : 22
Location : Retired Member

Back to top Go down

Re: How To Make A Panic bot stay online forever

Post  Ozzyozborn13 on Sat Jan 22, 2011 12:24 am

Or you could just use a loop.

_________________
[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: How To Make A Panic bot stay online forever

Post  Bolt Hugs on Fri Aug 26, 2011 7:08 am

But they don't last forever cause they eventually get banned. Teehee. Laughing Razz

Bolt Hugs

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

Back to top Go down

Re: How To Make A Panic bot stay online forever

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