mIRC Home    About    Download    Register    News    Help

Print Thread
#90549 15/07/04 11:53 AM
Q
Query
Query
Q
Hey all i had a question about mirc.
I came across the /write option and I figured I wanted to write something with spaces.
for example:

/write funny.txt ha_ha___ha__________ha___ha_____ha

he wouldn't save it as I wrote it above but my question is, how do I save it and keep
the spaces as they are above?

THanks all

Query smile grin

#90550 15/07/04 12:02 PM
Joined: Dec 2002
Posts: 787
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 787
You cant have two or more spaces consequetively, or mIRC will strip them, but instead of using a space $chr(32) use $chr(160).

For example: //echo -> test $+ $chr(160) $+ $chr(160) $+ $chr(160) ing

A better way however would be $str($chr(160),X)
where 'X' is the number of spaces you want.

So your example would be:

//write funny.txt ha ha $+ $str($chr(160),3) $+ ha $+ $str($chr(160),10) $+ ha $+ $str($chr(160),3) $+ ha $+ $str($chr(160),5) $+ ha

Eamonn.

#90551 15/07/04 12:16 PM
Q
Query
Query
Q
Thanks for the fast reply i'm going to give it a shot right away smile

#90552 16/07/04 11:15 PM
Q
Query
Query
Q
Yeah, whoehoe i got it done mate thanks again smile


Link Copied to Clipboard