Replies: 1 comment
-
This may be a little different from what you want to achieve, but you can use the Tokenize and CountDuplicates plugins to display the number of occurrences of a word as follows:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Counting identical words.
How to make the number of identical words counted for each window. Preferably separately for operators (commands) and text messages.
For example, the following text. We need to count words in quotes, except for operators in square brackets[ ], separately from the main ones.
label sister_walk_in_label(the_person):
if the_person.effective_sluttiness() < 10:
"You try to open the door to [the_person.title]'s room, but find it locked."
$ the_person.change_arousal(30, add_to_log = False)
the_person "Ah! One... One second!"
"You hear scrambling on the other side of the door, then the lock clicks and [the_person.possessive_title] pokes her head out."
$ the_person.draw_person()
the_person "Oh... [the_person.mc_title], it's only you. Come on in, what's up?"
"Her face is flush and her breathing rapid. You wonder for a moment what you almost caught her doing as she leans nonchalantly against the door frame."
$ mc.change_locked_clarity(5)
$ clear_scene()
return
Beta Was this translation helpful? Give feedback.
All reactions