mIRC Home    About    Download    Register    News    Help

Print Thread
#232271 28/05/11 03:47 PM
K
Kreuz123123
Kreuz123123
K
Hello smile i wanted to ask how to add long spaces?
i want a message in this pattern

Quote:
msg $chan Name Age Gender


but no matter how much spaces i put it always removes them
edit: well didnt worked here either O.o anyway its a 12(spaces) space :P

Last edited by Kreuz123123; 28/05/11 03:49 PM.
#232272 28/05/11 04:12 PM
Joined: Jul 2007
Posts: 1,124
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,124
Have you tried $chr(160)

Tomao #232273 28/05/11 04:29 PM
K
Kreuz123123
Kreuz123123
K
actually i tried /help spacing or anything that got to do with space :P and after 0 results i came to ask here for the command

#232274 28/05/11 06:28 PM
Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
Try using the spaces.dll. You should be able to find it easily and it will do what you want.

#232275 28/05/11 06:30 PM
Joined: Jul 2007
Posts: 1,124
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,124
What about:
Code:
msg $chan $+(Name,$str($chr(160),12),Age,$str($chr(160),12),Gender)

Tomao #232282 28/05/11 10:11 PM
Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
$chr(160) is fine for mIRC 7.x, but may display something other than a space in older versions of mIRC or some other IRC clients. It would be better to use another method to obtain spacing. spaces.dll works very well. There's also the method of using ctrl codes between the spaces. Either of those options will display correctly no matter what version or client others are using.

Riamus2 #232283 28/05/11 10:30 PM
Joined: Jul 2007
Posts: 1,124
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Jul 2007
Posts: 1,124
You're right, Riamus2. I suppose there'll always people who like to "stick with the past." Now, I know they have their reasons, but keeping anything or everything up-to-date is my preferred belief.

Last edited by Tomao; 28/05/11 10:32 PM.

Link Copied to Clipboard