Operators Variable operators, assignments & co.

Operator constructs are commands just like the other ones. All the operators work on local or global variables and dictionaries.
The generic operator syntax is:
<left_operand> <operator> [right_operand]
where <left_operand> and [right_operand] depend on the <operator>.
Some operators have no [right_operand] and these are called unary operators: they operate directly on <left_operand>.
Some operators, like arithmetic ones, are typically used inside the special function $(<expression>), called the Expression evaluation identifier; This special function returns the result of the evaluation of the <expression>. In previous versions of KVIrc this function was called $calc().

Operator | document
= | assignment operator
++ | Increment and decrement operators
-- | Increment and decrement operators
+= | Arithmetic self-operators
-= | Arithmetic self-operators
*= | Arithmetic self-operators
/= | Arithmetic self-operators
%= | Arithmetic self-operators
|= | Bitwise self-operators
&= | Bitwise self-operators
^= | Bitwise self-operators
<<= | Bitwise self-operators
>>= | Bitwise self-operators
.= | String concatenation operators
<< | String concatenation operators
<, | String concatenation operators
<+ | Array concatenation
=~ | Binding operator

Index, Language Overview