Options:
p: &6Sunucu &bIsmi |
command /adaoy [<player>] [<text>]:
trigger:
if arg-1 is set:
if arg-2 is not set:
send "{@p} &cLütfen bir numara girin &a1 veya 2" to player
if world is "askyblock":
if arg-1 is set:
if arg-1's name is not "%player%":
if arg-2 is "1":
if {ada::süre::%player%} isn't true:
send "{@p} Basariyla %arg-1% 1 Oy Verdin!" to player
send "{@p} %player% Sana 1 Oy Verdi!" to arg-1
add 1 to {ada::oy::%arg-1%}
set {ada::süre::%player%} to true
wait 24 hour
set {ada::süre::%player%} to false
else:
send "{@p} &c24 Saatte Bir Oy Kullanabilirsin!" to player
else if arg-2 is "1":
send "{@p} &cAdaya Sadece 1 veya 2 Verebilirsin!" to player
else:
send "{@p} &cKendi adını giremezsin ahbap!" to player
else:
send "{@p} &cLütfen bir oyuncu adı girin." to player
else:
send "{@p} Sadece Adalar Dünyasinda Oy Verebilirsin!" to player
if arg-2 is "2":
if {ada::süre::%player%} isn't true:
send "{@p} Basariyla %arg-1% 2 Oy Verdin!" to player
send "{@p} %player% Sana 2 Oy Verdi!" to arg-1
add 2 to {ada::oy::%arg-1%}
set {ada::süre::%player%} to true
wait 24 hour
set {ada::süre::%player%} to false
else:
send "{@p} &c24 Saatte Bir Oy Kullanabilirsin!" to player
if arg-2 is "goster":
send "{@p} %arg-1%nin Ada Oylari &f%{ada::oy::%arg-1%}%" to player