Advertisement
illpastethat

auto query close

Mar 14th, 2011
440
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.63 KB | None | 0 0
  1. alias noclose { /timer $+ $iif(($1),$1,$active) $+ * off }
  2. on *:text:*:?:{
  3.   if (!$istok(%dontclose,$nick,44)) {
  4.     noclose $nick
  5.     .timer $+ $nick $+ msgqueryclosewarn 1 270 echo -a 12[4NOTICE12] 10 30 seconds till query close with $nick $+.
  6.     .timer $+ $nick $+ msgqueryclose 1 300 /msg $nick 12[4NOTICE12] 10 Your query window has automatically been closed after 5 minutes of inactivity, if you need something pm me again. Otherwise do not reply.
  7.     .timer $+ $nick $+ queryclose 1 302 close -m $nick
  8.     .timer $+ $nick $+ queryclosewarn 1 302 echo -a 12[4NOTICE12] 10 Query with $nick has been closed.
  9.   }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement