mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-20 19:57:46 +00:00
19 lines
No EOL
318 B
Lua
19 lines
No EOL
318 B
Lua
--[[
|
|
|
|
PartyBreakupCommand Script
|
|
|
|
Handles disbanding the party.
|
|
|
|
--]]
|
|
|
|
function onEventStarted(player, actor, triggerName)
|
|
worldMaster = GetWorldMaster();
|
|
|
|
if (player:IsPartyLeader()) then
|
|
player:PartyDisband(name)
|
|
else
|
|
player:SendGameMessage(player, worldMaster, 30540, 0x20);
|
|
end
|
|
|
|
player:EndEvent();
|
|
end |