Best Club Penguin Bots
Hello, you are not logged in. You may log in or register.
Similar topics
    Latest topics
    » Add me on discord if you want to catch up!
    How To Make A Panic bot stay online forever EmptyTue Feb 05, 2019 5:36 am by Gizmo92883

    » Anybody else come to this forum for the memories?
    How To Make A Panic bot stay online forever EmptyTue Jun 12, 2018 12:07 am by Cooldude21

    » This forum died
    How To Make A Panic bot stay online forever EmptyThu Mar 30, 2017 11:10 pm by _Skate_

    » Introduce yourselves!
    How To Make A Panic bot stay online forever EmptyFri Jan 23, 2015 7:21 pm by Gizmo92883

    » Ozzy's Bot Script
    How To Make A Panic bot stay online forever EmptyMon May 13, 2013 8:31 am by Pig

    » Goodbye BCPB Forums.
    How To Make A Panic bot stay online forever EmptyTue Sep 18, 2012 6:37 pm by 43nînjâ17

    » Follow bot script (100% Credit to Cp-Cheater )
    How To Make A Panic bot stay online forever EmptySun Sep 16, 2012 4:55 pm by Dentonbrooks

    » Xat Main Owner Hacker
    How To Make A Panic bot stay online forever EmptyFri Aug 17, 2012 2:32 am by 43nînjâ17

    » xat message big
    How To Make A Panic bot stay online forever EmptySat Aug 11, 2012 12:32 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

    Go down

    How To Make A Panic bot stay online forever Empty 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
    Gizmo92883
    Gizmo92883

    Posts : 114
    Reputation : 0
    Join date : 2010-09-08
    Age : 24
    Location : Retired Member

    Back to top Go down

    How To Make A Panic bot stay online forever Empty 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 link.]
    Ozzyozborn13
    Ozzyozborn13
    Admin

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

    https://www.youtube.com/ozzyozborn13

    Back to top Go down

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

    How To Make A Panic bot stay online forever Empty Re: How To Make A Panic bot stay online forever

    Post  Sponsored content


    Sponsored content


    Back to top Go down

    Back to top

    - Similar topics

     
    Permissions in this forum:
    You cannot reply to topics in this forum