mIRC Home    About    Download    Register    News    Help

Print Thread
alinge trouble #88993 03/07/04 02:59 PM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
hi on my input im having trouble getting it alinged.

most of it is but u can just tell its ever so slightly off. it doesnt even look like a space. but a fraction.

i didnt write this timestamp code so unsure how to change it.

the alias is

alias myts {
var %a = $+(%,myts,$cid,:,$window($1).wid)
if $timestamp != $(%a,2) {
set $(%a) $ifmatch
return $ifmatch $chr(32)
}
return $str($+($chr(32),$chr(2),$chr(2)),$calc($len($timestamp) - 4))
}


the echo is

echo $chan $myts(#) 14 $nick 12: 14 $1-

but when it echos with time stamp its the smallest tiny bit in front. u can hardly notice it but its v-annoying.

thanks

Re: alinge trouble #88994 03/07/04 06:32 PM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
also can any one tell me how to add blank spaces. is it a char?

Re: alinge trouble #88995 04/07/04 08:02 AM
Joined: Feb 2004
Posts: 54
Cyclone Offline
Babel fish
Offline
Babel fish
Joined: Feb 2004
Posts: 54
echo $chan $myts(#) 14 $+ $nick 12: 14 $+ $1- 

or

echo $chan $myts(#) $+(14,$nick 12: 14,$1- )

blank space = $chr(32) or $chr(160) - most people use $chr(32)

smirk

Re: alinge trouble #88996 04/07/04 10:35 AM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
thank you