This is an old revision of the document!
Syntax:
CH:setresist( resist [, value] )
First argument is a string. See 'res_flags' table for valid values.
Optional second argument is a boolean value determining whether the resist is being set (true) or removed (false). Default is considered true, so the resist is set if no 2nd argument is provided.