Creating a custom token is easier than one might think. A custom token is simply a number representation of a string, analogous to the Constants in nwscript. Here is a simple "follow along" tutorial for custom tokens. * Make a conversation on a NPC like the following, +Root 1 - NPC: "Hello" 2 - ..PC: "What is your favorite Color?" 3 - ....NPC: "My Favorite Color is " Now, when Line 3 is spoken, either Red, Blue, Green, or Yellow will be spoken in place of the . Some points to remember:
Graph IRI | Count |
---|---|
http://dbkwik.webdatacommons.org | 7 |