This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Schedule run every ~30sec. | |
:global botID; | |
:global myChatID; | |
:local parse do={ | |
:local startLoc ([:find $content $variable -1] + [:len $variable] + 2); | |
:local commaLoc ([:find $content "," $startLoc] - 1 + 1); | |
:local braceLoc ([:find $content "}" $startLoc] - 1 + 1); | |
:local endLoc $commaLoc; |