on rightclick holding a emerald:
if tool's name is "&bEmeraldVipKiti":
if player have 1 emerald named "&bEmeraldVipKiti":
cancel event
remove 1 emerald named "&bEmeraldVipKiti" from player
chance of 100%:
execute console command "kit emeraldvip %player%"
send "&a&lWarriorCraft &6&l» &eVip Kiti &7kazandin!" to player
on rightclick holding a diamond:
if tool's name is "&bVipKiti":
if player have 1 diamond named "&bVipKiti":
cancel event
remove 1 diamond named "&bVipKiti" from player
chance of 100%:
execute console command "kit vip %player%"
send "&a&lWarriorCraft &6&l» &eVip Kiti &7kazandin!" to player
on rightclick holding a glowstone:
if tool's name is "&e100ClaimBlogu":
if player have 1 glowstone named "&e100ClaimBlogu":
cancel event
remove 1 glowstone named "&e100ClaimBlogu" from player
chance of 100%:
execute console command "AdjustBonusClaimBlocks %player% 100"
send "&a&lWarriorCraft &6&l» &e100 Claim Blogu &7kazandin!" to player
on rightclick holding a chest:
if tool's name is "&6Hediye":
if player have 1 chest named "&6Hediye":
cancel event
remove 1 chest named "&6Hediye" from player
chance of 5%:
execute console command "AdjustBonusClaimBlocks %player% 100"
send "&a&lWarriorCraft &6&l» &e100 Claim Blogu &7kazandin!" to player
else:
chance of 5%:
execute console command "kit vip %player%"
send "&a&lWarriorCraft &6&l» &eVip Kiti &7kazandin!" to player
else:
chance of 10%:
execute console command "kit gunlukodul %player%"
send "&a&lWarriorCraft &6&l» &eGunluk Odul Kasa Anahtari Kazandiniz" to player
else:
chance of 20%:
execute console command "give %player% paper 1 name:&b10K"
send "&a&lWarriorCraft &6&l» &e10K Kazandiniz" to player
else:
chance of 7%:
execute console command "give %player% paper 1 name:&b30K"
send "&a&lWarriorCraft &6&l» &e30K Kazandiniz" to player
else:
chance of 3%:
execute console command "give %player% paper 1 name:&b50K"
send "&a&lWarriorCraft &6&l» &e50K Kazandiniz" to player
else:
chance of 10%:
execute console command "give %player% chest 1 name:&6Hediye"
send "&a&lWarriorCraft &6&l» &eTekrar Deneyiniz..."
else:
chance of 10%:
execute console command "crate key %player% kilic 1"
send "&a&lWarriorCraft &6&l» &eKilic Kasasi Anahtari Kazandiniz..." to player
else:
chance of 10%:
execute console command "crate key %player% kazma 1"
send "&a&lWarriorCraft &6&l» &eKazma Kasasi Anahtari Kazandiniz..." to player
else:
chance of 10%:
execute console command "crate key %player% para 1"
send "&a&lWarriorCraft &6&l» &ePara Kasasi Anahtari Kazandiniz..." to player
on rightclick holding a paper:
if tool's name is "&eGunlukOdulAnahtari":
if player have 1 paper named "&eGunlukOdulAnahtari":
cancel event
remove 1 paper named "&eGunlukOdulAnahtari" from player
chance of 100%:
execute console command "crate key %player% gunlukodul"
send "&a&lWarriorCraft &6&l» &eGunluk Odul Kasasi Anahtari &7kazandin!" to player