Similar topics
Latest topics
Club Penguin Events
Advertisement
Improve Command Bot
2 posters
Page 1 of 1
Improve Command Bot
Heres some simple things that could easly be added to the command bot script to improve it.
if($said =~ /left/i) {
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.
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
Re: Improve Command Bot
This is already in my script and i think a few other scripts._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.
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