#Skrypt na blokowanie komend# #Nie testowałem # variables: {blockedcmds::*} = "" command /blockedcmds [] []: permission: blockedcmds.cmd permission message: Nie masz uprawnien do tej komendy! trigger: if arg 1 is "add": if arg 2 is set: add "%arg 2%" to {blockedcmds::*} send "&aDodano komende %arg 2% do listy zablokowanych komend!" stop if arg 2 is not set: send "&cPrawidlowe uzycie: /blockedcmds (add|remove|list) (cmd)" stop if arg 1 is "remove": if arg 2 is set: remove "%arg 2%" from {blockedcmds::*} send "&cUsunieto komende %arg 2% z listy zablokowanych komend!" stop if arg 2 is not set: send "&cPrawidlowe uzycie: /blockedcmds (add|remove|list) (cmd)" stop if arg 1 is "list": send "&fLista zablokowanych komend:" send "%{blockedcmds::*}%" stop on command: if command contains "%{blockedcmds::*}%": cancel event send "&4Błąd: &cTa komenda jest zablokowana!"