mIRC Home    About    Download    Register    News    Help

Print Thread
#104309 01/12/04 07:25 PM
Joined: Aug 2004
Posts: 26
D
Danko Offline OP
Ameglian cow
OP Offline
Ameglian cow
D
Joined: Aug 2004
Posts: 26
Short question:

" //say $time " works great. But what if I would want a [ and ] right before and after?
" //say [$time] " only returns "[$time]".. But i want it to return [21.34.12]..
So how do i do that ?

#104310 01/12/04 07:52 PM
Joined: Mar 2004
Posts: 457
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Mar 2004
Posts: 457
//say [[ $+ $time $+ ]]
or
//say $+([,$time,])
[edit]
OR
//say $([) $+ $time $+ $(])
OR
alias squarebracket {
return [[ $+ $1 $+ ]]
}
//say $squarebracket($time)

Last edited by Danthemandoo; 01/12/04 08:40 PM.
#104311 01/12/04 07:53 PM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
//say $chtr(91) $+ $time $+ $chr(93)


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
#104312 01/12/04 09:14 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
$time([HH:nn:ss])

/help $asctime for more details


Link Copied to Clipboard