how to show text only if you visit other page (variable)?

swift0627
24 May 2020, 06:42

here's the code that I type:
if (GetInt(game, "control") = 1) {
TextFX_Typewriter (yeet, 100)
}
But when I try to l play it, it show: Error running script: Error compiling expression 'yeet': Unknown object or variable 'yeet'
the "yeet " thing is what I type :b


jmnevil54
25 May 2020, 17:27

I think we need to see the game's code. That code looks fine to me.


DarkLizerd
25 May 2020, 17:38

Add this before you print...
yeet="This is what I'm typing."