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 15 hours ago
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 25 Read More
Scripts & Popups Jump to new posts
Re: VOICE on JOIN KindOne Yesterday at 06:05 PM
It looks like you would need to /whois the person when they join the channel in order to get their login status.

Could try this script:

Code
on *:join:#Alessandra:{
  if ($network == MindForge) {
    if (MindUser* iswm $nick) { return }
    whois $nick
  }
}
; User is logged in, +v them.
; :Unixverse.MindForge.org 330 TestNick KindOne KindOne :is logged in as
raw 330:*:{
  if ($network == MindForge) {
    if ($2 ison #Alessandra) { mode #Alessandra +v $2 }
  } 
}
2 135 Read More