I_M_M_O_R_T_A_L
Marangoz
- En iyi cevaplar
- 0
command /cek [<text>]:
permission: cek.para
trigger:
if arg 1 is "cek100" or "cek1000" or "cek10000":
if arg 1 is "cek100":
execute console command "/money take %player% 100"
give a paper named "&a&l100 TL Çeki" to player
if arg 1 is "cek1000":
execute console command "/money take %player% 1000"
give a paper named "&a&l1000 TL Çeki" to player
if arg 1 is "cek10000":
execute console command "/money take %player% 10000"
give a paper named "&a&l10000 TL Çeki" to player
else:
send "&cKullanım: &9/cek &4<&4miktar>" to player
on rightclick with a paper:
if player's tool is paper named "a&l100 TL Çeki":
execute console command "/money give %player% 100"
send "&c100 TL'lik çek kullandınız." to player
remove paper named "a&l100 TL Çeki" from player
on rightclick with a paper:
if player's tool is paper named "a&l1000 TL Çeki":
execute console command "/money give %player% 1000"
send "&c1000 TL'lik çek kullandınız." to player
remove paper named "a&l1000 TL Çeki" from player
on rightclick with a paper:
if player's tool is paper named "a&l10000 TL Çeki":
execute console command "/money give %player% 10000"
send "&c10000 TL'lik çek kullandınız." to player
remove paper named "a&l10000 TL Çeki" from player
Böyle bir skript yazım ama boşluklarla ilgili hata verip duruyor.Nasıl bırakmam lazım biraz yardımcı olur musunuz? Fikir bana ait değil bildireyim.
permission: cek.para
trigger:
if arg 1 is "cek100" or "cek1000" or "cek10000":
if arg 1 is "cek100":
execute console command "/money take %player% 100"
give a paper named "&a&l100 TL Çeki" to player
if arg 1 is "cek1000":
execute console command "/money take %player% 1000"
give a paper named "&a&l1000 TL Çeki" to player
if arg 1 is "cek10000":
execute console command "/money take %player% 10000"
give a paper named "&a&l10000 TL Çeki" to player
else:
send "&cKullanım: &9/cek &4<&4miktar>" to player
on rightclick with a paper:
if player's tool is paper named "a&l100 TL Çeki":
execute console command "/money give %player% 100"
send "&c100 TL'lik çek kullandınız." to player
remove paper named "a&l100 TL Çeki" from player
on rightclick with a paper:
if player's tool is paper named "a&l1000 TL Çeki":
execute console command "/money give %player% 1000"
send "&c1000 TL'lik çek kullandınız." to player
remove paper named "a&l1000 TL Çeki" from player
on rightclick with a paper:
if player's tool is paper named "a&l10000 TL Çeki":
execute console command "/money give %player% 10000"
send "&c10000 TL'lik çek kullandınız." to player
remove paper named "a&l10000 TL Çeki" from player
Böyle bir skript yazım ama boşluklarla ilgili hata verip duruyor.Nasıl bırakmam lazım biraz yardımcı olur musunuz? Fikir bana ait değil bildireyim.