Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on 1:text:*dinner time*:#: {
- var %bt.rand $rand(1,3)
- if (%bt.rand == 1) { .msg $chan eat well $nick }
- if (%bt.rand == 2) { .msg $chan hurry back $nick }
- if (%bt.rand == 3) { .msg $chan east coast dinner time! }
- }
- on 1:text:*lunch*:#: {
- var %bt.rand $rand(1,3)
- if (%bt.rand == 1) { .msg $chan eat well $nick }
- if (%bt.rand == 2) { .msg $chan dont forget to comeback back $nick }
- if (%bt.rand == 3) { .msg $chan do you know what time it is? }
- }
- on 1:text:*bedtime*:#: {
- var %bt.rand $rand(1,3)
- if (%bt.rand == 1) { .msg $chan sleep well $nick }
- if (%bt.rand == 2) { .msg $chan dont let the bed bugs bite $nick }
- if (%bt.rand == 3) { .msg $chan so early $nick }
- }
- on $*:TEXT:/^(brb|gone|afk)/Si:#:{
- if (!$readini(idle.ini, $nick, time)) {
- set %away $nick
- writeini idle.ini $nick time $ctime
- msg $chan Alright, ill start my stop watch..
- }
- elseif ($readini(idle.ini, $nick, time) >= 1) {
- msg $chan $nick $+ ,you are already marked as brb, Please say "back" when you return!
- }
- }
- on *:text:back:#:{
- if ($readini(idle.ini, $nick, time) >= 1) {
- unset %away
- msg $chan Welcome back $nick you were gone for $duration($calc($ctime -$readini(idle.ini, $nick, time) )) $+ , aboot time brah
- remini idle.ini $nick
- }
- }
- on *:TEXT:!ClearAway *:#:{
- if (!$2) { msg $chan Please specify a nick!
- }
- else {
- unset %away
- remini idle.ini $2
- msg $chan $2 $+ 's brb time has been cleared.
- }
- }
- On *:TEXT:*:#: {
- if (%away isin $1-) {
- msg $chan Sorry $nick hey yo, the person your trying to reach is Unavailble right.. now please use !tell to give them a message
- .
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement