2017-07-06

How To Use Link-Reveal

Just copy and paste the code into the passage, then adjust it to your liking.

For example:

(link-reveal: "Lion")[hearted]

How To Use Display

 Just copy and paste the code into the passage, then adjust it to your liking.

For example:


(display: "Karasuno")

In order for it to work, you need to create a passage with the same name that you are trying to display.

How To Use The Alert

Just copy and paste the code into the passage, then adjust it to your liking.

For example:

(alert: "Welcome to Karasuno High School.")
 

How To Use Confirm

Just copy and paste the code into the passage, then adjust it to your liking.

For example:

(set: $toJoin to (confirm: "Would you like to join the boys' volleyball team?"))

How To Make Your Image A Link

Just copy and paste the code into the passage, then adjust it to your liking.

For example:

[[<img src="Kiyoko.png">->Next Passage]]

How To Use Live

Just copy and paste the code into the passage, then adjust it to your liking.

For example:

{(live: 0.5s)[
(either: "Hinata!", "Kageyama!", "Tsukishima!", "Yamaguchi!")
]}

How To Use Link-Reveal As If It is A Script

Just copy and paste the code into the passage, then adjust it to your liking.

For example:

(link-reveal: "You: <q>Hello.</q>")[
(link-reveal: "Hinata: <q>Hey!</q>")[
(link-reveal: "You: <q>How are you?</q>")[
(link-reveal: "Hinata: <q>Great!</q>")[
(link-reveal: "You: <q>How is the team?</q>")[
(link-reveal: "Hinata: <q>They're great too!</q>")[
You: <q>I would like to see them again.</q>
]
]
]
]
]
]

How To Make Your Text Look Like A Chat Like Conversation

Just copy and paste the code into the passage, then adjust it to your liking.

For example:

|output>[]
{(set: $count to 0)
(Live: 1s)[(set: $count to it + 1)
(if: $count >= 1)[(replace: ?output)[You: "Hi."]]
(if: $count >= 2)[(append: ?output)[<br>Kageyama: "Hey."]]
(if: $count >= 3)[(append: ?output)[<br>You: "What's up?"]]
(if: $count >= 4)[(append: ?output)[<br>Kageyama: "Not much."]]
(if: $count >= 5)[(append: ?output)[<br>[[Continue]]]]
(if: $count >= 6)[(stop:)]]} 

How To Use Either

Just copy and paste the code into the passage, then adjust it to your liking.

For example:


You're (either: "Hinata Shouyou", "Kageyama Tobio", "Tsukishima Kei", "Yamaguchi Tadashi!")!

How To Use A Name Prompt

Just copy and paste the code into the passage, then adjust it to your liking.

For example:

(set: $name to (prompt: "What is your name?", "Haruichi"))

How To Use A Name Box

Just copy and paste the code into the passage, then adjust it to your liking.

For example:

What is your name?
<<textbox "$name" "Furudate">>

How To Make Names Be Given Randomly

Just copy and paste the code into the passage, then adjust it to your liking.

For example:
 
<<set $name to either("Haruichi", "Retsu", "Kiyoko")>> 

How To Use A Name Prompt

Just copy and paste the code into the passage, then adjust it to your liking.

For example:

<<set $name to prompt("What's your name?","Haruichi")>>