Skip to content

Instantly share code, notes, and snippets.

@jbz
Created February 24, 2012 20:05
Show Gist options
  • Save jbz/1903401 to your computer and use it in GitHub Desktop.
Save jbz/1903401 to your computer and use it in GitHub Desktop.
Glow
To set the light level:
let arealight be 0cp;
let lights be the list of luminous things;
let litdevices be the list of luminous devices;
add litdevices to lights;
repeat with luminant running through lights:
say "LUMOS - [luminant]: [candlepower of luminant].";
now arealight is arealight plus candlepower of luminant;
say "[arealight].";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment