Advertisement
AtheistSpacePirate

ayylmao.pl for weechat (modification of /kikoo)

Nov 17th, 2015
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 0.64 KB | None | 0 0
  1. ##Ayy Lmao ( ͡° ͜ʖ ͡°) ##
  2.  
  3. weechat::register("ayy" ,"mrk", "0.2", "GPL", "send lame greetings on the current buffer (usage: /ayy nick)", "",
  4. "");
  5. weechat::hook_command("ayy", "", "", "", "", "ayy", "");
  6.  
  7.  
  8. sub ayy
  9. {
  10.     my ($data, $buffer, $args) = @_;
  11.     $front = int(rand(13))+1;
  12.     $back = int(rand(13))+1;
  13.     while($back == $front)
  14.     {
  15.     $back = int(rand(13))+1;
  16.     }
  17.     $xclam = int(rand(11))+2;
  18.     $oo = int(rand(11))+2;
  19.     $output = "\002\003" . "$front,$back" . " ayy lmao" . "o" x $oo . " $args " . "!" x $xclam . " ( ͡° ͜ʖ ͡°)";
  20.     weechat::command($buffer, $output);
  21.     return weechat::WEECHAT_RC_OK;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement