Returns opt(0)&7.

Description:

u8 opt0();

Return values:

Returns opt(0)&7. Type of return value u8.

Example:

<item addr="524:248" LAMP="509:16" name="Test for opt0() function" type="script">
V-ID/LAMP
{
	u8 status = opt0();

	if(status == 0) 
		setStatus(2014:32, {1, "disactivated"});

	if(status == 1) 
		setStatus(2014:32, {1, "activated"});}
</item>

The result of performing the example in the interface:

The message with LAMP status is displayed in the interface.