I got "rng.table(greeting)" and "rng.percent(25)" directly printed out in the dialog. I guess the problem is that I haven't required rng, but I don't know how to do it.
This is my source code:
Code: Select all
newChat{ id="Greeting",
text = [[#light_green# rng.percent(25) .. "my friend."]],
answers = {
{[["Greetings. May I ask you something?"]], jump="Question"},
{[[Greetings.]]},
},
}