String modifier

From Kolmafia
Revision as of 05:25, 22 May 2010 by imported>Bale
Jump to navigation Jump to search

Function Syntax

string string_modifier(string check_me )

string string_modifier(string check_me ,string modifier_name )

Returns a string modifier.

Code Sample

Checks current equipped outfit.

if(string_modifier("outfit") == "knob goblin elite guard uniform")
   print("You are equipped to purchase seltzer.");
else print("The Knob scientists won't let you into their store dressed like that.");

More Information

See this thread for details.