[color:green]; catch messages[/color]
on ^*:TEXT:*:?: {
[color:green]; check if window exists, if not - open it[/color]
if (!$window([color:blue]@messages[/color])) window [color:blue]@messages[/color]
[color:green]; aline the text, but parse the nick through a identifier first[/color]
aline [color:blue]@messages[/color] $wid($nick) $2-
[color:green]; haltdef the default message procedures[/color]
haltdef
}
[color:green] [/color]
[color:green]; custom identifier - adds spaces or any other character to align stuff[/color]
alias wid {
[color:green]; adds <> to the nick, you can change the following options:[/color]
[color:green]; N - ASCII code for the character you want to use to align - 32 for space, 46 for .[/color]
[color:green]; M - width of nick column - align over M characters[/color]
return $+(<,$1,>,$str($chr([color:blue]N[/color]),$calc([color:blue]M[/color] - $len($1))))
}