Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.41 KB | None | 0 0
  1. on *:RAWMODE:#:{
  2.   if ($regex($1,/^[+-][eIb]/)) && ($nick != $me) {
  3.     var %x 1, %mask, %mode
  4.     while ($mode(%x)) {
  5.       if ($ial($v1,1).nick == $me) {
  6.         %mask = %mask $token($2-,%x,32)
  7.         %mode = $+(%mode,$iif($istok(+ -,$mid($1,%x,1),32),$+($mid($1,%x,1),$mid($1,$calc(%x +1),1)),$mid($1,$calc(%x +1),1)))
  8.       }
  9.       inc %x | inc %y
  10.     }
  11.     mode $chan $replacex(%mode,+,-,-,+) %mask
  12.   }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement