There's a fungus amungus

General

My fungus bot allows access to some pre-defined styles which in turn I implement here using a sanitized, triaged version of aa_macro processing.

The bot responds when you type $stuff which contains macro syntax on an IRC line in any channel it is active.

Where stuff is normal text, it will not be processed. Where $stuff includes {thing} then said thing will be interpreted as a style, and if there is such a style, it will be processed. The squiggly brackets define the macro content. They must be balanced, and the style must exist.

You can get a list of the available style items with: ${list} or ${help}

You can get the syntax for specific style items with ${h ITEM}

For instance:

${h help}

 

Advanced Usage

Throwing macro messages to other channels

You can send a processed macro to any channel where (a) you are joined, and (b) where the bot is also active (IOW, joined.)

You do this by messaging the bot, and appending throwmsg#channelName to your macro content.

For example, either of these will drop a pizza emoji in the soylent channel:

${pizza} throwmsg#soylent
/msg fungus ${pizza} throwmsg#soylent

The first form will respond to what you typed in the channel, so anyone else in the channel will see the macro command. The second form sends it as a message to the bot, and so only the result in the target channel is visible.

Automatically throwing to a channel

You can tell the bot that you are "in" a channel by using {here}

Once you do that, the bot will direct its output to that channel, as long as you remain logged into it and as long as the bot is active, as long as you are also in a channel where the bot is active. if you /msg the bot, you won't need throwmsg#channel as it will automatically send your messages to the channel you were in when you last used {here}

This feature makes the most sense when you are consistently using /msg fungus to send to a channel. Otherwise, you'll probably want to turn it off with {gone} or {hereoff}

Doing away with the need for $ to invoke the bot

The macro command auto tells the bot that it should always look at your messages and process them for macro content if present, without requiring the $ character.

So if you use this form after using {here} ...

/msg fungus ${pizza}

...then the processed result of your macros will appear in the channel without the invocation appearing in the channel

This works when you are in any channel where the bot is active; it will recognize you by your IRC nick.

You can turn this feature off again with {autooff} or {noauto}; you'd want to do that if you ever want to write anything normal that contains the squiggly brackets, { and }.

ID per line, or ID above the line

When sending to another channel, because the processed output actually comes from the bot, the typical IRC client will show fungus to the left of all your processed messages. But in fact, these messages were forwarded from you. So by default, the bot adds your nick just before each line it outputs to make it clear that it is you sending all this macro-y goodness.

There is another option, however. If you use {topid} then your nick will appear above the line or lines that the bot outputs for you as a result of macro processing.

You can turn this feature off with {notopid} or {topidoff}

Getting status of these settings

Use {status} to see what your settings are currently. Until you have set one or more of them, no status is available.