mIRC Home    About    Download    Register    News    Help

Print Thread
#141122 05/02/06 04:08 AM
Joined: Feb 2004
Posts: 45
N
Navid Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Feb 2004
Posts: 45
Hello.
Does anyone know if there is an option that can disable all the user's colors in a room so i dont have to see all those pink,green, yellow colors of the new comers.
I made a script for this but heh I have lost all my mirc scripting experience. Maybe you guys can help:

Code:
 
on ^*:TEXT:*:#: {
  var %hour = $time(HH)
  var %min = $time(nn)
  var %sec = $time(ss)
  set %message $1-
  if ( isin %message) { 
    set %message $remove(%message,)
    set %color1 $right(%message,$calc($len(%message) - 4)))
    set %color2 $right(%message,$calc($len(%message) - 3)))
    set %color3 $right(%message,$calc($len(%message) - 2)))
    set %color4 $right(%message,$calc($len(%message) - 1)))
    if (%color4 isnum %message $+ ) { $remove(%message $+ ,%color4) }
    if (%color3 isnum %message $+ ) { $remove(%message $+ ,%color3) }
    if (%color2 isnum %message $+ ) { $remove(%message $+ ,%color2) }
    if (%color1 isnum %message $+ ) { $remove(%message $+ ,%color1) }
  }
  if ( isin %message) { $remove(%message $+ ,) }
  if ( isin %message) { $remove(%message $+ ,) }
  var %user = $nick
  var %time = 5:4:14(15 $+ %hour $+ 10:15 $+ %min $+ 10:15 $+ %sec $+ 14)4:5:
  echo -bflm $chan %time 4,1(14,1 $+ $status_check($nick,$chan) $+ %user $+ 4,1)7,1:14,1 %message
  haltdef
} 

#141123 05/02/06 04:23 AM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
on ^*:text:*:#: haltdef | echo -itlbfm # $+(<,$nick,>) $strip($1-)

(t flag is to show a timestamp)


Gone.
#141124 05/02/06 04:59 AM
Joined: Feb 2004
Posts: 45
N
Navid Offline OP
Ameglian cow
OP Offline
Ameglian cow
N
Joined: Feb 2004
Posts: 45
it worked thanks...


Link Copied to Clipboard