Elanthipedia Renown Scrolls (script)

From Elanthipedia
Revision as of 19:32, 18 April 2013 by ISHARON (talk | contribs)
Jump to navigation Jump to search
Elanthipedia Renown Scrolls (script)
Category information
Front-end Genie
Author Isharon


This script creates Elanthipedia forms for renown scrolls. The results are logged to the RenownScroll-Guild.txt file in Genie's Logs folder.

This script is intended for experienced Elanthipedia contributors only. The forms that are created by this script require some manual editing. (See below for details.) Please check for errors before posting them to Elanthipedia.

Instructions

Syntax

.RENOWN [SCROLL NOUN] (YES): Type yes if you want the script to create a room description. Otherwise, just type the scroll noun. For example, if you would read the scroll by typing LOOK SCROLL, run the script by typing .RENOWN SCROLL.


A menu will prompt you to select the guild that is listed on the renown scroll:

  1. Barbarian
  2. Bard
  3. Cleric
  4. Empath
  5. Moon Mage
  6. Necromancer
  7. Paladin
  8. Ranger
  9. Thief
  10. Trader
  11. Warrior Mage


A second menu will prompt you to select the format of the renown scroll:

  1. Rank/Name/Race
  2. Rank/Name/Race/Circle
  3. Rank/Name/Circle/Race
  4. Rank/Name/Circle/Race/Guild
  5. Rank/Name/Race/Deity
  6. Rank/Name/Race/Deity/Circle

Sample Usage (Walkthrough)

Running the Script

You want to update the Empath renown scroll, so you go to that room. The scroll looks like this:

    ______________________________________________________________________
   /                                                                    /_\
   |                                o                                   |
   |                                                                    |
   |     Let it be known, the following have displayed excellence       |
   |     in empathic acumen.                                            |
   |                                                                    |
   | #   Name                            Race                           |
   | ------------------------------------------------------------------ |
   | 1   Quazzarz Starz'yarz             Dwarf                          |
   | 2   Frediwyn                        Dwarf                          |
   | 3   Sophrona Sicknomore             Elf                            |
   | 4   Asrea Mela                      Human                          |
   | 5   Kalyndara Kendryn               Prydaen                        |
   | 6   Hanafae Leadhorin               Elf                            |
   | 7   Kathlen Montreve                Elothean                       |
   | 8   Marmic McIves                   Elothean                       |
   | 9   Katjia Oirwen                   Elothean                       |
   | 10  Fernwren                        Dwarf                          |
   | 11  Rozze McIves                    Prydaen                        |
   | 12  Purehand Woundedlife            Human                          |
   | 13  Yasminna Kel'Dorack             Rakash                         |
   | 14  Nausikaa Edgestrider            Elf                            |
   | 15  Rollannd Ahwannaleia            Elothean                       |
   | 16  Sonjaa Honeydew                 Human                          |
   | 17  Sarkranis                       S'Kra Mur                      |
   | 18  Sophieann Love                  Human                          |
   | 19  Fizzickle Slowmend              Dwarf                          |
   | 20  Asperity                        Rakash                         |
   | 21  Meadbh Dragon'claws             Elothean                       |
   | 22  Karthor Ashanfel                Dwarf                          |
   | 23  Acerbity                        Rakash                         |
   | 24  Elezra                          Elothean                       |
   | 25  Kynani                          Prydaen                        |
   |                                                                    |
   |     To REMOVE your name from this list, RUB the scroll.            |
   |     To ADD your name, or update your name, TAP the scroll.         |
  _|__________________________________________________________________  |
 /                                                                  /_\ |
|                                                                  |    |
 \__________________________________________________________________\__/

Type .RENOWN SCROLL to run the script. Select 4 for Empath from the guild menu. Select 1 for Rank/Name/Race from the format menu.


Editing the Form

After the script runs, your log folder should contain a file called RenownScroll-Empath.txt. It should look like this:

The Crossing: room 325
'''Last updated:''' (4/18/2013)<br>
<br>
{|class="wikitable sortable"
|-
!Rank!!Name!!Race
|-|1||[[Quazzarz]]||Dwarf
|-|2||[[Frediwyn]]||Dwarf
|-|3||[[Sophrona]]||Elf
|-|4||[[Asrea]]||Human
|-|5||[[Kalyndara]]||Prydaen
|-|6||[[Hanafae]]||Elf
|-|7||[[Kathlen]]||Elothean
|-|8||[[Marmic]]||Elothean
|-|9||[[Katjia]]||Elothean
|-|10||[[Fernwren]]||Dwarf
|-|11||[[Rozze]]||Prydaen
|-|12||[[Purehand]]||Human
|-|13||[[Yasminna]]||Rakash
|-|14||[[Nausikaa]]||Elf
|-|15||[[Rollannd]]||Elothean
|-|16||[[Sonjaa]]||Human
|-|17||[[Sarkranis]]||S'Kra Mur
|-|18||[[Sophieann]]||Human
|-|19||[[Fizzickle]]||Dwarf
|-|20||[[Asperity]]||Rakash
|-|21||[[Meadbh]]||Elothean
|-|22||[[Karthor]]||Dwarf
|-|23||[[Acerbity]]||Rakash
|-|24||[[Elezra]]||Elothean
|-|25||[[Kynani]]||Prydaen
|}

If you are editing a preexisting scroll (on Elanthipedia), you will only need to edit the date and the table itself.

The map and room name information are not intended for Elanthipedia' it's just for your records, so don't copy those.

The |-| in the list needs to be broken up into table format. Use Word's find and replace feature to replace |-| with |-^l|

The resulting list should look like this:

{|class="wikitable sortable"
|-
!Rank!!Name!!Race
|-
|1||[[Quazzarz]]||Dwarf
|-
|2||[[Frediwyn]]||Dwarf
|-
|3||[[Sophrona]]||Elf
|-
|4||[[Asrea]]||Human
|-
|5||[[Kalyndara]]||Prydaen
|-
|6||[[Hanafae]]||Elf
|-
|7||[[Kathlen]]||Elothean
|-
|8||[[Marmic]]||Elothean
|-
|9||[[Katjia]]||Elothean
|-
|10||[[Fernwren]]||Dwarf
|-
|11||[[Rozze]]||Prydaen
|-
|12||[[Purehand]]||Human
|-
|13||[[Yasminna]]||Rakash
|-
|14||[[Nausikaa]]||Elf
|-
|15||[[Rollannd]]||Elothean
|-
|16||[[Sonjaa]]||Human
|-
|17||[[Sarkranis]]||S'Kra Mur
|-
|18||[[Sophieann]]||Human
|-
|19||[[Fizzickle]]||Dwarf
|-
|20||[[Asperity]]||Rakash
|-
|21||[[Meadbh]]||Elothean
|-
|22||[[Karthor]]||Dwarf
|-
|23||[[Acerbity]]||Rakash
|-
|24||[[Elezra]]||Elothean
|-
|25||[[Kynani]]||Prydaen
|}

Simply copy and paste this into the appropriate place in the Elanthipedia article.