Command Trigger After Certain Amount of Lines - 07/06/15 11:54 PM
So the goal is to make a "timed" click-to-tweet, but instead of it being an actual timer running and outputting every hour (can become spammy on Twitch channels with few/no viewers) it would instead output after a certain number of lines defined (hard coded to 35, but may change to an adjustable variable).
I was thinking setting an alias would work, but I may be thinking backwards on it.
Code:
on *:text:*:#fonic_artes: { if (%cttlines < 35) { inc %cttlines } if (%cttlines = 35) { msg # (CTT_MESSAGE) %tweeturl set var %cttlines = 0 } } alias cttlines { var %cttlines = 0 }
I was thinking setting an alias would work, but I may be thinking backwards on it.