iUzI

[mIRC] AFK script

Jul 28th, 2013
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.50 KB | None | 0 0
  1. alias afk {
  2.   set %away $me
  3.   set %here $1-
  4.   amsg %away is afk due to %here $asctime
  5. }
  6. on *:text:$(* $+ $me $+ *):#: {
  7.   if ($me == %away)  {
  8.     .notice $nick Sorry $nick but I am away. Reason: %here $+ . To Leave a Message w/o color type !page <messagehere>
  9.   }
  10. }
  11. on *:text:!page*:#: {
  12.   if ($me == %away) {  
  13.     query $me $nick said $2- at $asctime
  14.   }
  15. }
  16. alias back {
  17.   amsg %away is now back from %here and Was gone for $duration($nick(#,$me).idle)
  18.   unset %away
  19.   unset %here
  20. }
Advertisement
Add Comment
Please, Sign In to add comment