Difference between revisions of "Flags"

From Flexible Survival
Jump to: navigation, search
m (Added to Code category.)
Line 1: Line 1:
 +
==Help File==
 +
Flags are generally used for string parsing.
 +
 +
Example of flag usage in an if-block with string parsing:
 +
    [if tailed is present in [player]]You have a tail![else]You do not have a tail![end if]
 +
 +
These flags can be used in descriptions in conjunction with string parsing for your enjoyment.
 +
    [if tails is present in [player]]Genesis's tails sway back and forth[else]Genesis's tail rests idly, draping below their rump.[end if]
 +
 +
Flag commands:
 +
    Flag <name of person/infection> - Lists flags of a person/infection.
 +
    List flags - A list of the various flags.   
  
 
== Available Flags ==
 
== Available Flags ==
Line 23: Line 35:
 
Example: [if Serpentine is present in [player]]
 
Example: [if Serpentine is present in [player]]
  
[[Category:Code]]
+
[[Category:Code]][[Category:Help Files]]

Revision as of 19:42, 14 April 2013

Help File

Flags are generally used for string parsing.

Example of flag usage in an if-block with string parsing:

   [if tailed is present in [player]]You have a tail![else]You do not have a tail![end if]

These flags can be used in descriptions in conjunction with string parsing for your enjoyment.

   [if tails is present in [player]]Genesis's tails sway back and forth[else]Genesis's tail rests idly, draping below their rump.[end if]

Flag commands:

   Flag <name of person/infection> - Lists flags of a person/infection.
   List flags - A list of the various flags.    

Available Flags

  • Furry
  • Scaled
  • Feathered
  • Taur - Tauric body (i.e. - Centaur)
  • Serpentine - Snake body
  • Knotted - Penis has a coupling knot, usually canine
  • Barbed - Penis is barbed, usually feline
  • Winged - Creature has wings, usually on torso
  • Beaked
  • Clawed
  • Tailed
  • Avian - Bird-like
  • Insect
  • Animated - Undead?
  • Small

Parsing

[if flag is present in [person]]

Example: [if Serpentine is present in [player]]