Print: Difference between revisions

From Kolmafia
Jump to navigation Jump to search
imported>Bumcheekcity
New page: A simple function. <code> print("My base muscle: " + my_basestat($stat[muscle])); print("My base moxie: " + [[my_basestat()|my_basestat]...
 
imported>StDoodle
mNo edit summary
Line 10: Line 10:
   [[print()|print]]("My current muscle substats: " + [[my_basestat()|my_basestat]]($[[stat]][submuscle]));
   [[print()|print]]("My current muscle substats: " + [[my_basestat()|my_basestat]]($[[stat]][submuscle]));
</code>
</code>
{{Format}}

Revision as of 21:30, 8 March 2010

A simple function.

 print("My base muscle: " + my_basestat($stat[muscle]));
 print("My base moxie: " + my_basestat($stat[moxie]));
 print("My base mysticality: " + my_basestat($stat[mysticality]));
 // To grab your base main stat, you can:
 print("My base main stat: " + my_basestat(my_primestat()));
 // To grab substats, you can:
 print("My current muscle substats: " + my_basestat($stat[submuscle]));

Formatting Needed