following the guide, you should have this:
Game -> Script (Tab) -> Start Script -> Add A Script ->
Variables -> Set A Variable or Attribute -> Set Variable game.code = [EXPRESSION] ToString (GetRandomInt (1000,9999))
------------------------
otherwise:
you must be making some kind of mistake, it's probably a minor~small mistake, as it should be working from~by using our examples. Did you switch the Print A Message to [EXPRESSION] from [MESSAGE] where you are suppose to, for example (this is a common thing to forget and~or miss doing) ???
it's time for a slight intro into the coding, hehe:
in the GUI, at the top, there should be a button that looks like a notepaper, between the play and ? (help) buttons.
this notepaper button is a toggle to go back and forth from the GUI mode and Code View mode.
so press this notepaper button, so you are now in Code View mod.
highlight all of it, copy it, and then paste it here, inside of this:
[code.](paste your game file code here)[/code.]
-- but without the dots in the two [codes]
it'll look like this:
(your pasted game file code)
this enables us to examine your game code, to see what you got wrong.
we can then provide your with the corrected game code, via the same way:
(our corrected code for you)
which you can highlight (by pressing the: select all), copy, and then paste into your game file's code (delete your entire old game file code first) or you can paste it into a new game too.
----------
another way to view the game code is to simply open up your game file, with note, note++, or word pad.