I6 ProvidesLight/if then syntax

I am trying to test a room for light and then do a series of “stuff”. However, the compiler threw an error when I compiled it.

Problem code If ( OffersLight(self) && self hasnt general); { print "You hear a muted thunk from the beach." ; give self general;}

Error messages

Remove the semicolon after your if statement.

Whole new slug of error messages

though on the bright side, I removed the OffersLight() and got the same error message.

Is I6’s if statement capitalized? C/C++'s isn’t.

That was the issue.