Rank: Membru Status: Posturi : 133 Reputatie : 5 Data de Inscriere : 13/08/2014 Varsta : 25
| Subiect: Status Panou de GM Joi Aug 14, 2014 2:57 pm |
|
| Code quest - Cod:
-
Code: quest gm_status begin state start begin when 9003.chat."GM Online Status" begin say_title("GM Status:") say("ExodusMt2.ro Status") say("~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~") if game.get_event_flag("*Krs*")== 1 then say_reward("*Krs* online") else say("*Krs* offline") end if game.get_event_flag("*Ygrec*")== 1 then say_reward("*Ygrec* online") else say("*Ygrec* offline") end if game.get_event_flag("*GM3*")== 1 then say_reward("*GM3* online") else say("*GM3* offline") end if game.get_event_flag("*GM4*")== 1 then say_reward("*GM4* online") else say("*GM4* offline") end if game.get_event_flag("*GM5*")== 1 then say_reward("*GM5* online") else say("*GM5* offline") end if game.get_event_flag("*GM6*")== 1 then say_reward("*GM6* online") else say("*GM6* offline") end if game.get_event_flag("*GM7*")== 1 then say_reward("*GM7* online") else say("*GM7* offline") end if game.get_event_flag("*GM8*")== 1 then say_reward("*GM8* online") else say("*GM8* offline") end if game.get_event_flag("*GM9*")== 1 then say_reward("*GM9* online") else say("*GM9* offline") end end end end Code: - Cod:
-
quest gm_status_login begin state start begin when login with pc.is_gm() begin local name = pc.get_name() game.set_event_flag(name, 1) setskin(NOWINDOW) end when logout with pc.is_gm() begin local name = pc.get_name() game.set_event_flag(name, 0) setskin(NOWINDOW) end end end |
|