<egghead> !format
<eggheadsbot> hello world I am a bot !!!
and on the partyline:
[02:03] LINE: hello world I am a bot !!!
[02:03] <<egghead>> !egghead! !format
bind PUB - !format showformat
proc showformat { nick uhost hand chan text } {
set stringA "hello"
set stringB "world"
set stringC "I am a bot"
set line [format "%-15s %-15s %-15s" $stringA $stringB $stringC]
append line !!!
putlog "LINE: $line"
puthelp "PRIVMSG $chan :$line"
return 1
}
On top of this, not all fonts support formatted text (using spaces).
And again, not all client scripts support formatting. mIRC has a very large problem when it comes to formatted text. If you leave mirc to display text on it's own (EG, not halting a ON TEXT event), it will work fine (font permitting). Once you start halting a script, and using echo with $1-, all spaces are lost.