Does lua evaluate 0/1 as true/false like other C languages? A bit unrelated, but you should just be able to use isActive without the equals evaluation.
Lua evaluates false and nil as false and anything else (including 0) as true.
Yeah. isActive() actually returns a count of active aliases/triggers/timers by that name, not a boolean value. It would return 2 if you had two timers by that name.
Comments
→My Mudlet Scripts