mystelio
Altın Benim Yeni Sevgilim
Ben bir skript yapmaya çalıştım birsürü hata veriyor bi bakabilir misiniz?
JavaScript:
[00:05:23] [Async Chat Thread - #223/INFO]: [240,7k] VIP+ Snorren » Arkadaşını
[00:05:26] [Server thread/INFO]: [Skript] Reloading skyblock1.sk...
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 12 spaces (skyblock1.sk, line 209: if {vampir::%player%} is true:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 16 spaces (skyblock1.sk, line 210: if arg 1 is not set:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 20 spaces (skyblock1.sk, line 211: message "&3MysteryCR &8» &eSenin &c%{zehir::%player%}% &ezehirin var."')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 16 spaces (skyblock1.sk, line 212: else:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 20 spaces (skyblock1.sk, line 213: if player has permission "zehirbak.dracula":')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 24 spaces (skyblock1.sk, line 214: message "&3MysteryCR &8» &e%arg-1% &c%{zehir::%arg-1%}% &ezehiri var."')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 20 spaces (skyblock1.sk, line 215: else:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 24 spaces (skyblock1.sk, line 216: message "&cHata &8» &eBu komutu kullanabilmek için gerekli yetkiniz yok."')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 11 spaces (skyblock1.sk, line 217: else:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 15 spaces (skyblock1.sk, line 218: message "&cHata &8» &eZehirlerinizin olması için vampir olmanız gerekiyor!"')
[00:05:26] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (skyblock1.sk, line 208: trigger:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 7 spaces (skyblock1.sk, line 262: else:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 11 spaces (skyblock1.sk, line 263: send "&3MysteryCR &8» &cIssıracağınız kişiyi seçmediniz!"')
[00:05:26] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 15 spaces (skyblock1.sk, line 264: else:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 19 spaces (skyblock1.sk, line 265: send "&3MysteryCR &8» &cBu kişi zaten vampir!"')
[00:05:26] [Server thread/ERROR]: invalid line - all code has to be put into triggers (skyblock1.sk, line 190: ####vampir')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 12 spaces (skyblock1.sk, line 209: if {vampir::%player%} is true:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 16 spaces (skyblock1.sk, line 210: if arg 1 is not set:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 20 spaces (skyblock1.sk, line 211: message "&3MysteryCR &8» &eSenin &c%{zehir::%player%}% &ezehirin var."')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 16 spaces (skyblock1.sk, line 212: else:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 20 spaces (skyblock1.sk, line 213: if player has permission "zehirbak.dracula":')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 24 spaces (skyblock1.sk, line 214: message "&3MysteryCR &8» &e%arg-1% &c%{zehir::%arg-1%}% &ezehiri var."')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 20 spaces (skyblock1.sk, line 215: else:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 24 spaces (skyblock1.sk, line 216: message "&cHata &8» &eBu komutu kullanabilmek için gerekli yetkiniz yok."')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 11 spaces (skyblock1.sk, line 217: else:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 2 tabs, but found 15 spaces (skyblock1.sk, line 218: message "&cHata &8» &eZehirlerinizin olması için vampir olmanız gerekiyor!"')
[00:05:26] [Server thread/WARN]: Empty configuration section! You might want to indent one or more of the subsequent lines to make them belong to this section or remove the colon at the end of the line if you don't want this line to start a section. (skyblock1.sk, line 208: trigger:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 7 spaces (skyblock1.sk, line 262: else:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 11 spaces (skyblock1.sk, line 263: send "&3MysteryCR &8» &cIssıracağınız kişiyi seçmediniz!"')
[00:05:26] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 15 spaces (skyblock1.sk, line 264: else:')
[00:05:26] [Server thread/ERROR]: indentation error: expected 16 spaces, but found 19 spaces (skyblock1.sk, line 265: send "&3MysteryCR &8» &cBu kişi zaten vampir!"')
[00:05:26] [Server thread/ERROR]: invalid line - all code has to be put into triggers (skyblock1.sk, line 190: ####vampir')
[00:05:26] [Server thread/ERROR]: The percent sign is used for expressions (e.g. %player%). To insert a '%' type it twice: %%. (skyblock1.sk, line 240: if {vampir::victim%} is false:')
[00:05:26] [Server thread/ERROR]: can't understand this condition: '{vampir::%arg-1%} to true' (skyblock1.sk, line 253: if {vampir::%arg-1%} to true:')
[00:05:26] [Server thread/INFO]: [Skript] Encountered 32 errors while reloading skyblock1.sk!
PHP:
command /yetenek [<text>] [<text>]:
trigger:
if {vampirıssırma::%player%} is true:
if arg 1 is "vampir":
if arg 2 is "ol":
if {vampir::%player%} is true:
send "&3MysteryCR &8» &cZaten vampirsin!" to player
if {vampir.%player%} is false:
set {vampir::%player%} to true
send "&3MysteryCR &8» &eBaşarıyla vampir oldunuz!" to player
execute console command "manuaddv %arg-1% suffix &r &cVampir"
add 100 to {zehir.%player%}
else:
send "&3MysteryCR &8» &cVampir olman için vampir olan birinin sana vampir zehri bulaştırması gerekiyor!"
command /zehir [<offline player>]:
trigger:
if {vampir::%player%} is true:
if arg 1 is not set:
message "&3MysteryCR &8» &eSenin &c%{zehir::%player%}% &ezehirin var."
else:
if player has permission "zehirbak.dracula":
message "&3MysteryCR &8» &e%arg-1% &c%{zehir::%arg-1%}% &ezehiri var."
else:
message "&cHata &8» &eBu komutu kullanabilmek için gerekli yetkiniz yok."
else:
message "&cHata &8» &eZehirlerinizin olması için vampir olmanız gerekiyor!"
command /vampirver [<player>]:
permission: vampirver.dracula
permission message: &cHata &8» &eSen dracula değilsin!
trigger:
if arg-1 is not set:
send "&aKullanım &8» &e/vampirver <oyuncu>"
if arg-1 is set:
set {vampir::%arg-1%} to true
send "&3MysteryCR &8» &eDracula seni Vampir yaptı!" to arg-1
send "&3MysteryCR &8» &e%arg-1% vampir yapıldı." to player
execute console command "manuaddv %arg-1% suffix &r &cVampir"
else:
send "&3MysteryCR &8» &cSadece dracula olan kişi seni vampir yapabilir veya vampir olan birinin seni ıssırması gerekir!"
on damage:
if attacker is player:
if {vampir::%attacker%} is true:
if {vampir::victim%} is false:
chance of 10%:
add 1 to health of attacker
add 3 to {zehir::%attacker%}
remove 1 from health of victim
send "&3MysteryCR &8» &c%victim% in bir canını emdiniz, ve 3 zehir kazandınız!" to attacker
send "&3MysteryCR &8» &c%attacker% vampir olduğu için senin 1 canını emdi!" to victim
command /ıssır [<player>]:
trigger:
if arg-1 is set:
if {zehir::%player%} is greater than 99:
remove 100 from {zehir::%player%}
if {vampir::%arg-1%} to true:
if {vampir::%player%} is true:
set {vampirıssırma::%arg-1%} to true
send "&3MysteryCR &8» &c%arg-1% oyuncuyu ıssırdınız artık o da vampir olabilecek!" to player
send "&3MysteryCR &8» &c%player% vampir zehrini sana bulaştırdı, /yetenek vampir ol yazarak vampir olabilirsiniz!" to arg-1
else:
send "&3MysteryCR &8» &cVampir olmadan nasıl birini ıssırmayı düşünüyorsun?"
else:
send "&3MysteryCR &8» &cYeterli zehrin olmadan birini vampir yapamazsın!"
else:
send "&3MysteryCR &8» &cIssıracağınız kişiyi seçmediniz!"
else:
send "&3MysteryCR &8» &cBu kişi zaten vampir!"
Son düzenleme: