Otwórz menu główne

Zmiany

Operatory

Usunięte 33 bajty, 17:47, 27 paź 2019
m
Operatory relacyjne
'''Operatory''' służą albo do porównywania liczb(relacyjne) lub do urozmaicania [[warunki|warunków]].
== Operatory relacyjne ==Operatory logiczne relacyjne służą do porównania liczb. * '''<''' lub '''is less than''' - mniejsze niż* '''>''' lub '''is greater than''' - większe niż* '''=''' lub '''is equal to''' - równe* '''>=''' lub '''is greater or equal to''' - większe lub równe* '''<=''' lub '''is less or equal to''' - mniejsze lub równe* '''!= | !>= | !<''' lub isn't - nie jest
Przykład:
</pre>command /donate:
trigger:
if {kasa::%player%} >= 5000:
remove 5000 from {kasa::%player%}
send "Dziękujemy za donate!"</pre>
== Operatory logiczne ==
Te operatory służą do jego urozmaicenia oraz skrócenia kodu
 * '''or''' - lub* '''and''' - i* '''not''' - nie jest
Przykład:
112
edycji