1 2 3 4 5 6 7 8 9 10 |
raw 332:*:if ($2-) set %topic. [ $+ [ $2 ] ] $3- on *:join:#:if ($chan(#).topic) set %topic. [ $+ [ $chan ] ] $ifmatch on *:TOPIC:%save.topic.chans:{ if ($chan(#).topic) set %topic. [ $+ [ $chan ] ] $ifmatch } on *:TEXT:!savetopic:#:{ if (%save.topic.chans == $null) { set %save.topic.chans $chan | if ($chan(#).topic) set %topic. [ $+ [ $chan ] ] $ifmatch } else { set %save.topic.chans %save.topic.chans $+ $+($chr(44),$chan) | if ($chan(#).topic) set %topic. [ $+ [ $chan ] ] $ifmatch } } |