Help can't compile basic cleo file

HeHe9x

New member
Joined
Jun 14, 2025
Messages
3
Reaction score
0
https://ugbase.eu/threads/how-to-make-a-simple-cleo-script.2110/
Hi,
I just started learning to code Cleo
Why can't I compile this basic code
1749867554951.png

CSS:
{$VERSION 3.1.0027}
{$CLEO .cs}

thread 'TESTCLEO'

:TESTCLEO_01
wait 0
if
0AB0:   key_pressed 123
else_jump @TESTCLEO_02
0332: set_actor $PLAYER_ACTOR bleeding 1
jump @TESTCLEO_01

:TESTCLEO_02
wait 0
if
0AB0:   key_pressed 122
else_jump @TESTCLEO_01
0332: set_actor $PLAYER_ACTOR bleeding 0
jump @TESTCLEO_01
 

Kross

Active member
Joined
Dec 15, 2021
Messages
164
Reaction score
44
{$VERSION 3.1.0027} = Sanny builder 3.1.0. Are you using Sanny builder 4 but using the old version term? Delete this {$VERSION 3.1.0027}. And look for the thread opcode and put it at the beginning to be identified
 
Top