in reply to Chat Script - Logging PMs
The elsif and its condition will only be checked when the main if's condition is false.
This is an exercise in boolean logic I think... if (P) then log(). if (!P and Q) then log().
Which can simplify to: if (Q or P) then log()
|
|---|