I made the change you ordered and are checking correctly now.
The only "problem is that it resets when I send the same message, when in fact it was only to check if anyone else besides me have"
The command line is this
Code:
local message, sender, _, _, _, _, _, channel = ...
if channel == 1 or channel == 2 then
for _, mystring in pairs(MESSAGES) do
if message == mystring then
timeUntilNextMessage = 330
print("resetado")
end
end
end