2020

Where all the cool new stuff goes

1/15/2020

Uleat

Update to EVENT_COMMAND and EVENT_BOT_COMMAND

The handlers for EVENT_COMMAND and EVENT_BOT_COMMAND have been updated to allow a 'no change' behavior.

Script files using these event types will perform as before without the need to move the command scripting into them .. so long as there is no defined function for them.

Once a definition is given, the old method of using EVENT_SAY to handle them will no longer work and the new formatting must be applied.

If you have any questions, please direct them to our forums or the #support-quest-scripts channel in discord.

1/10/2020

Akkadius

Character Soft Deletes

Unless new system rule Character:SoftDeletes (default: true) is disabled, characters will now no longer hard delete from all respective character tables and will only be marked as deleted via the newly created deleted_at column that can be found in the character_data table. This can make it far easier to recover accidentally deleted characters

1/7/2020

Uleat

EVENT_COMMAND and EVENT_BOT_COMMAND

  • EVENT_COMMAND now processes its own code and is no longer shared with EVENT_SAY

  • EVENT_BOT_COMMAND was added..but, will have limited functionality until more of the Bot class is exposed in the scripting apis

  • Both event types have new or updated entries on the Events page

  • In the template scripts, just replace the example command data with your own

  • Perl: "command_name" => [<status_required>, "command_description"]

  • Lua: ["command_name"] = {<status_required>, "command_description"}

  • Anything in the command_data hash will be automatically parsed upon any #help call - to include partial matching criteria

  • The same is true for bot_command_data

  • These templates are not required for use..but, do provide a basic 'use' structure so that command coding is simplified and easier to implement

  • Older 'say' command code may still work as-is..though, it has not been tested