on connect:
if {%player%::BlackList} is set:
kick player due to "&c&lWyrzucono! %nl% &c&lJestes na BlackLiscie! %nl% &c&lPowod:&e&l %{%player%::BlackList}%"
command /blacklist [<text>] [<text>] [<text>]:
permission: BlackList
permission message: &cNie masz uprawnien!
trigger:
if arg 1 isn't set:
send "&cUzycie: &2&l/blacklist Zdejmij/Nadaj nick" to sender
if arg 1 is set:
if arg 1 isn't "Zdejmij" or "Nadaj":
send "&cUzycie: &2&l/blacklist Zdejmij/Nadaj nick powod&7(powod kiedy wpisales Nadaj)" to sender
if arg 1 is "Zdejmij":
if arg 2 isn't set:
send "&cPodaj nick!"
if arg 2 is set:
if {%arg 2%::BlackList} is set:
delete {%arg 2%::BlackList}
send "&cUsunieto z blacklisty!" to sender
if {%arg 2%::BlackList} isn't set:
send "&cTen gracz nie jest na BlackLiscie!" to sender
if arg 1 is "Nadaj":
if arg 2 isn't set:
send "&cPodaj nick!" to sender
if arg 2 is set:
if arg 3 isn't set:
send "&CPodaj powod!" to sender
if arg 3 is set:
if {%arg 2%::BlackList} is set:
send "&cTen grcz jest juz na blackliscie!" to sender
if {%arg 2%::BlackList} isn't set:
set {%arg 2%::BlackList} to "arg 3"
set {_p} to arg-2 parsed as offline player
kick {_p} due to "&c&lWyrzucono! %nl% &c&lJestes na BlackLiscie! %nl% &c&lPowod:&e&l %{%player%::BlackList}%"
send "&cDodano do blacklisty!" to sender
coś takiego? nie testowane!
Witam, poszukuje skryptu ktory bedzie polegal na wyswietleniu czy na chacie czy np. na boss barze randomowego kodu.
I osoba ktora go pierwsza przepisze cos dostanie, powiedzmy diaxa czy coś.
Ja dopiero zaczynam ze skryptami i nie wiem jak to zrobic xD