Faxbot

From Kolmafia
Revision as of 07:37, 11 November 2014 by imported>Bale (add navigation)
Jump to navigation Jump to 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

can_faxbot() | is_online()

Special

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