@verb #9545:"brb afk back" none none none rdo #9545 @program #9545:"brb afk back" none none none "Copied from BlitzBoy (#4680):brb May 24 19:30:42 2002" if (caller != player) caller:tell("Dont use other peoples verbs,") elseif (verb == "brb") if (this.brb == 1) player:tell("They already know You'll BRB.") elseif (this.afk == 1) player:tell("You were AFK but now you'll BRB.") player.location:announce_all_but({player}, player:title() + " was AFK now " + this:sub("s", player) + "'ll be AFK.") player.brb = 1 player.afk = 0 else player.location:announce_all_but({player}, player:title() + " will brb.") player:tell("You'll BRB.") player.brb = 1 endif elseif (verb == "afk") if (this.afk == 1) player:tell("They already know You'll be AFK.") elseif (this.brb == 1) player:tell("You Would have BRB'ed but now your AFK.") player.location:announce_all_but({player}, player:title() + " will no long BRB; " + this:sub("s", player) + " is AFK.") player.brb = 0 player.afk = 1 else player.location:announce_all_but({player}, player:title() + " will now be AFK.") player:tell("I'm AFK.") player.afk = 1 endif elseif (verb == "back") if (this.brb == 0 && this.afk == 0 && this.is_message == 0) player:tell("You have to leave first before you can be back.") elseif (this.brb == 1 || this.afk == 1 || this.is_message == 1) player.location:announce_all_but({player}, player:title() + " is back.") player:tell("You're back!") if (player.brb = 1) player.brb = 0 endif if (player.afk = 1) player.afk = 0 endif if (player.is_message = 1) player.is_message = 0 endif endif else player:tell("Somethings Wrong, Fix it ;)") endif .