command /narinkutu:
permission: para.kutu
trigger:
set {para.%player%} to 16 chest named "&eNarin Kutu"
give {para.%player%} to player
on rightclick holding a chest:
if tool's name is "&eNarin Kutu":
cancel event
remove 1 chest named "&eNarin Kutu" from player's inventory
chance of 60%:
add 1750000 to the player's account
message "&7&l» &9&l1M750K"
stop
chance of 55%:
add 2750000 to the player's account
message "&7&l» &e&l2M750K"
stop
chance of 50%:
add 5000000 to the player's account
message "&7&l» &5&l5M250K"
stop
chance of 45%:
add 7500000 to the player's account
message "&7&l» &a&l7M800K"
stop
chance of 35%:
add 20000000 to the player's account
message "&7&l» &c&l20M"
stop
chance of :
add 40000000 to the player's account
message "&7&l» &6&l40M"
stop
[23:09:49] [Server thread/ERROR]: indentation error: expected 12 spaces, but found 2 tabs (narinkutu.sk, line 30: chance of 20%:')
[23:09:49] [Server thread/ERROR]: indentation error: expected 12 spaces, but found 2 tabs (narinkutu.sk, line 30: chance of 20%:')
[23:09:49] [Server thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m [0;31;22mEncountered 2 errors while reloading [0;33;22mnarinkutu.sk[m![m
Neden böyle hata veriyor ?
permission: para.kutu
trigger:
set {para.%player%} to 16 chest named "&eNarin Kutu"
give {para.%player%} to player
on rightclick holding a chest:
if tool's name is "&eNarin Kutu":
cancel event
remove 1 chest named "&eNarin Kutu" from player's inventory
chance of 60%:
add 1750000 to the player's account
message "&7&l» &9&l1M750K"
stop
chance of 55%:
add 2750000 to the player's account
message "&7&l» &e&l2M750K"
stop
chance of 50%:
add 5000000 to the player's account
message "&7&l» &5&l5M250K"
stop
chance of 45%:
add 7500000 to the player's account
message "&7&l» &a&l7M800K"
stop
chance of 35%:
add 20000000 to the player's account
message "&7&l» &c&l20M"
stop
chance of :
add 40000000 to the player's account
message "&7&l» &6&l40M"
stop
[23:09:49] [Server thread/ERROR]: indentation error: expected 12 spaces, but found 2 tabs (narinkutu.sk, line 30: chance of 20%:')
[23:09:49] [Server thread/ERROR]: indentation error: expected 12 spaces, but found 2 tabs (narinkutu.sk, line 30: chance of 20%:')
[23:09:49] [Server thread/INFO]: [0;37;22m[[0;33;22mSkript[0;37;22m][m [0;31;22mEncountered 2 errors while reloading [0;33;22mnarinkutu.sk[m![m
Neden böyle hata veriyor ?