Match - EdgeIY/infiniteyield GitHub Wiki

Documentation

boolean Match(<string> str1, <string> str2)

Description

Returns true if str1 contains str2; otherwise, false is returned.

Example

-- Note: This is just a snippet
-- Assume args[1] = "XxOmq1234xX"
["Function"] = function(args, speaker) 
    if Match(args[1], "Omq") then
        notify("Info", args[1] .. " might be an ODer")
    end
end
⚠️ **GitHub.com Fallback** ⚠️