SHARE
TWEET

brb/gone

a guest Nov 4th, 2016 154 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on 1:text:*dinner time*:#: {
  2.   var %bt.rand $rand(1,3)
  3.   if (%bt.rand == 1) { .msg $chan eat well $nick }
  4.   if (%bt.rand == 2) { .msg $chan hurry back $nick }
  5.   if (%bt.rand == 3) { .msg $chan east coast dinner time! }
  6. }
  7.  
  8. on 1:text:*lunch*:#: {
  9.   var %bt.rand $rand(1,3)
  10.   if (%bt.rand == 1) { .msg $chan eat well $nick }
  11.   if (%bt.rand == 2) { .msg $chan dont forget to comeback back $nick }
  12.   if (%bt.rand == 3) { .msg $chan do you know what time it is? }
  13. }
  14.  
  15. on 1:text:*bedtime*:#: {
  16.   var %bt.rand $rand(1,3)
  17.   if (%bt.rand == 1) { .msg $chan sleep well $nick }
  18.   if (%bt.rand == 2) { .msg $chan dont let the bed bugs bite $nick }
  19.   if (%bt.rand == 3) { .msg $chan so early $nick  }
  20. }
  21.  
  22. on $*:TEXT:/^(brb|gone|afk)/Si:#:{
  23.   if (!$readini(idle.ini, $nick, time)) {
  24.     set %away $nick
  25.     writeini idle.ini $nick time $ctime
  26.     msg $chan Alright, ill start my stop watch..
  27.   }
  28.   elseif ($readini(idle.ini, $nick, time) >= 1) {
  29.     msg $chan $nick $+ ,you are already marked as brb, Please say "back" when you return!
  30.   }
  31. }
  32.  
  33. on *:text:back:#:{
  34.   if ($readini(idle.ini, $nick, time) >= 1) {
  35.     unset %away
  36.     msg $chan Welcome back $nick you were gone for $duration($calc($ctime -$readini(idle.ini, $nick, time) )) $+ , aboot time brah
  37.     remini idle.ini $nick
  38.   }
  39. }
  40. on *:TEXT:!ClearAway *:#:{
  41.   if (!$2) { msg $chan Please specify a nick!
  42.   }
  43.   else {
  44.     unset %away
  45.     remini idle.ini $2
  46.     msg $chan $2 $+ 's brb time has been cleared.
  47.  }
  48. }
  49. On *:TEXT:*:#: {
  50.  if (%away isin $1-) {
  51.    msg $chan Sorry $nick hey yo, the person your trying to reach is Unavailble right.. now please use !tell to give them a message
  52.      .
  53.  }
  54. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top