Inspired from IRC Eggdrop bots, this template is a group manager using Corrade that listens for commands in the group chat and carries out the actions.
The template requires the following permissions:
and the following notifications:
enabled using the bundled Configurator program for Corrade. Optionally, SIML must be enabled to allow conversing with the bot.
The template includes so far:
Rez the marketplace item wherever you want and right-click and edit the box. Go to the "Contents" tab on the pop-up edit pane. Inside you will find a "configuration" notecard. Double-click the notecard and configure the settings to your liking. Note that the options:
have to be set in order for the template to work with your Corrade and should correspond with the settings you have made using the Configurator and present in the Corrade.ini file. All the other options should be safe as they are.
The template performs a Corrade version check and will report on local chat whether your Corrade version is compatible with the template. Once the version check has completed, the modules will pull the configuration and will state that they are listening to group chat.
To get a list of commands, issue in your configured group: @help
.
Since this is a developer's item, all the debug messages are turned on such that the HUD will be very chatty on local chat. In order to make the template silent, you will have to edit the scripts and remove the debug information. In order to do that, for all scripts, open the script and then find lines similar to the following:
// DEBUG llOwnerSay ... etc ...
and comment out the llOwnerSay
line for every script.
########################## START CONFIGURATION ############################ # The "corrade", "group" and "password" settings must correspond to your # Corrade settings otherwise the script will not work at all. # Set this to the UUID of the Corrade bot. # Ecto Resident corrade = "ced1d317-a32c-443d-a47f-cab329e77948" # The name of the group - it can also be the UUID of the group. group = "My Group" # The password for the group. password = "mypassword" # A short nickname for the bot - something you would call it for short. nickname = "ecto" # The notification tag - any string you can come up with except the empty string. notification tag = "119cb10d-3416-4d44-8f42-27c223bba0f3" # The version that this template is compatible with (no need to change). version = 11.0 # The character to use for commands. command = @ # The range for the dice rolling command (inclusive). roll range = 3,64 # The roles that are eligible for administrative group functions such as "eject". admin roles = Owners,Officers,Moderators # Wiki database table. wiki table = "corrade-eggdrop-wiki" # The number of records to be retrieved from a namespace. # This limit works around LSL HTTP limitations not being able to receive more than 2KiB. wiki results limit = 15 # How many paths in total should be returned when looking up data. wiki search limit = 5 # MOTD database table. motd table = "corrade-eggdrop-motd" # Database table for jokes. joke table = "corrade-eggdrop-joke" # Activity database table. activity table = "corrade-eggdrop-activity" # Reminders table reminders table = "corrade-eggdrop-reminders" # If the group has a subscription fee, should it be paid back after the new member joined? pay back = true # The name of the help notecard in this primitive's inventory. help card = "Help" # The name of the home region. home region = "Puguet Sound" # This template also processes Discord messages, please see: # http://grimore.org/secondlife/scripted_agents/corrade/projects/external_services/synchronize_group_chat_and_discord # on how to set up the Corrade Group to Discord synchronization. # The following is a list of Discord user IDs that will be allowed to execute administrative commands. discord admin = "was#5255" ## Jenkins CI integration # Jenkins HTTP user and password jenkins user = jenkins jenkins password = mainpassword jenkins host = jenkins.dev.net ########################### END CONFIGURATION #############################