I am a certified MacroMod coder, and I think you'll definitely need to improve your code to achieve your requested effect. Glad I could be of help. UnitedStates2 Certified MacroMod Coder
Assuming you use SirDaniel's code: Why exactly is this divided into separate $${ }$$ macros? Also, from what I can see here, you are basically aiming to repeat ECHO("/lotto") every three seconds assuming you want to say $${DO();SET(@#lotto, 1);ECHO("/lotto");WAIT(3);LOOP()}$$. Next, I am not sure whether WAIT(3) is a good idea - my tests have found out that it sometimes treats it as seconds if it is a one-digit number, but I recommend WAIT(3000ms) instead. Not a mistake at all, but I wonder... am I the only one who uses IFMATCHES() instead of IFCONTAINS()? The rest of the chat filter code seems to be fine, unless I am missing something.