BatuhaNTR
Demir Cevheri Gibiyim
- Katılım
- 17 Nisan 2017
- Mesajlar
- 219
- Elmaslar
- 102
- Puanlar
- 9.075
Merhaba arkadaşlar editlediğim top 10'lu online sure skripti ilgi gelirse v2'de menülüsünü yaparım.
Komutlar : /sure ve /sure top
Orjinal Halinin Sahibi >> sh4dow
Komutlar
Komutlar : /sure ve /sure top
Orjinal Halinin Sahibi >> sh4dow
Komutlar
Kod:
options:
command: sure
prefix: &cOnlineSure >>
variables:
{second::%player%} = 0
{minute::%player%} = 0
{hour::%player%} = 0
every second:
loop all players:
add 1 to {second::%loop-player%}
if {second::%loop-player%} is 60:
subtract 60 from {second::%loop-player%}
add 1 to {minute::%loop-player%}
if {minute::%loop-player%} is 60:
subtract 60 from {minute::%loop-player%}
add 1 to {hour::%loop-player%}
command /{@command} [<offline player>]:
trigger:
if arg 1 is not set:
send "{@prefix} &7Senin Oynama Suren %{hour::%player%}% saat %{minute::%player%}% dakika"
stop
if arg 1 is set:
if arg 1 is "top":
loop {hour::*}:
add 1 to {_size}
if {_low.to.high.list::%loop-value%} is not set:
set {_low.to.high.list::%loop-value%} to loop-index
else:
set {_n} to 0
loop {_size} times:
set {_n} to {_n}+1
{_low.to.high.list::%loop-value-1%.%{_n}%} is not set
set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
stop loop
wait 1 tick
set {_n} to size of {_low.to.high.list::*}
loop {_low.to.high.list::*}:
set {_high.to.low.list::%{_n}%} to loop-value
set {_n} to {_n}-1
wait 1 tick
message " &3&lEn Aktif 10 Kisi "
loop {_high.to.low.list::*}:
add 1 to {_result}
send "&b%loop-value%&7: &e%{hour::%loop-value%}% Saat"
if {_result} is 10:
stop
else:
if {days.%arg 1%} is not set:
set {days.%arg 1%} to 0
if {hour::%arg 1%} is not set:
set {hour::%arg 1%} to 0
if {minute::%arg 1%} is not set:
set {minute::%arg 1%} to 0
send "{@prefix} &e%arg 1%&7's Online sure %{hour::%arg 1%}% saat %{minute::%arg 1%}% dakika"
stop
Son düzenleme: