elements()

btmux-0.6-rc4/game/text/help/cat_mux/cat_functions/elements() · 418 B

From the archive btonline-btechmux-0.6-rc4.tbz2

Download the archive   « Back to the archive contents

& elements()
 
  Syntax: elements(<list of words>,<list of numbers>[,<delim>])
 
  This function returns the words in <list of words> that are in the 
  positions specified by <list of numbers>. Optionally, a list 
  delimiter other than a space can be separated.
 
  Example:
 
  > say elements(Foo Ack Beep Moo Zot,2 4)
  You say "Ack Moo"
  > say elements(Foof|Ack|Beep|Moo,3 1,|)
  You say "Beep|Foof"

Site Stats

Snippets: 1791
Codebases: 571