I would like to know if there is any difference in how brackets are used within a statement?
is there a difference between brackets and parentheses used in a statement?
The way I see it both, of these statements are correct
ON @:TEXT:*:#: {
if $1 == op { mode $chan +o $2- }
}
ON @:TEXT:*:#: {
if ($1 == op) mode $chan +o $2-
}
from what I gather this one the extra brackets are useless within the statement
ON @:TEXT:*:#: {
if ($1 == op) [color:red]{ [color:green] mode $chan +o $2- [color:red]}
}