mIRC Home    About    Download    Register    News    Help

Print Thread
#4323 01/01/03 12:15 PM
Joined: Dec 2002
Posts: 5
C
clunked Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
C
Joined: Dec 2002
Posts: 5
Hi, just a few feature sugestions....

(1) Option to strip background colours (I don't like them)
(2) Replacing quit messages containing *www* *http* *irc.* *.com* *i-n-v-i-s-i-o-n* with a standard "quit"
(3) Option to strip colours from other places. eg, whois/topic/quit

ok, I understand many people won't think the second and third are good suggestions. i just dont like quit message spam and colours outside normal chat. I do think the first would be good though. Its simple, would be fairly easy to implement, and I'm sure many other users would like it too.

If anyone has any ideas how to strip background colours by a script any ideas of how to do it would be apreciated. I know it could be compicated.

-clunked

Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
1) Good idea.

2) The option to not show quit/part messages seems a good idea, however you seem to be suggesting that mIRC has spam detection built-in to decide specific quit messages to block - I don't think it's up to mIRC to decide what's spam and what isn't. If you want something to filter spam IMO that's the sort of thing the scripting language is for.

3) Fair enough.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
1. I'll make a script for that, but gimme some time =)
2.
Code:
on *:quit: {
  var %var = *www.* *http://* *i-n-v-i-s-i-o-n* *.com* *.org*
  var %i = 1
  var %j = $numtok(%var,32)
  while ( %i <= %j ) {
    if ( $gettok(%var,%i,32) iswm $strip($1-,burc) ) {
      var %i = 1
      while ( $comchan($nick,%i) ) {
        echo $color(quit) -t $comchan($nick,%i) * $nick $+($chr(40),$address,$chr(41)) Quit
        inc %i
      }
      halt
    }
    inc %i
  }

}

that should work, if it doesn't then ask some1 to find a bug from it grin
just add your own words to %var

3. is scriptable too


Code:
//if ( khaled isgod ) echo yes | else echo no
Joined: Jan 2003
Posts: 56
E
Babel fish
Offline
Babel fish
E
Joined: Jan 2003
Posts: 56
Code:
; Strip Background colors
; Usage: $bg.strip(text)
; 
; #############
; ## Example ##
; #############
; 
; on ^*:text:*:#: {
;   echo $color(normal) -mlbfti2 $chan $+(<,$nick($chan,$nick).color,$nick,>) $bg.strip($strip($1-,o))
;   haltdef
; }

alias bg.strip {
  var %r = /([0-9]{1,2})(,[0-9]{1,2})/g
  !.echo -q $regsub($1-,%r,\1,%r)
  return %r
} 


Ecronika
My mIRC Addons
Joined: Jan 2003
Posts: 56
E
Babel fish
Offline
Babel fish
E
Joined: Jan 2003
Posts: 56
I have just written an Addon which removes the background colors in texts and Actions.

Defcon Message Extensions


Ecronika
My mIRC Addons

Link Copied to Clipboard