TheGodFather scans all messages sent by users and replies with a phrase when a keyword match is found. Settings: AdminCP » Machines » TheGodFather. A keywords/phrases pair is called a subset. You can have multiple subsets each containing an unlimited number of keywords and phrases. Subsets are applied alphabetically and the first match takes precedence - rename them to change the order.
Optionally, setup a new user to appear in the online list in chat: TheGodFather (choose any name). A new user can be created from AdminCP » Users. This user has a status guest so if you plan to delete guests with CRONJOBS or manually, it is a good idea to set a password/email. Also, you can set avatar/motto - there is a preloaded avatar in the folder /img:
img/thegodfather.svg. Remember userID and groupID of your new user:
- AdminCP » Users » TheGodFather: put the user online as a fake user. On the profile page look at the URL bar of your browser
admin.php?q=user&id=256- in this case 256 is userID
- AdminCP » Machines » TheGodFather: set proper userID, group and username.
Unlike Time Machine the phrases of TheGodFather cannot be formatted with HTML/CSS. They inherit the default message style from AdminCP » Style » Message Style. Emoticons, links and BB codes are supported inline:
[br]. Stickers are supported as whole phrases (not inline):
Import demo subsets
AdminCP » Machines » TheGodFather » New subset » Import
Stopwords can be set in AdminCP » Machines. Stopwords are not sent to chat, and if a stopword is also used as a keyword for TheGodFather and GIF Machine, the actual message that triggers the corresponding machine is never visible.