xDarkParadisE/koserver — pull request #1 by xDarkParadisE (2013-09-09 10:10:28+00:00)
Title: 29079.soccer.lua

local UserClass;
local QuestNum;
local Ret = 0;
local NPC =29079;

if EVENT == 100 then
SelectMsg(UID, 3,-1, 9612, NPC, 7210, 101, 7213, 102, 7220, 103);
end

if EVENT == 101 then
SelectMsg(UID, 3,-1, 9613, NPC, 7212, 104, 7211, 105);
end

if EVENT == 102 then
ITEMARMOR = HowmuchItem(UID, 900349000);
if ITEMARMOR > 1 then
SelectMsg(UID, 3, -1, 9616, NPC, 7224,106,7225,107,7226,108);
else
SelectMsg(UID, 3,-1, 9616, NPC, 10,110);
end
end

if EVENT == 103 then
ZoneChange(UID, 21, 670, 199);
end

if EVENT == 104 then
ZoneChange(UID,21, 671, 162);
end

if EVENT == 105 then
ZoneChange(UID, 672, 156);
end

if EVENT == 106 then
RobItem(UID, 900349000, 10)
GiveItem(UID, 900362641, 1)
end

if EVENT == 107 then
RobItem(UID, 900349000, 10)
GiveItem(UID, 929001609, 1)
end
if EVENT == 108 then
RobItem(UID, 900349000, 10)
GiveItem(UID, 933001634, 1)
end