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!
    Improve Command Bot EmptyTue Feb 05, 2019 5:36 am by Gizmo92883

    » Anybody else come to this forum for the memories?
    Improve Command Bot EmptyTue Jun 12, 2018 12:07 am by Cooldude21

    » This forum died
    Improve Command Bot EmptyThu Mar 30, 2017 11:10 pm by _Skate_

    » Introduce yourselves!
    Improve Command Bot EmptyFri Jan 23, 2015 7:21 pm by Gizmo92883

    » Ozzy's Bot Script
    Improve Command Bot EmptyMon May 13, 2013 8:31 am by Pig

    » Goodbye BCPB Forums.
    Improve Command Bot EmptyTue Sep 18, 2012 6:37 pm by 43nînjâ17

    » Follow bot script (100% Credit to Cp-Cheater )
    Improve Command Bot EmptySun Sep 16, 2012 4:55 pm by Dentonbrooks

    » Xat Main Owner Hacker
    Improve Command Bot EmptyFri Aug 17, 2012 2:32 am by 43nînjâ17

    » xat message big
    Improve Command Bot EmptySat Aug 11, 2012 12:32 am by 43nînjâ17

    Navigation
     Portal
     Index
     Memberlist
     Profile
     FAQ
     Search
    Club Penguin Events
    Advertisement

    Improve Command Bot

    Go down

    Improve Command Bot Empty Improve Command Bot

    Post  _Skate_ on Thu Mar 03, 2011 12:51 am

    Heres some simple things that could easly be added to the command bot script to improve it.
    if($said =~ /left/i) {
    Code:
    $self->doSendFrame(19);
    }
    Code:
    if($said =~ /forward/i) {
    $self->doSendFrame(21);
    }

    Code:
    if($said =~ /right/i) {
    $self->doSendFrame(23);
    }

    Simply what it does is when you say left the bot will sit left, and when you say right it will sit right, and last if you say forward it will sit looking up. Just add this anywhere in a command bot script thats next to the the ifsaid:do script parts. Make sure to leave a space at the top and bottom.


    Last edited by 43nînjâ17 on Mon Sep 17, 2012 12:22 am; edited 1 time in total (Reason for editing : You forgot the code command)

    _Skate_

    Posts : 4
    Reputation : 0
    Join date : 2011-03-03

    Back to top Go down

    Improve Command Bot Empty Re: Improve Command Bot

    Post  Ozzyozborn13 on Thu Mar 03, 2011 4:45 pm

    _Skate_ wrote:Heres some simple things that could easly be added to the command bot script to improve it.
    if($said =~ /left/i) {
    $self->doSendFrame(19);
    }

    if($said =~ /forward/i) {
    $self->doSendFrame(21);
    }

    if($said =~ /right/i) {
    $self->doSendFrame(23);
    }

    Simply what it does is when you say left the bot will sit left, and when you say right it will sit right, and last if you say forward it will sit looking up. Just add this anywhere in a command bot script thats next to the the ifsaid:do script parts. Make sure to leave a space at the top and bottom.
    This is already in my script and i think a few other scripts.

    _________________
    [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

    Back to top

    - Similar topics

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