About

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:

  • group
  • talk
  • database
  • directory
  • notifications
  • inventory
  • system
  • bridge

and the following notifications:

  • login
  • group
  • membership

enabled using the bundled Configurator program for Corrade. Optionally, SIML must be enabled to allow conversing with the bot.

Features

The template includes so far:

  • talking to the bot via its nickname (requires Corrade SIML to be enabled),
  • displaying the current Corrade version,
  • the ability to roll dice in a configured interval,
  • a spanker,
  • displaying random fortune cookies (similar to Unix fortune command),
  • displaying a random joke from a set of notecards in the same primitive (cca. 200 000 one-line jokes from https://github.com/taivop/joke-dataset),
  • the ability to evaluate a mathematical expression,
  • the ability to invite, ban and unban group members,
  • the ability to use the Corrade "softban" / "softunban" feature that keeps the group ban list clean (and extends beyond the 500 entry limit),
  • a fully featured group wiki with namespace / path support that allows you to persistently store and recall group notes.
  • detecting new members and displaying a greeting in group chat when a member joins the group (MOTD).
  • sending group notices from group chat with notice attachments.
  • using Stitch to upgrade or downgrade the Corrade version (requires Stitch to be installed as a service as per the documentation),

Marketplace Item

Setting Up

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:

  • "corrade"
  • "group"
  • "password"

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.

Usage

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.

Making the Template Shut Up

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.

Configuration Notecard

Unable to display file "http://svn.grimore.org/corrade-lsl-templates/source/eggdrop/configuration.txt": It may not exist, or permission may be denied.

Index


secondlife/scripted_agents/corrade/projects/in_world/eggdrop.txt ยท Last modified: 2022/11/24 07:45 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.