Skip to content

Instantly share code, notes, and snippets.

@panpawn
Last active April 8, 2017 19:32
Show Gist options
  • Save panpawn/04aeec3cf7eda8e06adcb7951afce6e9 to your computer and use it in GitHub Desktop.
Save panpawn/04aeec3cf7eda8e06adcb7951afce6e9 to your computer and use it in GitHub Desktop.
Dynamic Roomintro Guide

Dynamic Roomintro Guide

(by panpawn)

What is a dynamic roomintro? What are the benefits of using one?

A dynamic roomintro allows ROs to set a home roomintro (the one that is displayed upon joining the room), and then also other screens that they can allow the user to navigate to by creating buttons. A dynamic roomintro is basically a way that provides users of the room with a way of interacting with a room's roomintro. It's an interactive roomintro.

Commands

/dynamicroomintro sethome [home roomintro HTML] - Sets the homescreen of the dynamic roomintro. RO+

/dynamicroomintro delete - Deletes a room's dynamic roomintro and all elements of the dynamic roomintro; use with caution. RO+

/dynamicroomintro [add OR update] [topic title], [topic HTML] - Adds a topic for another screen of the roomintro.★ RO+

/dynamicroomintro showtopics - Shows you a list of current roomintro topics, and will give you example button code for each of them. RO+

/dynamicroomintro deletetopic [topic name] - Deletes a specific topic from the dynamic roomintro elements. RO+

★ = There has to be buttons for this to work. For instance, in your dynamic roomintro, say you have a "topic" called "rules". On your homescreen roomintro, you would have a button like this:

<button name="send" value="/dynamicroomintro send rules">Room Rules</button>

This will make it so that if the user clicks the button, they will be shown a list of room rules. It is important to note that the topic is case sensitive. There will also be a back button as well, for them to get to the homescreen roomintro. Here's a GIF help you picture what I mean: [gif goes here]

TO BE CONTINUED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment