Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Turns a register list into a wikitable format file
- #
- # By Hanryu
- # Please report any bugs to Hanryu#0052 (Discord) or sauva@play.net
- # This script may be reused in whole or in part as long as credit is given
- #
- #debug level 5
- put #class clear
- put #class all off
- action goto writeloop when "^(\d+)\s{1,2}(\w+).+ ([\w ']+)$"
- action var year $1 when "^It has been (\d+) years,"
- action var day $1 when "(\d+) days since the Victory of Lanival the Redeemer\.$"
- action var month $1 when "It is the \d+.. month of (['\w]+)"
- pause 0.5
- matchre setleader (Tomma|Ievia|Kalika|Paglar|Marion|Tolle)
- send look
- matchwait
- setleader:
- var leader $1
- send time
- waitfor It is currently
- math day modulus 40
- math day add 1
- var filename Ranger_Register-%leader-$date.txt
- goto %leader
- Kalika:
- put #log >%filename ==Crossing==
- put #log >%filename '''Last updated:''' %day %month %year ($date)<br />
- put #log >%filename <br>
- put #log >%filename Let it be known, the following Rangers are those that have shown skill in all aspects of the Ranger that I have deemed worthy:
- put #log >%filename :'''Criteria''': {{skill|Evasion}}, {{skill|Locksmithing}}, {{skill|Athletics}}, {{skill|First Aid}}, {{skill|Skinning}} and {{skill|Primary Magic}}.
- send tap register
- wait
- pause
- goto openfile
- Ievia:
- put #log >%filename ==Riverhaven==
- put #log >%filename '''Last updated:''' %day %month %year ($date)<br />
- put #log >%filename <br>
- put #log >%filename Let it be known, the following Rangers are those that have progressed this season to a point where they should be able to take care of themselves in the wild.
- put #log >%filename :'''Criteria''': Have to be under 20th [[circle]].
- goto openfile
- Tolle:
- put #log >%filename ==Langenfirth==
- put #log >%filename '''Last updated:''' %day %month %year ($date)<br />
- put #log >%filename <br>
- put #log >%filename Let it be known, the following Rangers are those that have shown skill in all aspects of the bow.
- put #log >%filename :'''Criteria''': {{skill|Bow}} and {{skill|Crossbows}}
- send tap register
- wait
- pause
- goto openfile
- Tomma:
- put #log >%filename ==Shard==
- put #log >%filename '''Last updated:''' %day %month %year ($date)<br />
- put #log >%filename <br>
- put #log >%filename Let it be known, the following Rangers are those that have shown skill in the finer points of flora and fauna.
- put #log >%filename :'''Criteria''': {{skill|Outdoorsmanship}}
- send tap register
- wait
- pause
- goto openfile
- Marion:
- put #log >%filename ==Aesry Surlaenis'a==
- put #log >%filename '''Last updated:''' %day %month %year ($date)<br />
- put #log >%filename <br>
- put #log >%filename Let it be known, the following Rangers are those that have shown skill in the more subtle ways of the Ranger.
- put #log >%filename :'''Criteria''': {{skill|Stealth}}, {{skill|Scouting}} and {{skill|Perception}}
- goto openfile
- Paglar:
- put #log >%filename ==Boar Clan==
- put #log >%filename '''Last updated:''' %day %month %year ($date)<br />
- put #log >%filename <br>
- put #log >%filename Let it be known, the following Rangers are those that have advanced well within the Guild.
- put #log >%filename :'''Criteria''': [[Circle]]
- send tap register
- wait
- pause
- goto openfile
- openfile:
- put #log >%filename {|class="wikitable sortable"
- put #log >%filename |-
- put #log >%filename !Rank!!Name!!Race
- put #log >%filename |-
- put read register
- waitfor positive attitude
- writeloop:
- put #log >%filename |$1||[[$2]]||$3
- put #log >%filename |-
- waitfor To REMOVE your name from this list, RUB the register
- end:
- done:
- send #log >%filename |}
- send #class -critterapp -mana -health -analyze -app -trail -gagbees -gagclimb -gagboxes -gagapp -gagorigami -gagjuggle -gagforage -gagscrape -gaghorse
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement