Invite to party on words invite
#22
--[[
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.
]]--
onTalk(function(name, level, mode, text, channelId, pos)
if name == player:getName() then return end
if mode ~= 1 then return end
local friend = getPlayerByName(name)
if string.find(text, "invite") and friend then
g_game.partyInvite(friend:getId())
end
end)
01 May 2021