Order

By Dark| on Oct 29, 2010

This works
EXAMPLE :
[12:43] @(Dark|Home) !order Stripper
[12:43] <!ACTION!> Android sees Dark|Home orders a round of Stripper
[12:43] <!ACTION!> Android sess: The waiter arrives and slips unluckily so that all of the Stripper covers the floor, to bad Dark|Home
[12:43] @(Android) That was order number: 28

on *:text:!order *:#:{
  inc %orders
  set %order $2-
  var %ordernum = $rand(1,2)
  describe # sees $nick orders a round of $2-
  if (%ordernum == 1) { .timer 1 3 describe # sees: The waitress arrives and serves a round of %order }
  if (%ordernum == 2) { .timer 1 3 describe # sess: The waiter arrives and slips unluckily so that all of the %order covers the floor, to bad $nick }  
  .timer 1 5 msg # That was order number: %orders
}

Comments

Sign in to comment.
xbox_gamer1   -  Oct 29, 2010

:-)

 Respond  
Dark|   -  Oct 29, 2010

hmmm i guess, but wouldnt a auto-ignore work too? :P

 Respond  
Jethro   -  Oct 29, 2010

Dark|, Adding to napa's suggestion, It doesn't matter how big or small a chat server you use, it only takes a person with malicious intent to spam or flood your bot off. It's always a safer bet to include a trigger flood protection.

 Respond  
napa182   -  Oct 29, 2010

Dark| Said:

I Dont add flood stuff My bots stick around a small server no admins or anything

Be that as it may, but if you are going to post snippets here it's a good idea to incorp a flood pro into them. Some may try an use this on a server with aholes that like to try an flood you off.

 Respond  
Dark|   -  Oct 29, 2010

I Dont add flood stuff My bots stick around a small server no admins or anything, and xbox_gamer1, im still kinda messing with it it took awhile to make because the vars

 Respond  
xbox_gamer1   -  Oct 29, 2010

can you like add something on it where you can turn the command on and off

 Respond  
Jethro   -  Oct 29, 2010

Slickone, they'll just say yours does not work. They're full of themselves...

 Respond  
Slickone   -  Oct 29, 2010

maybe add some flood pros an name ur timers
just one of many ways to go about it...

on *:text:!order *:#:{
  tokenize 32 $strip($1-)
  if (!$timer(order2) && $$2) {
    inc %orders
    var %ordernum = waitress arrives and serves a round of $2- .$&
      waiter arrives and slips unluckily so that all of the $2- covers the floor $+ $chr(44) to bad $nick
    describe # sees $nick orders a round of $2-
    .timerorder 1 3 describe # sees: The $gettok(%ordernum,$r(1,2),46)   
    .timerorder2 1 5 msg # That was order number: %orders
  }
}
 Respond  
xbox_gamer1   -  Oct 29, 2010

hahahah nice job Darkj
10/10

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.