mIRC Home    About    Download    Register    News    Help

Active Threads | Unanswered Past 24 hours | Past 48 hours | Past Week | Past Month | Past Year
Scripts & Popups Jump to new posts
IRCClouD BanMask Corrector Simo Yesterday at 05:21 AM
i wrote this small script for dalnet as i found many set inneffiecient bans on irccloud users this code will correct that provided your bot is opped in the channel :

Code

on *:ban:#:{
  if ($nick(#,$me,@)) {
    var %ixz = 1 , %nicksx
    while ($ialchan($banmask,$chan,%ixz).nick)  {
      var %match = $v1
      if (%match != $me && $regex($banmask,/(irccloud)/i)) { var %nicksx = $addtok(%nicksx,%match,32)  }
      inc %ixz
    }
    if ($numtok(%nicksx,32) > 1) { mode $chan -b $banmask }
    if ($numtok(%nicksx,32) == 1) {
      var %properbanmask $+(*!,$gettok($gettok($replace($address(%nicksx,1),!*uid,!*id,!*sid,!*id),1,64),2,33),@*)
      mode $chan +b-b %properbanmask $banmask
    }
  }
}
 
 
on *:KICK:# {
  if ($nick(#,$me,@)) {
    if ($regex($address($knick,2),/(irccloud)/i)) {
      var %properbanmask $+(*!,$gettok($gettok($replace($address($knick,1),!*uid,!*id,!*sid,!*id),1,64),2,33),@*)
      if ( %properbanmask !isban $chan ) {   mode $chan +b %properbanmask }
    }
  }
}
 

0 32 Read More
Feature Suggestions Jump to new posts
closing help file from script -- /winhelp Wims 01/04/24 09:57 PM
For a better handling and managing of a custom help file, such as updating it from the web, I would like to be able to close an help file from a script via /winhelp.

/winhelp -n <name> <file> [keyword]
/winhelp -c <name>
0 102 Read More