[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
RabidHaMsTeR.Org • View topic - key script for lock toggeling
Page 1 of 1

key script for lock toggeling

PostPosted: Sun Apr 10, 2011 3:01 pm
by tonikov

Re: key script for lock toggeling

PostPosted: Tue Apr 12, 2011 10:55 am
by rabidhamster
Hi,

Sorry for the late reply. The issue is that R4 'executes' all code it finds unless it is in square brackets. For an 'if' statement you don't want to execute both the 'true' and the 'false' bits, you want to pass them, unexecuted, into the 'if' so that it may choose what to execute - so you must use square brackets.

Hope that helps...