Your browser does not support JavaScript or its disabled!
Please turn it on, or be aware that some features on this website will not work correctly.
2.1K
Invite to party on words invite #22
295b | 9 lines.
 --[[
  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
Ads