Arkadaşlar basit bir skript yazarken bir yerde takıldım

TotallyNetwork112

Kömür madencisi
Katılım
26 Haz 2022
Mesajlar
15
Beğeni
1
Puanları
10
Basit bir /admin skripti yazarken bir yerde takıldım:
Kod:
on command /admin [<text>]:
    permission: admin.use
    permission message: &cAdmin olmayamı çalışıyorsun? :D
        if %arg 1% is "ol"
            if player has the permission "admin.use":
                op player
        if %arg 1% is "olma"
            if player has the permission "admin.use":
                deop player
op player ve deop player nasıl olucak doğrumu?
/admin ol komudunu yazdığımızda o oyuncu "admin.use" permission una sahipse op olucakmı
Kod:
 if %arg 1% is "ol"
            if player has the permission "admin.use":
                op player
ve
Kod:
 if %arg 1% is "olma"
            if player has the permission "admin.use":
                deop player
doğrumu?
 
Üst