At the moment according to the tests that I realized I only managed to reach this point, the persistent ignores all the phrases and picks up any other that you have specified the message. You will not get messages from other players.
auto(1000)
--Edit the line 13 for the character to do what you want.
local CheckMessages = true
local Sections = {"Hunt"} --{"Hunt"} or {"Floor 1", "Floor 2"} or {"City", "ToHunt", "Hunt"} etc...
local Messages = {"message"} --{"message"} or {"message 1", "message 2"}
if $connected then
if CheckMessages then
foreach newmessage m do
if m.sender == '' and table.find(Messages, m.content) then
--Any action you want
end
end
end
end
I tested with mana potion, not influenced by mana potion from other players.