giangtranguyen: (Default)
[personal profile] giangtranguyen
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");
}
giangtranguyen: (Default)
[personal profile] giangtranguyen
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))]
 
giangtranguyen: (Default)
[personal profile] giangtranguyen
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]
giangtranguyen: (Default)
[personal profile] giangtranguyen
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

Thursday, 6 July 2017 11:12 pm
giangtranguyen: (Default)
[personal profile] giangtranguyen
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")>>
giangtranguyen: (Default)
[personal profile] giangtranguyen
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

Thursday, 6 July 2017 06:52 pm
giangtranguyen: (Default)
[personal profile] giangtranguyen
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

Thursday, 6 July 2017 05:12 pm
giangtranguyen: (Default)
[personal profile] giangtranguyen
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

Thursday, 6 July 2017 05:08 pm
giangtranguyen: (Default)
[personal profile] giangtranguyen
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!")!
giangtranguyen: (Default)
[personal profile] giangtranguyen
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:)]]} 
Page generated Saturday, 9 August 2025 08:00 am
Powered by Dreamwidth Studios