- 5
- Posts
- 15
- Years
- Seen May 15, 2011
ok im having trouble making a yes/no script. here it is:
When i go to compile it says this:
Line 7 is the line with the LASTRESULT. Can some one please help?
Spoiler:
#dynamic 0x800000
#org @start
lock
faceplayer
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 goto @2
msgbox @3 0x6
release
end
#org @1
= Would you like to go through this\ngate?
#org @2
= Well too bad! You can't!
#org @3
= Well good thing, because you\ncan't!
#org @start
lock
faceplayer
msgbox @1 0x5
compare LASTRESULT 0x1
if 0x1 goto @2
msgbox @3 0x6
release
end
#org @1
= Would you like to go through this\ngate?
#org @2
= Well too bad! You can't!
#org @3
= Well good thing, because you\ncan't!
When i go to compile it says this:
Spoiler:
"Error 13 "Type mismatch" on line 7"
Line 7 is the line with the LASTRESULT. Can some one please help?