Posted 03 October 2016 - 05:48 PM
Tys API
Hello CC community, I am Ty. I am an average LUA programmer.
I love coding in LUA in my free time so I decided to start
a big project, An API.
Features
Base64 encode/decode
Logging (Prints text to the screen in a console style)
Coming soon
Reply, Give me some ideas to add.
I currently have some cool ideas
Documentation
Spoiler
Basic usage:
api.log(name, type, text) --// Output: [NAME] [TYPE]: TEXT
api.encrypt(text) --// Base64 encode, saves results to settings API
api.decrypt(text) --// Base64 decode, saves results to settings API
settings.get("apiLastEncode") --// Results of the last encoding you made
settings.get("apiLastDecode") --// Results of the last decoding you made
Example program:
--[[ Encrypt ]]--
api.log("Base64 Encode","Info","Initializing")
sleep(1.5)
api.encrypt("Hello World!")
settings.get("apiLastEncode")
Edited on 04 October 2016 - 03:28 AM