Shawn M Moore > TAEB-0.03 > TAEB::ScreenScraper

Download:
TAEB-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  1
View/Report Bugs
Source  

send_messages

Iterate over all_messages, invoking TAEB->enqueue_message for each one we know about.

farlook Int, Int -> (Str | Str, Str, Str, Str)

This will farlook (the ; command) at the given coordinates and return whatever's there.

In scalar context, it will return the plain description string given by NetHack. In list context, it will return the components: glyph, genus, species, and how the monster is visible (infravision, telepathy, etc).

WARNING: Since this method interacts with NetHack directly, you cannot use it in callbacks where there is menu interaction or (in general) any place except command mode.

syntax highlighting: