Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ^Your enhanced senses inform you that (\w+) has entered (.+?)(?:, to the| at your) (\w+)\.$
- local match = string.match(line, pattern)
- local nameToCheck = matches[2]
- -- Function to check if the name exists in the targetTable
- local function containsName(table, name)
- for key, _ in pairs(table) do
- if key == name then
- return true
- end
- end
- return false
- end
- -- Checking if the name exists in the targetTable
- if containsName(arc.targetTable, nameToCheck) then
- cecho("\npretend I'm shadow vortex")
- cecho("\npretend I'm shadow vortex")
- cecho("\npretend I'm shadow vortex")
- else
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement