this quest will pop up a questscroll with the status off the gm's (online/offline)
if you like it, thank it :)
Features:
-Shows a list with all the gm's
-online / offline status
Things that can be better:
Screenshot:
[Only registered and activated users can see links. Click Here To Register...]
the alignment is off, since i changed the names into numbres
Installation:
Copy and paste the quest in a text editor.
Save it as: gmonline.quest
upload it into your serverfiles
add the quest into hongkong.list
run sh make.sh
execute /reload q in game
Items used:
Special note:
You have to include the following quest data with an item or npc to change the gm status.
change into online:
change into offline:
Quest file:
if you like it, thank it :)
Features:
-Shows a list with all the gm's
-online / offline status
Things that can be better:
Screenshot:
[Only registered and activated users can see links. Click Here To Register...]
the alignment is off, since i changed the names into numbres
Installation:
Copy and paste the quest in a text editor.
Save it as: gmonline.quest
upload it into your serverfiles
add the quest into hongkong.list
run sh make.sh
execute /reload q in game
Items used:
Special note:
You have to include the following quest data with an item or npc to change the gm status.
change into online:
PHP Code:
local name = pc.get_name()
game.set_event_flag(name, 1)
setskin(NOWINDOW)
PHP Code:
local name = pc.get_name()
game.set_event_flag(name, 0)
setskin(NOWINDOW)
Quest file:
PHP Code:
quest gmonline begin
state start begin
when login begin
set_state(information)
end
end
state information begin
when letter begin
send_letter("Online GM list")
end
when button or info begin
say("Name Status")
say("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~")
if game.get_event_flag("[SA]6")== 1 then
say_reward("SA 6 online")
else
say("SA 6 offline")
end
if game.get_event_flag("[SGM]5")== 1 then
say_reward("SGM 5 online")
else
say("SGM 5 offline")
end
if game.get_event_flag("[GM]4")== 1 then
say_reward("GM 4 online")
else
say("GM 4 offline")
end
if game.get_event_flag("[GM]3")== 1 then
say_reward("GM 3 online")
else
say("GM 3 offline")
end
if game.get_event_flag("[GM]2")== 1 then
say_reward("GM 2 online")
else
say("GM 2 offline")
end
if game.get_event_flag("[GM]1")== 1 then
say_reward("GM 1 online")
else
say("GM 1 offline")
end
end
end
end