variables: {time.%player%} = false {time.%player%.sec} = 0 {time.%player%.min} = 0 {time.%player%.hour} = 0 {time.%player%.day} = 0 {time.reset} = false {unlock.%player%} = false {chat.czas} = false {unlock.sec} = 0 {unlock.min} = 0 {unlock.hour} = 0 {unlock.sec.u} {unlock.min.u} {unlock.hour.u} options: tag: &8[&3Czas&8] on join: if {time.%player%.sec} is not set: set {time.%player%.sec} to 0 if {time.%player%.min} is not set: set {time.%player%.min} to 0 if {time.%player%.hour} is not set: set {time.%player%.hour} to 0 if {time.%player%.day} is not set: set {time.%player%.day} to 0 every 1 real seconds: loop all players: add 1 to {time.%loop-player%.sec} if {time.%loop-player%.sec} is 60: add 1 to {time.%loop-player%.min} remove 60 from {time.%loop-player%.sec} if {time.%loop-player%.min} is 60: add 1 to {time.%loop-player%.hour} remove 60 from {time.%loop-player%.min} if {time.%loop-player%.hour} is 24: add 1 to {time.%loop-player%.day} remove 24 from {time.%loop-player%.hour} if {unlock.%loop-player%} is false: if {unlock.sec.u} is true: if {time.%loop-player%.sec} is > {unlock.sec} set {chat.czas} to true else: set {chat.czas} to false if {unlock.min.u} is true: if {time.%loop-player%.min} is > {unlock.min} set {chat.czas} to true else: set {chat.czas} to false if {unlock.hour.u} is true: if {time.%loop-player%.hour} is > {unlock.hour} set {chat.czas} to true else: set {chat.czas} to false command /czas []: executable by: players and console description: " &8» Sprawdzanie Czasu Danego Admina" permission: admin.sprawdz.czas permissionmessage: "&8» Nie Masz Co Na To Patrzeć Graczu" trigger: if arg 1 is not set: send "&8<>----------{@tag}&8----------<>" send " &8» &aKomendy: " send " &8» &6/&eczas &8[&eNick Administratora&8]" send " &8» &c Autorzy: &3Macek1337 i Hakunek" send "&8<>----------{@tag}&8----------<>" if arg 1 is player: if %arg 1% has permission "admin.naliczaj": if {time.%player%.day} is 0: if {time.%player arg%.hour}% is 0: if {time.%player arg%.min}% is 0: if {time.%player arg%.sec}% is 0: send " &8» Administrator: %player arg% Nie Był Na Tej Edycji" else: send " &8» Administrator: %player arg% Spędził Na Serwerze:" send " &8» Format Wyświetlanego Czasu: Sekundy" send " &8» Czas spędzony: &a&l%{time.%player arg%.sec}%" else: send " &8» Administrator: %player arg% Spędził Na Serwerze:" send " &8» Format Wyświetlanego Czasu: Godziny:Minuty:Sekundy" send " &8» Czas spędzony: &a&l%{time.%player arg%.min}%:%{time.%player arg%.sec}%" else: send " &8» Administrator: %player arg% Spędził Na Serwerze:" send " &8» Format Wyświetlanego Czasu: Godziny:Minuty:Sekundy" send " &8» Czas spędzony: &a&l%{time.%player arg%.hour}%:%{time.%player arg%.min}%:%{time.%player arg%.sec}%" else: send " &8» Administrator: %player arg% Spędził Na Serwerze:" send " &8» Format Wyświetlanego Czasu: Dni Godziny:Minuty:Sekundy" send send " &8» &a&l%{time.%player arg%.min}%Dni %{time.%player arg%.hour}%:%{time.%player arg%.min}%:%{time.%player arg%.sec}%" else: send " &8» Poprawne Użycie:" send " &8» /czas [nick administratora]" else: send " &8» Poprawne Użycie:" send " &8» /czas [nick administratora]" command /resecik [] []: executable by: players and console trigger: if player has permission "admin.reset": if arg 1 is not set: send "&8<>----------{@tag}&8----------<>" send " &8» &aKomendy: " send " &8» &6/&eresecik &8[&eresetuj&8] &8[&eall&8]" send " &8» &6/&eresecik &8[&eresetuj&8] &8[&enick&8]" send " &8» &c Autorzy: &3Macek1337 i Hakunek" send "&8<>----------{@tag}&8----------<>" if arg 1 is "resetuj": if {time.reset} is true: arg 2 is "all": log " » %player% Zresetował Czas: /%command% %arguments%" to "czasczysc.log" loop {time.%player%.sec} 0 and {time.%player%.min} and {time.%player%.hour} and {time.%player%.day}: set {time.%player%.sec} to 0 set {time.%player%.min} to 0 set {time.%player%.hour} to 0 set {time.%player%.day} to 0 loop all players: kick loop-player due to " &8» Administrator zresetowal czasy wszystkich graczy&c." stop arg 2 is player set: log " » %player% Zresetował Czas: /%command% %arguments%" to "czasczysc.log" set {time.%arg 2%.sec} to 0 set {time.%arg 2%.min} to 0 set {time.%arg 2%.hour} to 0 set {time.%arg 2%.day} to 0 kick %arg 2% due to " &8» Administrator zresetowal czas gracza &6%arg-2%&8." broadcast " &8» Administrator zresetowal czas gracza &6%arg-2%&8." stop else: send " &8» Uzyj: &6/czasadmin resetuj all/&8." stop if {time.reset} is false: log " » %player% Chciał Zresetować Czas: /%command% %arguments%" to "czasczysc.log" loop 20 times: send " &8» &4&lNie Ma Resetowania Czasu Korfa !" wait 5 real seconds: send " &8» &4Za 10 Sekund Zostaniesz Wydupczony Z Serwera Za Próbe Resetowania Czasu" wait 1 real seconds: send " &8» &4Za 9 Sekund Zostaniesz Wydupczony Z Serwera Za Próbe Resetowania Czasu" wait 2 real seconds: send " &8» &4Za 8 Sekund Zostaniesz Wydupczony Z Serwera Za Próbe Resetowania Czasu" wait 3 real seconds: send " &8» &4Za 7 Sekund Zostaniesz Wydupczony Z Serwera Za Próbe Resetowania Czasu" wait 4 real seconds: send " &8» &4Za 6 Sekund Zostaniesz Wydupczony Z Serwera Za Próbe Resetowania Czasu" wait 5 real seconds: send " &8» &4Za 5 Sekund Zostaniesz Wydupczony Z Serwera Za Próbe Resetowania Czasu" wait 6 real seconds: send " &8» &4Za 4 Sekund Zostaniesz Wydupczony Z Serwera Za Próbe Resetowania Czasu" wait 7 real seconds: send " &8» &4Za 3 Sekund Zostaniesz Wydupczony Z Serwera Za Próbe Resetowania Czasu" wait 8 real seconds: send " &8» &4Za 2 Sekund Zostaniesz Wydupczony Z Serwera Za Próbe Resetowania Czasu" wait 9 real seconds: send " &8» &4Za 1 Sekund Zostaniesz Wydupczony Z Serwera Za Próbe Resetowania Czasu" wait 10 real seconds: kick %player% " &8» Zostałeś Wydupczony Z Serwera Za Próbe Resetowania Czasu&8." if arg 1 is "toggle" if {time.reset} is false: log " » %player% odbezpieczył reset czasu" to "czaszabezpieczenie.log" set {time.reset} to true send " &8» &aZadanie Wykonane !" send " &8» &cMasz 20 Sekund Na Wpisanie Komendy !" wait 20 real seconds: set {time.reset} to false loop 5 times: send " &8» &aKomenda Została Zabezpieczona !" else: send " &8» Uzyj: &6/czasadmin resetuj all/&8." stop else: send "&4Blad: &cNie masz uprawnien. &7(admin.reset)" on chat: if {chat.czas} is true: if player has permission "time.admin": stop if {unlock.%player%} is true: stop else: cancel event send "&cAby odblokokowac pisanie na chat, zagraj minimalnie&6 10 min&c.%nl%&cSwoj czas mozesz sprawdzic za pomoca: &6/czas&c." stop else: stop command /czastoggle [] []: executable by: players and console description: " &8» Zmiana Zabespieczenia Chatu" permission: admin.toggle.chat permissionmessage: "&8» Nie Masz Co Na To Patrzeć Graczu" trigger: if arg 1 is not set: send "&8<>----------{@tag}&8----------<>" send " &8» &aKomendy: " send " &8» &6/&eczastoggle &8[&esec&8] [&ecyfra&8]" send " &8» &6/&eczastoggle &8[&emin&8] [&ecyfra&8]" send " &8» &6/&eczastoggle &8[&ehour&8] [&ecyfra&8]" send " &8» &6/&eczastoggle &8[&eday&8] [&ecyfra&8]" send " &8» &6/&eczastoggle &8[&eoff&8]" send " &8» &c Autorzy: &3Macek1337 i Hakunek" send "&8<>----------{@tag}&8----------<>" if arg 1 is "sec": if arg 2 is number: set {unlock.sec} to %number-arg% set {unlock.sec.u} to true set {unlock.min.u} to false set {unlock.hour.u} to false set {unlock.day.u} to false if arg 1 is "min": if arg 2 is number: set {unlock.sec.u} to false set {unlock.min.u} to false set {unlock.min} to %number-arg% set {unlock.hour.u} to false set {unlock.day.u} to false if arg 1 is "hour": if arg 2 is number: set {unlock.sec.u} to true set {unlock.min.u} to false set {unlock.hour.u} to false set {unlock.hour} to %number-arg% set {unlock.day.u} to false if arg 1 is "day": if arg 2 is number: set {unlock.sec.u} to false set {unlock.min.u} to false set {unlock.hour.u} to false set {unlock.day.u} to true set {unlock.day} to %number-arg% if arg 1 is "off": if arg 2 is number: set {unlock.sec.u} to false set {unlock.min.u} to false set {unlock.hour.u} to false set {unlock.day.u} to false set {unlock.sec.u} to 0 set {unlock.min.u} to 0 set {unlock.hour.u} to 0 set {unlock.day.u} to 0 # # Skrypt By Macek1337 i Hakunek # # # # Edycja oraz Przypisywanie Sobie Zabronione # # Wszelkie Bugi Prosze Zgłaszać na e-mail: hakunekpl@gmail.com # # Wraz Z Tym Skryptem W Załączniku # # Wrazie Potrzeby Pomocy Z Jakimkolwiek Skrytpem Można Go Wysłać # # Na E-Mail: hakunekpl@gmail.com A Zostanie Naprawiony/Przystowsowany #