G General

[WaS] Corrade: Scheduled Group Notices Version 1.0

[WaS] Corrade: Scheduled Group Notices
Details
Features
Contents
Reviews

⤷ Good day! ⤶

This test harness is a group notice scheduler for the Corrade scripted agent. The object contains two scripts: one script is Corrade's implementation of cron and the other is responsible for making Corrade send notices to groups. Compared to other test harnesses for Corrade, this scheduler does not have a configuration notecard and you will have to edit the script "[WaS] Corrade: Scheduled Group Notices" and change the information at the top to reflect your Corrade settings file.

Once the settings are made, the scripts wait for notecards to be dropped inside the prim and, after being read, a notice will be scheduled at the designated time. The object is delivered already with two example notecards, which, will be in the past so you can edit them to a more current time in order to test.

The format of the notecards follows the crontab syntax loosely:

# * * * * * subject|message|attachment path
# | | | | |
# | | | | +-- day of week (0-7) (Sunday=0 or 7)
# | | | +----- month (1-12)
# | | +-------- day of month (1-31)
# | +----------- hour (0-23)
# +-------------- minute (0-59)

and every line is thus created as:

18 11 8 4 3 Test|Working!|/My Inventory/Notecards/Testcard

where the numbers are in the format specified above and describe a time and date (in SLT), followed by three strings, which are in sequence:

1.) Test -> the subject of the notice to send
2.) Working -> the message for the notice to be sent
3.) /My Inventory/Notecards/Testcard -> the inventory path to an item in Corrade's inventory (in this case a notecard called "Testcard" in the inventory "Notecards" folder)

The scripts support multiple notecards which can then also be deleted using a dialog menu.

Note that if the message is too long, then the cron lines will fail to load and you may not see any notice at all or wonder why attachments cannot be sent. Unfortunately, this is a limitation of this template and is due to the number of bytes you can have on a single line in a notecard that are also readable by scripts: "Maximum notecard line: None, but scripts can only read the first 255 bytes." - http://wiki.secondlife.com/wiki/Limits

For more information on crontab, you can see the [WaS] cron project at http://grimore.org/secondlife/cron

The scripts are created by Wizardry and Steamworks as a demonstration for triggering scheduled group notices in LSL by using Corrade. You are free to use this script with Corrade on any grid provided you abide by the GNU/GPLv3 license (https://www.gnu.org/copyleft/gpl.html).

For more information on the Corrade bot and how to get it to run, please see the documentation at:

http://grimore.org/secondlife/scripted_agents/corrade

which also includes Corrade's API.

For further help feel free to join our Discord: https://discord.gg/k9kyDsa

  • Scheduled group notices.
  • Supports a crontab-like UNIX format
  • Is able to send notices with attachments.
  • Uses SLT.
  • Full permission for your own customisations.
Average rating: full star full star full star full star full star
  • 5 star:
  • 4 star:
  • 3 star:
  • 2 star:
  • 1 star:
works!
full star full star full star full star full star Posted April 28, 2023 by Emeline Thibedeau

...

Was this review helpful?
Excellent.
full star full star full star full star full star Posted July 24, 2017 by KriticalKitten

Does exactly what it says it will. Thanks!

Was this review helpful?
Great Script!
full star full star full star full star full star Posted April 19, 2016 by Stevoid

Exactly what I wanted. Works perfectly! Free too!

Was this review helpful?
Great
full star full star full star full star full star Posted May 18, 2015 by Tatiana Lapis

Used in my game system with a few tweaks its ready to go.

Was this review helpful?