Hello, i've found the auto invite and i guess the auto join, however how can i make so that the leader enables shared exp?
Thanks in advance.
What i got:
Inviter:
Joiner:auto(1000) local InviteName = 'Floxirn'
if getcreature(InviteName).party == 0 then
contextmenu('Invite to Party',InviteName, true)
waitping(2,3)
elseif getcreature(InviteName).party == 1 then
contextmenu("Join "..InviteName.."'s Party",InviteName, true)
waitping(2,3)
end
Now, i'm not sure if the joiner is correct, is it?contextmenu("Join Fia via's Party", "Fia via", True) -- Joining Fia via party
And in the first one i guess "enablesharedexp()" should be implemented somewhere, just don't understand how to put it... Would appreciate help. thanks.
Maybe this should work better as a inviter / joiner?
But still don't get how to enable shared exp.local PlayerNames = {'Ash', 'Brock', 'Misty', 'Guido'}
for i, player in ipairs(PlayerNames) do
if getcreature(player).party == 0 then
contextmenu('Invite to Party',player, true)
waitping(2,3)
elseif getcreature(player).party == 1 then
contextmenu("Join "..player.."'s Party",player, true)
waitping(2,3)
end
end