mIRC Home    About    Download    Register    News    Help

Topic Options
#64290 - 17/12/03 03:50 AM Black to White
Shadow_Master Offline
Nutrimatic drinks dispenser

Registered: 25/02/03
Posts: 8
I have made a very simple script.. well, actually someone made it for me. The problem is very simple. I use a black background... If someone types in black text, I can't see it. So hence, this script was born. Here it is, in all its glory...

on ^*:text:*:*:{
%a = $iif($me isin $1-,8 $+ $nick $+ ,$nick)
%a = $iif($nick == %aa,9 $+ $nick $+ ,%a)
echo $iif(#,#,$nick) $timestamp < $+ %a $+ > $replace($1-,1,01,010,10,011,11,012,12,013,13,014,14,015,15,01,00) | halt
}
on ^*:action:*:*:{
%a = $iif($me isin $1-,8 $+ $nick $+ ,$nick)
%a = $iif($nick == %aa,9 $+ $nick $+ ,%a)
echo $iif(#,#,$nick) $timestamp 3* $+ %a 3*6 $+ $replace($1-,1,01,010,10,011,11,012,12,013,13,014,14,015,15,01,00) | halt
}

The script works great. One problem.. Now my flashing doesn't work. (You know, when you right click on a window tab, and check off the "flashing" flag,) Now, I know exactly WHY it does this.. Its that nasty HALT at the end... But without it, it text displays twice.. Grrrr. So, I made a script, to do the flashing for me.. The problem.. I am not the best scripter in the world.. Heck, that puney blach to white script I just posted, I barely understand. But the problem is. My flash script is big, bulky, messy, and don't work 1/2 the time. Is there a way to get that tiny little script there to work, without having it interfeer with the built in flashing function of MIRC?

Top
#64291 - 17/12/03 01:08 PM Re: Black to White
qwerty Offline
Hoopy frood

Registered: 07/01/03
Posts: 2523
Type /help /echo and read about every /echo switch carefully. For example, this:
Code:
echo $iif(#,#,$nick) $timestamp &lt; $+ %a $+ &gt; .....
should be changed to this:
Code:
echo -mbflirt $iif(#,#,$nick) &lt; $+ %a $+ &gt; .....
_________________________
/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com

Top
#64292 - 17/12/03 05:16 PM Re: Black to White
Shadow_Master Offline
Nutrimatic drinks dispenser

Registered: 25/02/03
Posts: 8
wel then, I will give that a shot but by the looks of the help file, that will do it. Thanks!
laugh

Top