Pedbot is a chatbot designed for AOL Instant Messenger platform.
To install Pedbot, there are a few vital steps to follow. Firstly, setup the DB config options meticulously on lines 76-81 of pedbot.pl. Next, ensure that the config options in the pedbot.configuration table are appropriately arranged. Lastly, it is crucial to set screen name, password, and admins. Remember to format the admin list correctly (:user1:user2:user3: etc...) while surrounding the names with ':'.
If you wish to use the jive and valspeak filters, it is necessary to compile and install them. To set your desired filter, change the value for filter in the mySQL table pedbot.configuration to either jive or valspeak.
When it comes to using Pedbot, all commands begin with a . (dot). For a list of available commands, input list in the chat, and a prompt will appear. Similarly, if you require a description of each command, input help, and a detailed list will be made available to you. It is essential to note that there are separate command lists for admins and non-admins, ensuring that both parties have a customized experience.
To add commands to Pedbot, navigate to the command subdirectory, where you can add your command. Pedbot will automatically load all files in that directory into memory, and you won't have to alter any other files to add your own command. Ensure that all command sub{}'s are appropriately prefixed with pedbot_command; otherwise, your command won't be found.
All commands you add need to have a description entry in the COMMANDS hash. Add a short description ($COMMANDS) of what your command does, and you're good to go. The first argument to your command will always be the screenname of the command sender, with all other arguments following after that. When writing the command, it is vital to return a string. For commands such as write, that requires message-sending functionality, utilise the global variable $aim.
If you require database access, the $dbhandle global is available for use. Familiarize yourself with Pedbot's functions, handlers, and support functions, which are in the function subdirectory. For commands exclusive to administrators, simply include the string "(admin only)" in your command description ($COMMANDS) for clarity.
In conclusion, Pedbot is an intelligent AOL Instant Messenger robot with a varied toolset aimed at improving your chat experience. Pedbot is easy to install and navigate, and with its customizable command lists, it provides a well-rounded chatting experience for both admins and non-admins alike.
Version 0.1: N/A