Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Script:Markov

From Roll20 Wiki

Revision as of 02:45, 30 November 2016 by Ryan J. (Talk | contribs)

Jump to: navigation, search
API ScriptAuthor: RyanNerd
Version: 1.1
Last Modified: 2016-29-11
Code: Markov
Dependencies: None
Conflicts: None

This script lets you generate names using Markov chains [1]

Contents

Syntax

!markov
!markov latin

Installation and Configuration

Copy the script's code, available from the menu on the right and stored at Roll20's API GitHub Repository. Paste the code into a new script in your campaign's API Script Editor. Save the new script and it will be available inside your campaign.

Script Use

To use simply type !markov into the chat. A derived name will be generated and displayed in the chat.

Example output:

  • Maliauc
  • Janeran
  • Maraindice

Advanced Use

Markov uses over 2000 of "mostly" English names as the default nameset of English names to seed the Markov name generator. You can include your own namesets for the Markov name generator to use.

To do this create a handout in this format:

Example

Name: latin

Notes: Neque,porro,quisquam,est,qui,dolorem,ipsum,quia,dolor,sit,amet,consectetur,adipisci,velit

GM Notes: markov

To use this above example you would need to restart the API sandbox after saving the handout and then you can use the latin nameset with this command:

!markov latin

Example output:

  • consciam
  • ectet
  • ques

User Options (Not Implemented)

If you have many handouts and you just want to use the default nameset it is recommended that you clear the checkmark in the user options for this script.

Changelog

v1.1 (2016-29-11)

  • Handouts can be used for users to include their own namesets