Advanced Topic (AdvTopic) for multiple wildcards
Brought to you by:
entrope
This patch adds a new topic system to ChanSErv.
It allows users to use up to 9 (can be modified within chanserv.h) indepent wildcard
values that will be replaced in the topicmask. These new wildcards are written with percent
char followed by the wildcard number:
e.g. "I'm the channel topic! News: %1 and look at: %2 - dont forget our news: %1"
!topic bla will replace ALL %1 with bla
!topic 2 blubb will replace ALL %2 with blubb
and so on ;)
The old topicmask is still valid if AdvTopic is disabled for the channel (!set advtopic on/off)
AdvTopic patch