mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-21 12:17:46 +00:00
17 lines
442 B
Lua
17 lines
442 B
Lua
require ("global")
|
|
|
|
--[[
|
|
|
|
NpcLinkshellChatCommand Script
|
|
|
|
Player class will go through all quests and see if there are active msgs for one. If there was, it will
|
|
return true and that quest must end the event (if needed). Otherwise if nothing caught the event, the
|
|
event is ended here.
|
|
|
|
--]]
|
|
|
|
function onEventStarted(player, command, eventType, eventName, npcLsId)
|
|
if (player:HandleNpcLs(npcLsId) == false) then
|
|
player:EndEvent();
|
|
end
|
|
end
|