Best Club Penguin Bots
Hello, you are not logged in. You may log in or register.
Latest topics
» Add me on discord if you want to catch up!
commands in emotes EmptyTue Feb 05, 2019 5:36 am by Gizmo92883

» Anybody else come to this forum for the memories?
commands in emotes EmptyTue Jun 12, 2018 12:07 am by Cooldude21

» This forum died
commands in emotes EmptyThu Mar 30, 2017 11:10 pm by _Skate_

» Introduce yourselves!
commands in emotes EmptyFri Jan 23, 2015 7:21 pm by Gizmo92883

» Ozzy's Bot Script
commands in emotes EmptyMon May 13, 2013 8:31 am by Pig

» Goodbye BCPB Forums.
commands in emotes EmptyTue Sep 18, 2012 6:37 pm by 43nînjâ17

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

» Xat Main Owner Hacker
commands in emotes EmptyFri Aug 17, 2012 2:32 am by 43nînjâ17

» xat message big
commands in emotes EmptySat Aug 11, 2012 12:32 am by 43nînjâ17

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search
Club Penguin Events
Advertisement

commands in emotes

Go down

commands in emotes Empty commands in emotes

Post  Gizmo92883 on Sun Feb 27, 2011 2:34 pm

Hey guys i found a way to add commands in emotes check it out

Code:
sub handleSendEmote {
  my $self = shift;
  my $room_id_internal = shift;
  my $PenguinID = shift;
  my $emote_code = shift;

  if (my $u = $self->{penguin}->{$PenguinID}) {
    my $who = $u->{name};
    $u->{update} = time;
    if ($target and $who =~ /$target/i) {
      select(undef,undef,undef,0.0);
      $self->doSendEmote($emote_code);
    }
  }
  if ($emote_code =~ "1"){
  $target = "bullettime";
  } 
  if ($emote_code =~ "30"){
  $target = "mike 92";
  }
}

with "" you put the emote id and then what to do if you know how to make a script you know that.

i just made smile make it follow me
and mike 92 is banned forever so it could never follow him. just stop following me.

i hope you guys can find a way to use this.
Gizmo92883
Gizmo92883

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

Back to top Go down

commands in emotes Empty Re: commands in emotes

Post  Ozzyozborn13 on Sun Feb 27, 2011 4:02 pm

Gizmo92883 wrote:Hey guys i found a way to add commands in emotes check it out

Code:
sub handleSendEmote {
  my $self = shift;
  my $room_id_internal = shift;
  my $PenguinID = shift;
  my $emote_code = shift;

  if (my $u = $self->{penguin}->{$PenguinID}) {
    my $who = $u->{name};
    $u->{update} = time;
    if ($target and $who =~ /$target/i) {
      select(undef,undef,undef,0.0);
      $self->doSendEmote($emote_code);
    }
  }
  if ($emote_code =~ "1"){
  $target = "bullettime";
  } 
  if ($emote_code =~ "30"){
  $target = "mike 92";
  }
}

with "" you put the emote id and then what to do if you know how to make a script you know that.

i just made smile make it follow me
and mike 92 is banned forever so it could never follow him. just stop following me.

i hope you guys can find a way to use this.
Nice find dude, i'm gonna do some experimenting with this.

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

commands in emotes Empty Thanks.

Post  Gizmo92883 on Sun Feb 27, 2011 11:23 pm

Yea ive tried that for awile ive finally got it to work.
Gizmo92883
Gizmo92883

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

Back to top Go down

commands in emotes Empty Re: commands in emotes

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


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