Difference between revisions of "+stats"

From Masq
(Created page with ''''+stat/list'''<br> '''+stat/list <type>''' These commands list all available stats; abilities, attributes (broken <br> into talents, skills and knowledges), disciplines for va…')
 
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
'''+stat/list <type>'''
 
'''+stat/list <type>'''
  
These commands list all available stats; abilities, attributes (broken <br>
+
These commands list all available [[stats]]: [[Stats#Attributes|attributes]], [[abilities]] (broken  
into talents, skills and knowledges), disciplines for vampires, gifts for <br>
+
into [[Abilities#Primary_Talents|talents]], [[Abilities#Primary_Skills|skills]] and [[Abilities#Primary_Knowledges|knowledges]]), [[Stats#Backgrounds|backgrounds]], [[Stats#Disciplines|disciplines]] for vampires, [[Stats#Gifts|gifts]] for shifters, and [[Stats#Misc|miscellaneous]].  Other categories are useful only for coders, so you should ignore them; mortals don't need a 'Mortal' stat on their sheet, for example.  Stats marked with a * are generally not available to players. This does NOT mean "pester your ST for them because you're a special case", either. ;)
shifters, and misc.  Other categories are useful only for coders so you <br>
+
should ignore them; mortals don't need a 'Mortal' stat on their sheet, for <br>
+
example.  Stats marked with a * are generally not available to players.   <br>
+
This does NOT mean pester your ST for them because you are a special case,<br>
+
either :-)
+
 
+
'''statmatch(<stat>)'''<br>
+
'''statn(<text>)'''<br>
+
'''[p]stat(<player>,<stat>)'''
+
 
+
'''statmatch()''' returns the attribute name where a stat may be located. <br>
+
'''statn()''' returns the name of a stat from a substring, picking the first <br>
+
available stat that matches the substring - multiple matches are not returned.<br> 
+
'''[p]stat()''' returns the value of a player's [permanent] stat.  For example,
+
 
+
<tt> > say statn(dri)<br>
+
You say "Drive"<br>
+
> say statmatch(Drive)<br>
+
You say "Skills"<br>
+
> say stat(#13,Drive)<br>
+
You say "4"<br>
+
> ex #13/SKILLS<br>
+
SKILLS: Drive=4:5 Melee=2:2 &lt;etc&gt;<br>
+
> say pstat(#13,Drive)<br>
+
You say "5"</tt>
+
  
 +
{{:+functions/stats}}
 
[[Category:Help]]
 
[[Category:Help]]
 
[[Category:+help]]
 
[[Category:+help]]

Latest revision as of 08:51, 21 January 2013

+stat/list
+stat/list <type>

These commands list all available stats: attributes, abilities (broken into talents, skills and knowledges), backgrounds, disciplines for vampires, gifts for shifters, and miscellaneous. Other categories are useful only for coders, so you should ignore them; mortals don't need a 'Mortal' stat on their sheet, for example. Stats marked with a * are generally not available to players. This does NOT mean "pester your ST for them because you're a special case", either. ;)

statmatch(<stat>)
statn(<text>)
[p]stat(<player>,<stat>)


statmatch() returns the attribute name where a stat may be located.


statn() returns the name of a stat from a substring, picking the first available stat that matches the substring - multiple matches are not returned.


[p]stat() returns the value of a player's [permanent] stat.


For example,

> say statn(dri)

You say "Drive"


> say statmatch(Drive)

You say "Skills"


> say stat(#13,Drive)

You say "4"


> ex #13/SKILLS

SKILLS: Drive=4:5 Melee=2:2 <etc>


> say pstat(#13,Drive)

You say "5"