I do have a question, for my Theme. how would I incorporate
alias d!t.buffer {
if ($1 == EVENT) {
if ($time(nn) == $hget(default,$+(t.buffer,.,$cid))) {
return $str($chr(160),$len($timestamp))
}
else {
hadd -m default $+(t.buffer,.,$cid) $time(nn)
return $timestamp
}
}
if ($1 == MSG) {
if ($time(nn) == $hget(default,$+(t.buffer,.,$cid,.,$nick))) {
return $str($chr(160),$len($timestamp))
}
else {
hadd -m default $+(t.buffer,.,$cid,.,$nick) $time(nn)
return $timestamp
}
}
}
This snippet is to help themes display the timestamp only when it changes (every minute, for example).