Difference between revisions of "Special characters"

From Unofficial QEdit Wiki Guide
Jump to: navigation, search
(Added tags)
Line 6: Line 6:
 
* <name hero> - Same as <hero name>
 
* <name hero> - Same as <hero name>
 
* <name job> - Same as <hero job>
 
* <name job> - Same as <hero job>
* &lt;time&gt; - Hardcoded to always print "1:12"
+
* <time> - Hardcoded to always print "1:12"
 
* <award item> - Prints the name of the challenge mode reward that the player has chosen
 
* <award item> - Prints the name of the challenge mode reward that the player has chosen
 
* <challenge title> - Prints the player's challenge mode title
 
* <challenge title> - Prints the player's challenge mode title
Line 15: Line 15:
 
* <team_name> - Prints the name of the party
 
* <team_name> - Prints the name of the party
 
* <meseta_slot_prize> - Unknown
 
* <meseta_slot_prize> - Unknown
* <color %d> - Changes the color of the text
+
* <color #> - Changes the color of the text
* <r%d> - Prints a register's value as an integer
+
** 0 - black
* <f%d> - Prints a register's value as a float
+
** 1 - blue
 +
** 2 - green
 +
** 3 - cyan
 +
** 4 - red
 +
** 5 - magenta
 +
** 6 - yellow
 +
** 7 - white
 +
* <r#> - Prints a register's value as an integer
 +
* <f#> - Prints a register's value as a float

Revision as of 01:52, 9 April 2021

Special characters that can be used in strings

  • <cr> - Newline
  • <hero name> - Puts the character's name in place of this bracket
  • <hero job> - Prints the player's class
  • <name hero> - Same as <hero name>
  • <name job> - Same as <hero job>
  • <award item> - Prints the name of the challenge mode reward that the player has chosen
  • <challenge title> - Prints the player's challenge mode title
  • <pl_name> - Used with opcode get_pl_name to print a player's name
  • <pl_job> - Used with opcode get_pl_job to print a player's class
  • <last_word> - Unknown
  • <last_chat> - Prints the last chat message
  • <team_name> - Prints the name of the party
  • <meseta_slot_prize> - Unknown
  • <color #> - Changes the color of the text
    • 0 - black
    • 1 - blue
    • 2 - green
    • 3 - cyan
    • 4 - red
    • 5 - magenta
    • 6 - yellow
    • 7 - white
  • <r#> - Prints a register's value as an integer
  • <f#> - Prints a register's value as a float