Thread:RyaNayR/@comment-12699193-20190402185818/@comment-16101931-20190405030158

That looks more like Java/JS or C/C++, but I realize it's more like pseudocode.

But yeah I'll stick that logic in. Hang on.