How does one combine two stats so an event can occur

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

For example:

(if: $STR >= 75 & $DEX >= 60)[\
I did it!]
(else-if: $STR >= 20 & $DEX >= 20)[\
Good job!]

How To Set Variable True And If It Works

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

For example:

(set: $value to true)

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

For example:

(if: $value is true)[Insert text here.]

How To Set A Variable True With A Click

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

For example:

(link: "first link")[(set: $x to true)(goto: "new passage")]
(link: "second link")[(set: $y to true)(goto: "new passage")]
(link: "third link")[(set: $z to true)(goto: "new passage")]

How To Use A Timer That Increases Time

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

For example:

(set: $sec to 0)
(live:1s)[
 Seconds: $sec
 (set: $sec to it + 1)
 (if: $sec > 3)[3 seconds passed]
 (if: $sec > 5)[(go-to:"next")]
]

How To Use A Timer That Decreases Time

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

For example:
 
(set: $counter to 10)\
You have |amount>[$counter] seconds left!\
\
(live: 1s)[\
(set: $counter to it - 1)\
(if: $counter is 0)[(go-to: "Next Passage")]\
(replace: ?amount)[$counter]\
]

Or 

(set: $time to 2)
(live: 1s)[(set: $time to it - 1)
(if: $time is 0)[(stop:)(go-to: "Next Passage")]

How To Use Random Passages

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

For example:

(link-goto: "Open red door", (either: "lion room", "empty room"))

How To Store Multiple Events In The Same Passage

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

For example:

(set: $HinataConfession to 0)

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

For example:

(set: $HinataConfession to it + 1)\
(if: $HinataConfession is 1)[\
So this is the first event.
 
[[Go back|Second]]]\
\
(else-if: $HinataConfession is 2)[\
So this is the second event.
 
[[Go back|Second]]]\
\
(else-if: $HinataConfession is 3)[\
So this is the third event.
 
[[Go back|Second]]]\
\
(else-if: $HinataConfession is 4)[\
So this is the fourth event.
 
[[Go back|Second]]]\
\
(else:)[So this is the last event.]

How To Make A Points System

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

For example:
 
(set: $kiyokoAffection to 0)

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

For example:

(set: $kiyokoAffection to $kiyokoAffection + 5)

or
 
(set: $kiyokoAffection to it + 5)

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

For example:
 
(if: $kiyokoAffection >= 75)[\
I love you!
](else-if: $kiyokoAffection >= 50)[\
I like you.
](else-if: $kiyokoAffection >= 25)[\
I don't like you
](else:)[\
I dislike you
]

How To Use Random Events

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

For example:

<<set $pies = [ "Blueberry", "Cherry", "Cream", "Pecan", "Pumpkin" ]>>\
\
<<set _randomFlavor = $pies.random()>>\
\
<<if _randomFlavor == "Blueberry">>\
<<print "You're hit in the face with a blueberry pie!">>\
<<elseif _randomFlavor == "Cherry">>\
<<print "A cherry pie flies over your head, what a waste you love cherry!">>\
<<elseif _randomFlavor == "Cream">>\
<<print "A simple cream pie hits the wall behind you, making a simple splatter.">>\
<<elseif _randomFlavor == "Pecan">>\
<<print "A pecan pie tin rolls along the floor, just stuffing and chunks of crust left in it.">>
<<else>>\
<<print "A pumpkin pie takes flight and ruptures mid-air, crumbling all over you!">>
<</if>>\

How To Set Up A Points System

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

For example:

<<set $kiyokoAffection to 0>>

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

For example: 

<<set $kiyokoAffection to $kiyokoAffection + 5>>

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

For example: 

<<if $affection gte 75>>
I love you!
<<elseif $affection gte 50>>
I like you.
<<elseif $affection gte 25>>
I don't like you
<<else>>
I dislike you
<</if>>

How To Change Backgrounds In Passages

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

For example:

tw-story[tags~="yachi"] {
background: #ffffff; url("yachi.jpg");
}

How To Use Fake Cycling Links

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

For example:

(set:$cl to (a:
"where were you?",
"what happened?",
"why weren't you here?"))
(link-repeat:"|this>[what should you say?]")[(replace:?this)[(print: $cl's 1st)](set:$cl to(rotated:1, ...$cl))]
 

How To Use Random Events

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

For example:

(set: $event to (random: 1, 6))
(if: $event is 1)[The text for event 1]
(elseif: $event is 2)[The text for event 2]
(elseif: $event is 3)[The text for event 3]
(elseif: $event is 4)[The text for event 4]
(elseif: $event is 5)[The text for event 5]
(elseif: $event is 6)[The text for event 6]

How To Edit Enchantment-Mouseover

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

For example:

.enchantment-mouseout {
border: 0px solid #ffffff;
}
 
.enchantment-mouseout:hover {
background-color: #ffffff;
border: 0px solid #ffffff;
border-radius: 0px;
}

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")>>

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 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 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 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 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:)]]}