mIRC Home    About    Download    Register    News    Help

Print Thread
#205239 17/10/08 10:12 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
(00:05) [join] abused (ident@host.nu) has joined #testar...
<space>[kick] abused was kicked by test (test)
[join] abused (ident@host.nu) has joined #testar...

Do you see the space there? i cant get it to dissapear, if i enable timestamp it's gone. This is how the theme for the kick looks like:
Code:
on ^*:kick:#: {
  haltdef
  echo $chan $+($clr($theme_color(sysmsg))) $+ $ts1 $t.kick $knick was kicked by $nick ( $+ $1- $+ $chr(015) $+ $chr(3) $+ $theme_color(sysmsg) $+ )
}

$clr return $chr(3)
$+($clr($theme_color(sysmsg))) return the color of the sysmsg.
$ts1 return $timestamp if it's enabled.
$t.kick return the chr i want for kick, in this example [kick].

I know i can echo -t for timestamp if it's enabled, but it didn't work, i got the echo to the status window if i used it.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Try replacing
Code:
$+ $ts1 $t.kick $knick
with
Code:
$+ $ts1 $+ $t.kick $knick

Joined: Feb 2003
Posts: 3,432
S
sparta Offline OP
Hoopy frood
OP Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
that force the timestamp next to the event

(12:12)[kick] and i want a space there.. so no go, but i solve it some how, thnx anyway.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard