Code:
----------------------------------
-- GM Online Funktion
-- Meldet sobald ein GM Online geht.
----------------------------------
quest gmlogin begin
state start begin
when login with pc.is_gm() begin
if pc.get_name() = "[GA]xy" then
command("n ".. pc.get_name() .." ist Online")
command("n Er/Sie ist nun für eure Fragen verfügbar.")
elseif pc.get_name() = "[GA]123" then
command("n ".. pc.get_name() .." ist Online")
command("n Er/Sie ist nun für eure Fragen verfügbar.")
elseif pc.get_name() = "[GM]test" then
command("n ".. pc.get_name() .." ist Online")
command("n Er/Sie ist nun für eure Fragen verfügbar.")
end
end
end
end
Habs auf die schnelle so gescriptert ABER,
Ka obs geht; bin müde, betrunken und ist untested...