mIRC Home    About    Download    Register    News    Help

Print Thread
#182050 03/08/07 08:19 PM
Joined: Nov 2006
Posts: 26
O
Osah Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Nov 2006
Posts: 26
When i read a line from a text file -- it does not paste 'double spaces' it removes all spaces but 1 space. Since mIRC does not support double spaces, how about making it support it -- in the feature... ?

'spaces.dll' does not support double spaces also when mIRC is reading from a file.


codemastr_
Osah #182054 03/08/07 08:46 PM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
The File Handling and Binary Variable commands support reading multiple spaces from a file, by the way.

Collective #182055 03/08/07 08:49 PM
Joined: Jan 2003
Posts: 2,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
$read() too, if one uses the n switch.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Collective #182062 04/08/07 12:17 AM
Joined: Nov 2006
Posts: 26
O
Osah Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Nov 2006
Posts: 26
How about /write for example -- /write i <space> <space> <space> am would output only i am.

And if i do $read it does output to mirc (single spaced) could be just me


codemastr_
Osah #182064 04/08/07 12:26 AM
Joined: Dec 2002
Posts: 3,138
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
qwerty's suggestion does work, but commands (and some identifiers) strip spaces anyway (try /echo or /say with multiple spaces, for example). The situation better explained here and a list of workarounds can be found on the same site, here.

Writing consecutive spaces requires use of /bwrite or /fwrite (in combination with /bset).

Last edited by qwerty; 04/08/07 12:38 AM.

Link Copied to Clipboard