mIRC Home    About    Download    Register    News    Help

Print Thread
#12179 20/02/03 12:55 PM
Joined: Feb 2003
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Feb 2003
Posts: 19
hi,
I have a problem...
I want an identifier or something that has the same effect of   on html but in mirc scripting.

ex:
/echo -a test test2 test3
This returns 'test test2 test3'

/echo -a teste test2 $nbsp $nbsp test3 :tongue:
this would return 'test test2 _space_ _space_ test3'

Thanks in advance


trace me
#12180 20/02/03 01:32 PM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Code:

alias nbsp return $str($chr(2),2)


This alias returns a couple of bold codes (though you can use underline or reverse ones instead), which keep the current spacing without corrupting the text being displayed or copied.

For more information, read starbucks_mafia's reply here

#12181 20/02/03 01:58 PM
Joined: Feb 2003
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Feb 2003
Posts: 19
yup, it worked. Thanks...
$nbsp - maybe this would be a good feature suggestion smirk


trace me
#12182 20/02/03 11:36 PM
Joined: Dec 2002
Posts: 68
P
Babel fish
Offline
Babel fish
P
Joined: Dec 2002
Posts: 68
You could also use:

Alt + 0160

Typing the numbers on the number pad. Or you could use:

$chr(0160)

I think that is what your wanting.


Link Copied to Clipboard