|
Post by vampiredbr9 on Jan 19, 2017 21:22:49 GMT
This script snippet is used to see if the user of the script is using the pro version.
Here is the code:
function isPro() if string.find(getVersion(), "pro" ) then return true else return false end
You use the function like:
If (isPro()) then --Stuff if pro version of ankulua e.g. dim screen brightness Else --Stuff if not pro version End
If possible, could it be added to the common lib ankulua?
|
|