Hi
so I am making a blacklist skript wich make it so no one can't ban blacklisted players
but it says I can't use arguments on "on command" .. how to do it?
Errors <-- errors when loading
Code (not full) :
so I am making a blacklist skript wich make it so no one can't ban blacklisted players
but it says I can't use arguments on "on command" .. how to do it?
Errors <-- errors when loading
Code (not full) :
code_language.skript:
on command "/unban <player>":
if arg-1 is in {blacklist::*}:
cancel event
message "&8[&eProtect&8]&7 This ban is locked. you CANNOT unban this player"
make console execute command "warn %player% Tried to unban a blacklisted player"
stop
on command "/unbanip <player>":
if argument 1 is in {blacklist::*}:
cancel event
message "&8[&eProtect&8]&7 This ban is locked. you CANNOT unban this player"
make console execute command "warn %player% Tried to unban a blacklisted player"
stop
on command "/eunban <player>":
if argument 1 is in {blacklist::*}:
cancel event
message "&8[&eProtect&8]&7 This ban is locked. you CANNOT unban this player"
make console execute command "warn %player% Tried to unban a blacklisted player"
stop