Enables you to send TGC, receive feedback, and get update events
目前為
此腳本不應該直接安裝,它是一個供其他腳本使用的函式庫。欲使用本函式庫,請在腳本 metadata 寫上: // @require https://update.cn-greasyfork.org/scripts/36511/672861/TagCoinsAPI.js
To use this API, add the following three lines to the Metadata of your userscript:
// @grant GM_xmlhttpRequest
// @connect tagpro.lol
// @connect koalabeast.com
Don't forget to also @require this library using the link above!
Example usage:
TagCoinsAPI.sendCoins( "Ko", 100, "donation to Ko, sent with the TagCoinsAPI" );
There are/will be more commands, for example for signing up, listening for updates or checking someones balance
Please see the code itself for more help