Find Chat in channel
#28
--[[
Script made by Lee (Discord: l33_) - www.trainorcreations.com
If you want to support my work, feel free to donate at https://trainorcreations.com/donate
PS. Stop ripping off my work and selling it as your own.
]]--
local tChannel= getChannelId("World Chat")
local find_msg = "sell" -- lower case
onTalk(function(name, level, mode, text, channelId, pos)
if channelId == tChannel then
if text:lower():find(find_msg) then
-- Action Code here
end
end
end)
26 May 2021