# Creating a fictional forum

**URL:** <https://forum.choiceofgames.com/t/creating-a-fictional-forum/57665>\
**Category:** ChoiceScript Help\
**Created:** [May 31, 2019, 2:16pm UTC](https://forum.choiceofgames.com/t/creating-a-fictional-forum/57665 "2019-05-31T14:16:57Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![trevers17](https://sea3.discourse-cdn.com/choiceofgames/user_avatar/forum.choiceofgames.com/trevers17/32/127415_2.png) [@trevers17](https://forum.choiceofgames.com/u/trevers17)\
**Post date:** [May 31, 2019, 2:58pm UTC](https://forum.choiceofgames.com/t/creating-a-fictional-forum/57665/4 "2019-05-31T14:58:13Z")

</div>

Well, there’s no way to check for words in a string currently. This is the only workaround.

> [@Check for one match in large string](https://forum.choiceofgames.com/t/check-for-one-match-in-large-string/297/11):
>
> No, it’s not a browser thing, 'cause I’m seeing the same thing you are, and I know for sure that it was displaying them when I first posted it. That is really strange. Really don’t know what to make of it though.

As for the randomized commentary from the other characters, that can be achieved using `*rand` to set a number to a variable. You then use that variable with `*if`, `*elseif`, and `*else` commands to write out their replies.

> **[Rand](https://choicescriptdev.fandom.com/wiki/Rand)**
>
>     The \*rand command is used to generate a random number within a stated range (e.g. 0-100) and assign that value to a numeric variable. Note that if you want to take the player to a completely random scene file, there's a command...

---

_[View the full topic](https://forum.choiceofgames.com/t/creating-a-fictional-forum/57665)._
