faxbot()

From KoLMafia
Jump to: navigation, search

Function Syntax

boolean faxbot(monster m )

  • m is the monster to request a fax of.

Requests the specified monster from FaxBot, returning true if the fax is successful and false if it fails. As of revision 14139, it also checks FaustBot and Easyfax and uses the first one that's online and has the monster.

Code Samples

This will acquire a copy of a scary pirate if you're able to get a fax.

if ((get_property("_photocopyUsed")=="false")&&(item_amount($item[photocopied monster])==0)) {
 faxbot($monster[scary pirate]);
}

See Also

Special

The chat must be open for this function to successfully work, just as for other mafia fax interfaces.