PHP Code:
quest nachricht begin
state start begin
when levelup begin
local a = {{25},{50},{75},{100},{125},}
for i = 1, table.getn(a) do
if pc.get_level() == a[i][1] then
notice_all("Glückwunsch an "..pc.get_name().."! Er/Sie hat das Level "..a[i][1].." erreicht.")
return
end
end
end
end
end
jeweiligen level einfach in den table schreiben