Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Tutorial Singkat
- #Pertama add Player Ke rank apalah itu :'v
- #Misal /manuadd player topvoter
- #Nah misal awalnya dia member
- #Dan 1 bulan kemudian ingin dikembalikan jadi member
- #Pake command /setlastmonth <player> member
- #FIX
- command /setlastmonth [<text>] [<text>]:
- permission: superadmin.admin
- trigger:
- set {_a} to now
- add 5 hours to {_a}
- set {_b} to "%{_a}%"
- set {_c::*} to {_b} split at " "
- set {_d::*} to {_c::1} split at "/"
- set {_day} to {_d::2}
- set {_month} to {_d::1}
- set {_hour} to {_c::2}
- set {_ap} to {_c::3}
- set {rankmonth::%arg 1%} to "%{_day}%.|.%{_month}%.|.%arg 1%.|.%arg 2%"
- send "&7[&aMonthRank&7]&fPlayer Tersebut Akan Diubah Menjadi Rank %arg 2%"
- send "&7[&aMonthRank&7]&fPada Tanggal: %{_day}% / %{_month}% / 2016"
- on join:
- set {_a} to now
- add 5 hours to {_a}
- set {_b} to "%{_a}%"
- set {_c::*} to {_b} split at " "
- set {_d::*} to {_c::1} split at "/"
- set {_day} to {_d::2}
- set {_month} to {_d::1}
- set {_hour} to {_c::2}
- set {_ap} to {_c::3}
- loop {rankmonth::*}:
- set {_expire::*} to loop-value split at ".|."
- if "%{_expire::1}%" is "%{_day}%:
- if "%{_expire::2}%" is "%{_month}%":
- console command "/manuadd %{_expire::3}% %{_expire::4}%"
- remove loop-value from {rankmonth::*}
- on skript load:
- set {_a} to now
- add 5 hours to {_a}
- set {_b} to "%{_a}%"
- set {_c::*} to {_b} split at " "
- set {_d::*} to {_c::1} split at "/"
- set {_day} to {_d::2}
- set {_month} to {_d::1}
- set {_hour} to {_c::2}
- set {_ap} to {_c::3}
- loop {rankmonth::*}:
- set {_expire::*} to loop-value split at ".|."
- if "%{_expire::1}%" is "%{_day}%:
- if "%{_expire::2}%" is "%{_month}%":
- console command "/manuadd %{_expire::3}% %{_expire::4}%"
- remove loop-value from {rankmonth::*}
Advertisement
Add Comment
Please, Sign In to add comment