Dürbün skripti

Lazkopat

Bölüm Moderatörü
Bölüm Moderatörü

200

evet beyler dürbün skripti fazla gerekli değil ama kullanırsınız :)
iyi forumlar :)


Kod:
command /dürbün [<text>]:
    trigger:
        if arg-1 is not set:
            send ""
            send "&e&l/dürbün ver &a&lDürbün verir"
            send ""
        if arg-1 is "ver":
            if Player has permission "op":
                give 1 347 named "&d&lDürbün" to player
                send "&a&lDürbün verildi"
            else:
                send "&c&lBu komutu gerçekleştire bilmek için op olmanız gerek!"

on load:
    set {_itemdurbun} to 347 named "&d&lDürbün"
    register new shaped recipe for {_itemdurbun} using glass, diamond, glass, redstone, compass, redstone, glass, diamond, glass

on rightclick with 347:
    if name of player's tool is "&d&lDürbün":
        if targeted block is grass:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &a&lÇimen &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is dirt:0:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &e&lToprak &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is dirt:1:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &e&lÇorak Toprak &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is dirt:2:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &e&lPodzal &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is stone:0:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &7&lTaş &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is cobblestone:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &7&lKırıkTaş &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is gravel:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &7&lÇakıl &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is sand:0:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &e&lKum &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is sand:1:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &c&lKırmızı Kum &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is 17:0:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &e&lMeşe Odunu &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is 17:1:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &e&lLadin Odunu &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is 17:2:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &e&lHuş Odunu &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is 17:3:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &e&lOrman Ağacı Odunu &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is 162:0:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &e&lAkasya Odunu &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is 162:1:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &e&lKoyu meşe Odunu &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is 18:0:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &a&lMeşe Yaprağı &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is 18:1:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &a&lLadin Yaprağı &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is 18:2:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &a&lHuş Yaprağı &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is 18:3:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &a&lOrman Ağacı Yaprağı &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is 161:0:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &a&lAkasya Yaprağı &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
        else if targeted block is 161:2:
            set {_location} to location of targeted block
            set {Durbun::%{_location}%} to {_location}
            execute console command "tm amessage %player% &a&lKoyu Meşe Yaprağı &d&l%{_location}%"
            clear {Durbun::%location of targeted block%}
 

Celil

Site Sahibi
Site Sahibi
Hosting Yöneticisi
Forum Yöneticisi
Genel Moderatör
Bölüm Moderatörü
Deneme Moderatör
Hosting Firması
Yazar
Deneme Yazar
Sponsor
Platin Üye
Yazar Ekibi Lideri
Onaylı Satıcı
güzel skript :)
 
Üst