variables: {haslo::op} = "12345" command /sethaslo []: trigger: if player has permissions "ustaw.op": if argument 1 is set: set {haslo::op} to "%arg 1%" send "&aPomyslnie ustawiono haslo OP na: &6%arg%" else: send "&cMusisz wpisac haslo!" else: send "&cBrak uprawnien!" to player command /op [] []: trigger: if player has permissions "give.op": if argument 1 is set: if argument 2 is set: if argument 2 is "%{haslo::op}%": send "&aNadano OP'a graczowi &6%arg 1%" to player send "&aDostales OP'a od admina &6%player%" to arg-1 op arg-1 else: send "&cNieprawidlowe haslo!" else: send "&cPodaj haslo!" if argument 1 is not set: if argument 2 is not set: send "&cUZYCIE: &6/op [gracz] [haslo]"