Closed Zero3K closed 10 years ago
Shouldn't be too hard.
I'll look at this tonight. Haven't been on the stream for awhile, so I'm not sure what the format of the inputs are. Can't watch the stream at work, though.
Looks like the format for touchscreen inputs is a pair of numbers separated by a comma. Some examples from the stream right now:
186,19
217,157
I also saw this guide in the TPP subreddit:
http://i.imgur.com/k0PuEO2.png
http://www.reddit.com/r/twitchplayspokemon/comments/246cdj/an_early_quick_rough_guide_to_using_the/
Yep. Literally /^([0-9]+),([0-9]+)$/
, or /^([0-9]{1,3}),([0-9]{1,3})$/
if you want to be restrictive.
I think the filter should go with /^([0-9]+),([0-9]+)$/ because you'll be having fools spam 9001,9001
Agreed on using the less restrictive version, in order to catch spam. I'm thinking it probably makes the most sense to incorporate this directly into the "Emulator Commands" filter rather than having it be separate. I'll make the change this afternoon when I can test it on streams.
Implemented and pushed out.
Hmm, what about also filtering ones that include spaces in them?
Done in PR #146
It would be nice if it could filter them.