mIRC Home    About    Download    Register    News    Help

Print Thread
#64290 17/12/03 03:50 AM
Joined: Feb 2003
Posts: 8
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Feb 2003
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?

#64291 17/12/03 01:08 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
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
#64292 17/12/03 05:16 PM
Joined: Feb 2003
Posts: 8
S
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
S
Joined: Feb 2003
Posts: 8
wel then, I will give that a shot but by the looks of the help file, that will do it. Thanks!
laugh


Link Copied to Clipboard