Posted 10 March 2013 - 10:26 PM
AWLAYS EDITING
STILL ADDING FUNCTIONALITY
Linear Library
A useful collection of functions
Current Version: linlib-0.11_R1
Dev Version: linlib-0.2_PR1
Linear Library has a collection of useful function I have made in the last 6 months.
Linear Library (linlib for short) can be used with any program and is designed to be light weight. If you would like to contribute to the project you can simply ask in the reply section.
GET LINLIB: pastebin get J6srbdzH libget
DEV: https://github.com/Linearus/linlib
http://pastebin.com/J6srbdzH
API:
Spoiler
Library Functions:Spoiler
getVersion():Spoiler
Returns the current version.Usage:
getVersion()
getNewVersion():
Spoiler
Returns the latest version.Usage:
getNewVersion()
checkUpdate()
Spoiler
Returns if you are on the latest version.Usage:
checkUpdate()
Functions:
Spoiler
centreText():Spoiler
Returns the position to set the cursor to centre text the middle of the screen < Bad grammarUsage:
centreText("string")
openModem():
Spoiler
Opens very side which HAS a modem attached to it.Usage:
openModem()
login()
Spoiler
Returns true if the username is matched with the password (Will index the username and password… Meaning it will make sure that the index number of the username matches the index number of the password)Usage:
login("username", "password", username-table, password-table)
mouseClick()
Spoiler
Will return the location of where the mouse is clicked on the screen.Usage:
mouseClick()
keyInput()
Spoiler
Will return the key which has been pressed.Usage:
keyInput()
loadAPIS()
Spoiler
Will load all the APIS with in the directory which has been specified.Usage:
loadAPIS("someDir")
loginOnline()
Spoiler
Will return true it the detials specified can login to minecraft.netUsage:
loginOnline("MyUsername", "MyPassword")
Changelog:
linlib-0.11_R1 - keyInput - Bug Fix.
linlib-0.1_R1 - Release