LibraIRC.net Forums
Ignore Popups - Printable Version

+- LibraIRC.net Forums (https://librairc.net/forums)
+-- Forum: Public Forums (https://librairc.net/forums/forum-47.html)
+--- Forum: IRC Discussions (https://librairc.net/forums/forum-57.html)
+---- Forum: mIRC (https://librairc.net/forums/forum-64.html)
+---- Thread: Ignore Popups (/thread-10594.html)



Ignore Popups - SaNCaK - 10-01-2017

Code:
on *:load: {
 .echo -aq $input(Author: SaNCaK $+ $crlf $+ $crlf $+ Addon: Ignore $chr(40) $+ v5.4 $+ $chr(41) $+ $crlf $+ $crlf $+ Released at: 17/10/2016 $+ $crlf $+ $crlf $+ Contact: sancak@outlook.com.tr $+ $crlf $+ $crlf $+ Thank you for using this Addon,igo,Addon: Ignore $chr(40) $+ v5.4 $+ $chr(41))
 .echo -s _____________________________________________________
 .echo -s 0,1 Loading 9,1Ignore0,1 Add-On... 
 .echo -s 0,1 You are running mIRC $version on Windows $+ $os
 .echo -s ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
}
on *:unload: {
 .echo -aq $input(Author: SaNCaK $+ $crlf $+ $crlf $+ Addon: Ignore $chr(40) $+ v5.4 $+ $chr(41) $+ $crlf $+ $crlf $+ Released at: 17/10/2016 $+ $crlf $+ $crlf $+ Contact: sancak@outlook.com.tr $+ $crlf $+ $crlf $+ Unloading...,igo,Addon: Ignore $chr(40) $+ v5.4 $+ $chr(41))
}
;############################  -«•»SaNCaK ScripT«•»-    ############################

menu nicklist,query {
 $iif($$1 != $me, $iif($ignore($address($1,5)),$style(1)) Ignore): {
   if ($ignore($address($1,5))) {
     .ignore -r $iif($address($$1,2),$ifmatch,$$1)  
     if ($address($$1,2)) { echo -a Info - Removed $address($$1,2) from ignore list }
     else { echo -a Info - Removed $$1 from ignore list }
   }
   else {
     .ignore $iif($address($$1,2),$ifmatch,$$1)
     if ($address($$1,2)) { echo -a Info - Added $address($$1,2) to ignore list }
     else { echo -a Info - Added $$1 to ignore list }    
   }
 }
}