[SK] BattleGround Skript! Version 1.0 Beta

RapsyBaraRS

Zombi Katili
Mesajlar
222
En iyi cevaplar
0
Beğeniler
46
Puanları
290
Merhaba Arkadaşlar Ben RapsyBaraRS. Bugün Size Kendi Yazmış Olduğum BattleGround Skriptini Tanıtacağım. İlk Önce Kodu Vereyim:
PHP:
options:

#Script Options:

    prefix: &8[&3BattleGrounds&8]

#Commands
command /battlegrounds [<text>] [<text>]:
    trigger:
        if arg 1 isn't set:
            send "{@prefix} &c/battlegrounds help"
        if arg 1 is "help":
            if arg 2 isn't set:
                send "{@prefix} &aSet Teleport Spawnpoints"
                send " "
                send "{@prefix} &c/battlegrounds set center"
                send "{@prefix} &c/battlegrounds set south"
                send "{@prefix} &c/battlegrounds set west"
                send "{@prefix} &c/battlegrounds set east"
                send "{@prefix} &c/battlegrounds set north"
                send " "
                send "{@prefix} &aTeleport Spawnpoints"
                send " "
                send "{@prefix} &c/battlegrounds center"
                send "{@prefix} &c/battlegrounds south"
                send "{@prefix} &c/battlegrounds west"
                send "{@prefix} &c/battlegrounds east"
                send "{@prefix} &c/battlegrounds north"
            else:
                send "{@prefix} &c/battlegrounds help"
        if arg 1 is "set":
            if arg 2 isn't set:
                send "{@prefix} &c/battlegrounds set center"
                send "{@prefix} &c/battlegrounds set south"
                send "{@prefix} &c/battlegrounds set west"
                send "{@prefix} &c/battlegrounds set east"
                send "{@prefix} &c/battlegrounds set north"
            else:
                if arg 2 is "center":
                    set {center} to location of player
                    send "{@prefix} &aCenter was successfully created."
                    send "{@prefix} &aLocation&7: &b%{center}%"
                if arg 2 is "south":
                    set {south} to location of player
                    send "{@prefix} &aSouth was successfully created."
                    send "{@prefix} &aLocation&7: &b%{south}%"
                if arg 2 is "west":
                    set {west} to location of player
                    send "{@prefix} &aWest was successfully created."
                    send "{@prefix} &aLocation&7: &b%{west}%"
                if arg 2 is "east":
                    set {east} to location of player
                    send "{@prefix} &aEast was successfully created."
                    send "{@prefix} &aLocation&7: &b%{east}%"
                if arg 2 is "north":
                    set {north} to location of player
                    send "{@prefix} &aNorth was successfully created."
                    send "{@prefix} &aLocation&7: &b%{north}%"
        if arg 1 is "center":
            if arg 2 is set:
                send "{@prefix} &c/battlegrounds center"
            else:
                teleport player to {center}
                send "{@prefix} &aYou have been teleported to Center"
        if arg 1 is "south":
            if arg 2 is set:
                send "{@prefix} &c/battlegrounds south"
            else:
                teleport player to {south}
                send "{@prefix} &aYou have been teleported to South"
        if arg 1 is "west":
            if arg 2 is set:
                send "{@prefix} &c/battlegrounds west"
            else:
                teleport player to {west}
                send "{@prefix} &aYou have been teleported to West"
        if arg 1 is "east":
            if arg 2 is set:
                send "{@prefix} &c/battlegrounds east"
            else:
                teleport player to {east}
                send "{@prefix} &aYou have been teleported to East"
        if arg 1 is "north":
            if arg 2 is set:
                send "{@prefix} &c/battlegrounds north"
            else:
                teleport player to {north}
                send "{@prefix} &aYou have been teleported to North"

on rightclick on sign:
    if line 1 is "[BG]":
        if line 2 is "center":
            set line 1 to "&8[&3BG&8]"
            set line 2 to "&aTeleported to "
            set line 3 to "&bCenter"
            send "{@prefix} &aCenter Sign was successfully created."
        if line 2 is "south":
            set line 1 to "&8[&3BG&8]"
            set line 2 to "&aTeleported to "
            set line 3 to "&bSouth"
            send "{@prefix} &aSouth Sign was successfully created."
        if line 2 is "west":
            set line 1 to "&8[&3BG&8]"
            set line 2 to "&aTeleported to "
            set line 3 to "&bWest"
            send "{@prefix} &aWest Sign was successfully created."
        if line 2 is "east":
            set line 1 to "&8[&3BG&8]"
            set line 2 to "&aTeleported to "
            set line 3 to "&bEast"
            send "{@prefix} &aEast Sign was successfully created."
        if line 2 is "north":
            set line 1 to "&8[&3BG&8]"
            set line 2 to "&aTeleported to "
            set line 3 to "&bNorth"
            send "{@prefix} &aNorth Sign was successfully created."
    if line 1 is "&8[&3BG&8]":
        if line 3 is "&bCenter":
            teleport player to {center}
            send "{@prefix} &aYou have been teleported to Center"
        if line 3 is "&bSouth":
            teleport player to {south}
            send "{@prefix} &aYou have been teleported to South"
        if line 3 is "&bWest":
            teleport player to {west}
            send "{@prefix} &aYou have been teleported to West"
        if line 3 is "&bEast":
            teleport player to {east}
            send "{@prefix} &aYou have been teleported to East"
        if line 3 is "&bNorth":
            teleport player to {north}
            send "{@prefix} &aYou have been teleported to North"

Şimdi Kullanımına Geçelim. Oyun İçinde /battlegrounds help Yazarak Komutalara Bakabilirsiniz. Spawnpointleri Ayarlayın. Ardından Tabela Oluşturalım.
Satır 1: [BG]
Satır 2: Center-South-West-East-North
Ve Ardından Tabelaya Sağ Tıklayıp Tabelayı Aktifleştiriyoruz. Bu Kadar BattleGround Hazır.
 


RapsyBaraRS

Zombi Katili
Mesajlar
222
En iyi cevaplar
0
Beğeniler
46
Puanları
290
Tam Emin Değilim Ama Şuanlar Olabilir:
Skript
WildSkript
 

TarikMG

YASAKLANDI
Mesajlar
65
En iyi cevaplar
0
Beğeniler
13
Puanları
0
Maplar? Ben hiç bi'şey anlıyamadım. Konu daha detaylı olabilir.
 

Üst