Skip to content

Iris Compatibility Script

Loadstring

loadstring(game:HttpGet("https://api.irisapp.ca/Scripts/IrisBetterCompat.lua"))()

HasFunction

bool HasFunction(<string> FunctionName)
Returns if the user has the function inside it's environment.

Example

local HasFunc = HasFunction("hookfunction")

if not HasFunc then
    warn("Missing hookfunction!")
end
\pagebreak

TestCompat

void TestCompat()
Warn's in console the syn table count and a syn request form. (syn.request)

Example

TestCompat()
\pagebreak

GetMissingFunctions

table GetMissingFunctions()
Return's a table of missing functions from given environment table

Example

local MissingFuncs = GetMissingFunctions();
table.foreach(MissingFuncs, function(FunctionName, FunctionData) 
    warn("Missing Function:", FunctionName)
end)
\pagebreak