Open Desour opened 7 years ago
Well, I will probably add some more sophisticated filters, but anyway, it simulates hardware filtering (I probably need to mention that in the README... nonexistent yet), so it should be as simple and fast as possible (both in terms of server load and filter bandwidth).
It would be nice if you could check certain parts of the channel. eg. check if
string.sub(channel,-1,2) == "bla"
(so true if the channel is"bl" .. somestring .. "a"
) With this you could mark messages to certain house addresses & co.Then it would also be very useful have a node to mark (and unmark) the channels, eg.
channel = "b-" .. channel .. "-la"
. And then unmark the channel with eg.channel = string.split(channel,"-")[2]
orchannel = string.sub(channel,string.find(channel,"-"))
.This could be easily done with luacontroller, so maybe it should stay simple.