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…')
 
m
Line 10: Line 10:
 
either :-)
 
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]]

Revision as of 14:01, 4 January 2011

+stat/list
+stat/list <type>

These commands list all available stats; abilities, attributes (broken
into talents, skills and knowledges), disciplines for vampires, gifts for
shifters, and misc. 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 are 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"