Non-threaded
Forums
»
Advanced Editor Forum
»
Read Thread
Get help from the experts on variables, scripts, items, and other scary things.
Morgan_R
Reply
What's wrong with my page script?
one year ago
I'm getting the following error message: Did not recognize '$O'. Col=4
My script:
IF $O37 = 1 THEN
$PAGETEXT := $PAGETEXT + "Text."
$O37 definitely exists.
Edit: I thought it was the number in the variable name, but I tried it with a variable with letters only and got the same error. This is the simplest possible script, how am I fucking it up?
Zake
Reply
What's wrong with my page script?
one year ago
What's $O37?
Just a variable?
Since variables use %, not $. $ is used for scripting things, like pagetext, or dest, but variables you create use %.
That's my guess anyway.
Killa_Robot
Reply
What's wrong with my page script?
one year ago
$O37 cannot exist because $ is a prefix for system variables. If you made a variable yourself called O37 it would be %O37.
Morgan_R
Reply
What's wrong with my page script?
one year ago
Thanks folks! Don't know how I missed that when I was looking at examples.
Home
Storygames
Random
Search
Newly Created
Top Rated
Fantasy
Grimdark Fantasy
Sci-Fi
Modern
Horror
Love & Dating
Mystery / Thriller
Family Friendly
Historical
Puzzles / Games
Edutainment
Fan Fiction
Forums
Newbie Central
The Lounge
News & Updates
The Parlor Room
Creative Corner
Writing Workshop
Reading Corner
Adv. Editor Forum
Wishing Well
Bugs and Problems
My Stuff
Storygames
Pictures
Messages
Notifications
Duels
Saves
Comments
Points
Commendations
Notepad
Profile
View Profile
Help & Info
CYOA History
About Us
Privacy Policy
Terms Of Service
Logon
version 23.22 | ChooseYourStory © 2001 - 2024, Halogen Studios Entertainment |
contact us