can you use "and" or "or" inside a "if" statement like you can use in php?
Yes, but be very careful with your order of operations.
if(%a && %b || %c)I'm pretty sure this equates to
if( ( %a && %b) || %c)so if you wanted it to be
if(%a && (%b || %c) )You'd have to state that explicitly. I always find it better to be safe, rather than sorry, with complex ifs, so I use a liberal amount of parenthesis.
(Unless you're talking about the actual "AND" and "OR" operators, in which case, no lol).
ALSO: when using notepad++ which language is closest to torque?
C# (hence
.cs file extensions).