Advertisement
illpastethat

Exile autoclose query tipox

May 26th, 2013
431
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. alias noclose { .timer $+ $iif(($1),$1,$active) $+ * off }
  2. on *:text:*:?:{
  3.   if (!$istok(%dontclose,$nick,44)) {
  4.     noclose $nick
  5.     msg $nick 4 $+ $chr(7) Secure Query: Sorry i cannot accept you're messages privately. $&
  6. you need to contact my owner %owner $+ . you're message will be delivered to my owner.
  7. notice %owner 4 $+ $chr(7) $nick Messaged $me saying: $1-
  8.     .timer $+ $nick $+ msgqueryclose 1 180 /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.
  9.     .timer $+ $nick $+ queryclose 1 182 close -m $nick
  10.     .timer $+ $nick $+ queryclosewarn 1 182 echo -a 12[4NOTICE12] 10 Query with $nick has been closed.
  11.   }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement