mIRC Home    About    Download    Register    News    Help

Print Thread
#102207 06/11/04 01:15 AM
Joined: Sep 2004
Posts: 200
I
IR_n00b Offline OP
Fjord artisan
OP Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
$len
i tried it and all it did was change the color of the text i put afterweards it,
=-=-=-=-=-=-=-=-=-=-
$len(text)
Returns the length of text.

$len(#mIRC) returns 5
-=-=-=-=-=-=-=-=-=-=
thats what it says on the help file but when i use it in mIRC it dosent work like its suposed to, and its vital to one of my scripts, does anyone know how to make another one or how to fix it?

#102208 06/11/04 01:44 AM
Joined: Mar 2004
Posts: 457
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Mar 2004
Posts: 457
when the 1st thing after an echo is a number, mIRC assumes that thats the colour for the entire line, so "echo 4 text" would give u the word text in red.
Instead, specify either -a or -s after echo, so it will be "echo -a 4 text". that will echo "4 text" into the active window.


Link Copied to Clipboard