Script

From QuestWiki
Jump to: navigation, search

A script attribute contains one or more script commands.

Example:

<look type="script">
  if (not fridge.isopen) {
    msg ("The fridge is open, casting its light out into the gloomy kitchen.")
  }
  else {
    msg ("A big old refrigerator sits in the corner, humming quietly.")
  }
</look>
Personal tools
Namespaces
Variants
Actions
Navigation
Quest Documentation
Toolbox