@@ -50,38 +50,40 @@ Once you have set up the element as detailed above, it will show the following i
50
50
51
51
### Condition Syntax
52
52
53
- Every comparison has to be started and closed with < >
54
- Example:
53
+ Every comparison has to be started and closed with ` < > ` .
55
54
56
- - <Number==5>
55
+ Example: ` <Number==5> `
57
56
58
- The following operators can be used for comparison :
57
+ The following operators can be used for comparisons :
59
58
60
- - =
61
- - !
62
- - <
63
- - >
59
+ - ` = `
60
+ - ` ! `
61
+ - ` < `
62
+ - ` > `
64
63
65
- So that means you can use these combinations:
64
+ You can also use the following combinations:
66
65
67
- - ==
68
- - !=
69
- - <=
70
- - > =
66
+ - ` == `
67
+ - ` != `
68
+ - ` <= `
69
+ - ` >= `
71
70
72
- You can also start with an exclamation mark to inverse the used condition:
71
+ You can also start with an exclamation mark to inverse the used condition: ` <!ConditionName> `
73
72
74
- <! ConditionName >
73
+ Combining multiple comparisons is possible with the keywords ` and ` , ` or ` , and ` not ` ( ` not ` will be translated to ` and not ` ).
75
74
76
- Combine multiple comparison is possible with the keywords and, or and not ("not" will be tranlated to "and not")
77
- Couple of examples:
75
+ Examples:
78
76
79
- - <Number==5>and<String==Test>
80
- - <Number==5>not<ConditionName > this can also be written like this <Number==5>and<! ConditionName>
81
- - <String==Test>or<Discreet==Disconnected>
77
+ - ` <Number==5>and<String==Test> `
78
+
79
+ - ` <Number==5>not<ConditionName> `
80
+
81
+ This can also be written like this: ` <Number==5>and<!ConditionName> `
82
+
83
+ - ` <String==Test>or<Discreet==Disconnected> `
82
84
83
85
Any of the monitors can be used in a condition.
86
+
84
87
Conditions can be reused inside other conditions.
85
- To make use of the static variables you have to prefex your name with @
86
88
87
- - < Number==@StaticNumber >
89
+ To make use of the static variables, prefix the name with ` @ ` : ` <Number==@StaticNumber> `
0 commit comments