This is actualy one of those anoying things about software, but you start realising why they are there.
The length of text that you can place in this setting is limited (preventing memory clogup).
There is however a work around. This isn't a workaround as such, more the main way it was intended to be used.
Simply create you own script, to handle this, which can contain as many lines as you want, and place a line to call this script in the need-unban line.
Code: Select all
proc my_need_unban {} {
putserv "nickserv xxxxxxxxx"
putserv "chanserv xxxxxxxx"
putserv "chanserv xxxxxxxx"
}
channel set #channel need-unban {my_need_unban}
However, this will only allow for one channel to be hardcoded in. SO using simple proper Tcl scripting, you can do the following with it.
Code: Select all
proc my_need_unban {chan} {
putserv "nickserv xxxxxxxxx"
putserv "chanserv unbanme $chan"
putserv "chanserv xxxxxxxx"
}
channel set #channel need-unban {my_need_unban #channel}
channel set #hello need-unban {my_need_unban #hello}
You pass it the channel name, and it can be used to dynamicly change the line being sent to the server, rather than hardcoding it.