mIRC Homepage
Posted By: joseluupp Apply pink color to $!read(random.txt,n) - 10/10/15 12:57 PM
I am using this script:

Code:
on *:connect: {
  /timer1 0 150 msg #mychannel $!read(random.txt,n)
}


I tried using this command but can not get it to work:

Code:
$chr(3) $+ $r(13,0) $+ $read(file.txt)


Pink color is 13

Thanks!!
Hi! If you want to use pink you dont need $r
Code:
$+($chr(03),13,!$read(random.txt))

This should work smile
Posted By: Wims Re: Apply pink color to $!read(random.txt,n) - 10/10/15 03:52 PM
$r is a shortcut for $rand, which return a random number so it's going to be a random color, just replace that with the number of the color you want

Edit: this is what happens when you start writting a reply and finish it hours later
© mIRC Discussion Forums