Ignore popups

Ignore popups

mIRC snippet that creates a menu on nicklist and add the posibility to ignore the user or to remove it.

Postat de Copyright Categorie Review user Vizualizari Data
BLKoldSUN SaNCaK query Cod netestat 608 2023-12-11 20:49:42

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: [email protected] $+ $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: [email protected] $+ $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 }    
    }
  } 
}