command /sinifsec [<text>]:
trigger:
if arg-1 doesn't exist:
send "&a[SinifSec] &63 Siniftan Birini Seciniz."
send "&aKasif"
send "&aBilge"
send "&aSavasci"
if arg-1 is "kasif":
if {sinifsecmis.%player%} is true:
send "&6Zaten bir sinif secilmis"
else:
execute console command "/manuadd %player% kasif"
send "&6Kasif sinifi secildi"
set {sinifsecmis.%player%} to true
if arg-1 is "bilge":
if {sinifsecmis.%player%} is true:
send "&6Zaten bir sinif secilmis"
else:
execute console command "/manuadd %player% bilge"
send "&6Bilge sinifi secildi"
set {sinifsecmis.%player%} to true
if arg-1 is "savasci":
if {sinifsecmis.%player%} is true:
send "&6Zaten bir sinif secilmis"
else:
execute console command "/manuadd %player% savasci"
send "&6Savasci sinifi secildi"
set {sinifsecmis.%player%} to true