options:
albaymaas: 5
yarbaymaas: 4
binbasimaas: 3
yuzbasimaas: 2
tegmenmaas: 1
every hour:
loop all players:
if loop-player has permission "maas.albay":
execute console command "eco give %loop-player% {@albaymaas}"
send "&2Maaşını aldın! Maaşın: &a%{@albaymaas}%" to loop-player
else if loop-player has permission "maas.yarbay":
execute console command "eco give %loop-player% {@yarbaymaas}"
send "&2Maaşını aldın! Maaşın: &a%{@yarbaymaas}%" to loop-player
else if loop-player has permission "maas.binbasi":
execute console command "eco give %loop-player% {@binbasimaas}"
send "&2Maaşını aldın! Maaşın: &a%{@binbasimaas}%" to loop-player
else if loop-player has permission "maas.yuzbasi":
execute console command "eco give %loop-player% {@yuzbasimaas}"
send "&2Maaşını aldın! Maaşın: &a%{@yuzbasimaas}%" to loop-player
else if loop-player has permission "maas.tegmen":
execute console command "eco give %loop-player% {@tegmenmaas}"
send "&2Maaşını aldın! Maaşın: &a%{@tegmenmaas}%" to loop-player