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.
1.9K
Invite to party on words invite #22
295b | 9 lines.
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)
- remove | + add

01 May 2021
Ads