You are looking at a command called light

light {object}

Allows you to light an object that brightens a dark location.

light the lantern

read the command called darken



cowScript notes:

This sends out the trigger word 'light' so you can get a lantern to react to being lit like this:

if target of light then lightme;
##lightme:
$mat = $actor's material;
swap $mat add _light_;
set $actor's material to $mat;

Code