iBerkeBey
Ağaç Yumruklayıcı
- Mesajlar
- 18
- En iyi cevaplar
- 0
- Beğeniler
- 1
- Puanları
- 30
Efendim, skript hakkında çok bir bilgim yok ilk hatayı çözemedim o yüzden 2. hata ise else yerine else if veya if kullanın hatayı verdiği kısım için.
if %player% balance is bigger than or equal to 100000:
bunu deneyebilir misin?'else'
kullanmışsın fakat else kullanabilmen için öncelikle 'if'
ya da 'else if'
kavramını kullanman gerekiyor. command /elmasplaket:
trigger:
if player has 10 diamond:
#Eğer oyuncu 10 elmasa sahipse
send message to player "Elmas plaket kazandın"
#Oyuncuya şu mesajı gönder
else:
#Eğer sahip değilse,
send message to player "Elmas plakete sahip olman için 10 elmas gerekli!"
#Şu mesajı gönder.
bende bir addon gerektiğini düşünüyorum acaba hangisi :thinking:
Dediklerini Yükledim Sürümleri de Uygun fakat hala aynı.Aşağıdaki linkteki addonları yükleyerek test edebilirsin, içinde birçok addon mevcut, bana kalırsa skQuery, TusKe veya WildSkript'i denemelisin.
docs.skunity.com/downloads
command /pbiletal:
trigger:
if {durum::piyango} is "&aAcık":
if {piyango::bilet} is bigger than or equal to 10:
send "{@p} &cMalesef Daha Bilet Kalmadı."
stop
else:
if player's balance is bigger than or equal to 500000:
chance of {@sans}%:
if {piyango::01} is not set:
give paper 1 named "&6Piyango Bileti 01 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 01"
set {piyango::01} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::02} is not set:
give paper 1 named "&6Piyango Bileti 02 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 02"
set {piyango::02} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::03} is not set:
give paper 1 named "&6Piyango Bileti 03 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 03"
set {piyango::03} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::04} is not set:
give paper 1 named "&6Piyango Bileti 04 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 04"
set {piyango::04} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::05} is not set:
give paper 1 named "&6Piyango Bileti 05 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 05"
set {piyango::05} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::06} is not set:
give paper 1 named "&6Piyango Bileti 06 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 06"
set {piyango::06} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::07} is not set:
give paper 1 named "&6Piyango Bileti 07 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 07"
set {piyango::07} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::08} is not set:
give paper 1 named "&6Piyango Bileti 08 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 08"
set {piyango::08} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::09} is not set:
give paper 1 named "&6Piyango Bileti 09 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 09"
set {piyango::09} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::00} is not set:
give paper 1 named "&6Piyango Bileti 00 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 00"
set {piyango::00} to "%player%"
add 1 to {piyango::bilet}
stop
else:
send "{@p} &cYeterince Paran Yok &4500.000&cTLye Bilet Alabilirsin."
else:
send "{@p} &cPiyango şu an Devre Dışı"
101. satır bu skriptte yokKod:command /pbiletal: trigger: if {durum::piyango} is "&aAcık": if {piyango::bilet} is bigger than or equal to 10: send "{@p} &cMalesef Daha Bilet Kalmadı." stop else: if player's balance is bigger than or equal to 500000: chance of {@sans}%: if {piyango::01} is not set: give paper 1 named "&6Piyango Bileti 01 [{@pnum}]" to player send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 01" set {piyango::01} to "%player%" add 1 to {piyango::bilet} stop chance of {@sans}%: if {piyango::02} is not set: give paper 1 named "&6Piyango Bileti 02 [{@pnum}]" to player send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 02" set {piyango::02} to "%player%" add 1 to {piyango::bilet} stop chance of {@sans}%: if {piyango::03} is not set: give paper 1 named "&6Piyango Bileti 03 [{@pnum}]" to player send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 03" set {piyango::03} to "%player%" add 1 to {piyango::bilet} stop chance of {@sans}%: if {piyango::04} is not set: give paper 1 named "&6Piyango Bileti 04 [{@pnum}]" to player send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 04" set {piyango::04} to "%player%" add 1 to {piyango::bilet} stop chance of {@sans}%: if {piyango::05} is not set: give paper 1 named "&6Piyango Bileti 05 [{@pnum}]" to player send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 05" set {piyango::05} to "%player%" add 1 to {piyango::bilet} stop chance of {@sans}%: if {piyango::06} is not set: give paper 1 named "&6Piyango Bileti 06 [{@pnum}]" to player send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 06" set {piyango::06} to "%player%" add 1 to {piyango::bilet} stop chance of {@sans}%: if {piyango::07} is not set: give paper 1 named "&6Piyango Bileti 07 [{@pnum}]" to player send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 07" set {piyango::07} to "%player%" add 1 to {piyango::bilet} stop chance of {@sans}%: if {piyango::08} is not set: give paper 1 named "&6Piyango Bileti 08 [{@pnum}]" to player send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 08" set {piyango::08} to "%player%" add 1 to {piyango::bilet} stop chance of {@sans}%: if {piyango::09} is not set: give paper 1 named "&6Piyango Bileti 09 [{@pnum}]" to player send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 09" set {piyango::09} to "%player%" add 1 to {piyango::bilet} stop chance of {@sans}%: if {piyango::00} is not set: give paper 1 named "&6Piyango Bileti 00 [{@pnum}]" to player send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 00" set {piyango::00} to "%player%" add 1 to {piyango::bilet} stop else: send "{@p} &cYeterince Paran Yok &4500.000&cTLye Bilet Alabilirsin." else: send "{@p} &cPiyango şu an Devre Dışı"
Kod Budur.
Skripti tam olarak atmamıştım sadece hata olan bölümü atmıştım. tamamı burda101. satır bu skriptte yok
options:
p: &6&lPIYANGO &7> &e
pnum: 1
perm: piyango.admin
permmes: &cMalesef Bu Komuta Erişimin Yasak!
sans: 10
command /pdenet [<text>]:
permission: {@perm}
permission message: {@permmes}
trigger:
if {piyango::%arg-1%} is set:
send "{@p} Bu Biletin Asıl Sahibi %{piyango::%arg-1%}%."
else:
send "{@p} Bu Bilete hiçbir Oyuncu Sahip Değil."
command /pbiletver [<text>]:
permission: {@perm}
permission message: {@permmes}
trigger:
give 1 paper named "&6Piyango Bileti %arg-1% [{@pnum}]" to player
send "{@p} İstediğin Piyango Bileti Verildi."
command /psıfırla:
permission: {@perm}
permission message: {@permmes}
trigger:
delete {piyango::*}
command /pbiletal:
trigger:
if {durum::piyango} is "&aAcık":
if {piyango::bilet} is bigger than or equal to 10:
send "{@p} &cMalesef Daha Bilet Kalmadı."
stop
else:
if player's balance is bigger than or equal to 500000:
chance of {@sans}%:
if {piyango::01} is not set:
give paper 1 named "&6Piyango Bileti 01 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 01"
set {piyango::01} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::02} is not set:
give paper 1 named "&6Piyango Bileti 02 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 02"
set {piyango::02} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::03} is not set:
give paper 1 named "&6Piyango Bileti 03 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 03"
set {piyango::03} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::04} is not set:
give paper 1 named "&6Piyango Bileti 04 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 04"
set {piyango::04} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::05} is not set:
give paper 1 named "&6Piyango Bileti 05 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 05"
set {piyango::05} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::06} is not set:
give paper 1 named "&6Piyango Bileti 06 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 06"
set {piyango::06} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::07} is not set:
give paper 1 named "&6Piyango Bileti 07 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 07"
set {piyango::07} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::08} is not set:
give paper 1 named "&6Piyango Bileti 08 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 08"
set {piyango::08} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::09} is not set:
give paper 1 named "&6Piyango Bileti 09 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 09"
set {piyango::09} to "%player%"
add 1 to {piyango::bilet}
stop
chance of {@sans}%:
if {piyango::00} is not set:
give paper 1 named "&6Piyango Bileti 00 [{@pnum}]" to player
send "{@p} Başarıyla Bilet Aldın Ve Bilet Numaran 00"
set {piyango::00} to "%player%"
add 1 to {piyango::bilet}
stop
else:
send "{@p} &cYeterince Paran Yok &4500.000&cTLye Bilet Alabilirsin."
else:
send "{@p} &cPiyango şu an Devre Dışı"
command /topcevir1:
permission: {@perm}
permission message: {@permmes}
trigger:
chance of 50%:
send "{@p} &4Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &cTop Dönüyorrr" to players
wait 1 seconds
send "{@p} &6Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &eIlk Sayımız : 1" to players
stop
chance of 50%:
send "{@p} &4Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &cTop Dönüyorrr" to players
wait 1 seconds
send "{@p} &6Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &eIlk Sayımız : 0" to players
stop
command /topcevir2:
permission: {@perm}
permission message: {@permmes}
trigger:
chance of 10%:
send "{@p} &4Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &cIkıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &6Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &eIkıncı Sayımız : 0" to players
stop
chance of 10%:
send "{@p} &4Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &cIkıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &6Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &eIkıncı Sayımız : 1" to players
stop
chance of 10%:
send "{@p} &4Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &cIkıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &6Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &eIkıncı Sayımız : 2" to players
stop
chance of 10%:
send "{@p} &4Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &cIkıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &6Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &eIkıncı Sayımız : 3" to players
stop
chance of 10%:
send "{@p} &4Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &cIkıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &6Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &eIkıncı Sayımız : 4" to players
stop
chance of 10%:
send "{@p} &4Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &cIkıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &6Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &eIkıncı Sayımız : 5" to players
stop
chance of 10%:
send "{@p} &4Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &cIkıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &6Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &eIkıncı Sayımız : 6" to players
stop
chance of 10%:
send "{@p} &4Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &cIkıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &6Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &eIkıncı Sayımız : 7" to players
stop
chance of 10%:
send "{@p} &4Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &cIkıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &6Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &eIkıncı Sayımız : 8" to players
stop
chance of 10%:
send "{@p} &4Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &cIkıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &6Ikıncı Top Dönüyorrr" to players
wait 1 seconds
send "{@p} &eIkıncı Sayımız : 9" to players
stop
command /pdurum:
permission: {@perm}
permission message: {@permmes}
trigger:
if {durum::piyango} is "&4Kapalı":
set {durum::piyango} to "&aAcık"
send "{@p} Piyango Durumu Açık Hale Getirildi"
stop
if {durum::piyango} is "&aAcık":
set {durum::piyango} to "&4Kapalı"
send "{@p} Piyango Durumu Kapalı Hale Getirildi"
stop
command /pstats:
permission: {@perm}
permission message: {@permmes}
trigger:
send "&6&m---------[ &ePIYANGO STATS &6&m]---------"
send "&6&m--&f &eDurum : %{durum::piyango}% &6&m--"
send "&6&m--&f &eAlınan Bilet : %{piyango::bilet}% &6&m--"
send "&6&m--&f &ePiyango Numarası : {@pnum} &6&m--"
send "&6&m--&f &ePiyango Admin İzni : {@perm} &6&m--"
send "&6&m---------[ &ePIYANGO STATS &6&m]---------"
stop