on join: #PO WEJŚĆIU NA SERWER if player's name contains "NICK WLASCICIELA": # KTOŚ Z NIKIEM NP. SUPCIOXD set {wlasciciel2} to true # ODPALA MU SIĘ, ŻE JEST ONLINE on quit: # PO WYJŚCIU Z SERWERA if player's name contains "NICK TEGO SAMEGO WLASCICIELA": # KTOŚ Z NIKIEM NP.SUPCIOXD set {wlasciciel2} to false # ODPALA MU SIE, ŻE JAK GO NIE MA TO JEST OFFLINE command /cboo [] []: permission: Offline.administracja trigger: if arg 1 is "Wlasciciel": if arg 2 is "on": send "&3Zostales widoczny na &b/administracja&3 i zostal wylaczony VANISH" execute player command "vanish off" set {wlasciciel2} to true if arg 1 is "Wlasciciel": if arg 2 is "off": send "&3Zostales ukryty na &b/administracja&3 i zostal wlaczony VANISH" execute player command "vanish on" set {wlasciciel2} to false if arg 1 is "Technik": if arg 2 is "on": send "&3Zostales widoczny na &b/administracja&3 i zostal wylaczony VANISH" execute player command "vanish off" set {technik2} to true if arg 1 is "Technik": if arg 2 is "off": send "&3Zostales ukryty na &b/administracja&3 i zostal wlaczony VANISH" execute player command "vanish on" set {technik2} to false if arg 1 is "Admin": if arg 2 is "on": send "&3Zostales widoczny na &b/administracja&3 i zostal wylaczony VANISH" execute player command "vanish off" set {admin2} to true if arg 1 is "Admin": if arg 2 is "off": send "&3Zostales ukryty na &b/administracja&3 i zostal wlaczony VANISH" execute player command "vanish on" set {admin2} to false if arg 1 is not set: send "&3Poprawne uzycie&b: &c<&3Technik&c/&3Wlasciciel&c/&3Admin&c> &c<&3OFF&c/&3ON&c>" if arg 1 is set: if arg 2 is not set: send "&3Poprawne uzycie&b: &c<&3Technik&c/&3Wlasciciel&c/&3Admin&c> &c<&3OFF&c/&3ON&c>" variables: # TAKIE INNE OPCJE {wlasciciel2} = false # ŻE TO JEST NA POCZĄTKU OFFLINE DOPIERO JAK WBIJE NP. SUPCIOXD TAM WYŻEJ TO DOPIERO ROBI SIE JAK PONIŻEJ ! {technik2} = false # TO NP. DO TECHNIKA {admin2} = false # TO DO ADMINA {moderator2} = false # TO DO MODA {helper2} = false # TO DO HELPERA command /administracja: # KOMENDA /administracja trigger: # MA WYKONAĆ KOMENDE open chest with 1 rows named "&4ADMINISTRACJA" to player # OTWIERA SIĘ SKRZYNKA [GUI] Z NAZWĄ ADMINISTRACJA wait 1 ticks # PO 1 TIKECIE if {wlasciciel2} is true: # JEŻELI WLASCICIEL [supcioxd] TO PISZE TAK JAK PONIŻEJ format slot 0 of player with 1 of 397 named "&aWlasciciel&7: &aNICK WLASCICIELA &7[&aONLINE&7]" to be unstealable # TUTAJ JEST TO ONLINE else:# A JEŻELI NIE JEST ONLINE format slot 0 of player with 1 of 397 named "&4Wlasciciel&7: &cNICK TEGO SAMEGO WLASCICIELA &7[&COFFLINE&7]" to be unstealable # TUTAJ PISZE, ŻE JEST OFFLINE if {Technik2} is true: format slot 1 of player with 1 of 397:1 named "&aTechnik&7: &aBRKA &7[&aONLINE&7]" to be unstealable else: format slot 1 of player with 1 of 397:1 named "&4Technik&7: &cBRAK &7[&COFFLINE&7]" to be unstealable if {Admin2} is true: format slot 2 of player with 1 of 397:2 named "&aAdmin&7: &aBRAK &7[&aONLINE&7]" to be unstealable else: format slot 2 of player with 1 of 397:2 named "&4Admin&7: &cBRAK &7[&COFFLINE&7]" to be unstealable if {Moderator2} is true: format slot 3 of player with 1 of 397:4 named "&aModerator&7: &aBRAK &7[&aONLINE&7]" to be unstealable else: format slot 3 of player with 1 of 397:4 named "&4Moderator&7: &cBRAK &7[&COFFLINE&7]" to be unstealable if {Helper2} is true: format slot 4 of player with 1 of 397:3 named "&aHelper&7: &aBRAK &7[&aONLINE&7]" to be unstealable else: format slot 4 of player with 1 of 397:3 named "&4Helper&7: &cBRAK &7[&COFFLINE&7]" to be unstealable