Topic command override
public text v1 · immutablealias topic {
if ($isid) {
if ($1) return $chan($1).topic
elseif ($me ison $active) return $chan($active).topic
else return
}
else {
if ($left($1,1) == $chr(35)) topic $1-
elseif ($left($active,1) == $chr(35)) topic $active $1-
else echo -a You must be on or specify a channel
}
}