With the latest version of CE you can now run in-line Lua code via {$LUACODE}.
Thanks @LeFiXER for the reply. I wanted to write all script in Lua because the games sometimes crash using push pop in ASM becasue of invalid pointers, so I need to give it a try in Lua to see if game will still crash or not.
can you please help me writing it in Lua according to these information :
"game.exe"+18610E //Base address
EC // first offset
11C // second offset
then compare 11C to 0
jne originalcode // jump if not equal to originalcode
mov eax,[esi+28] // if equal then make this injection
I saw in another posts that they are writing pointer and offset scripts something like
[[[game.exe+offset0]+offset1]+offset2]
but I didnt find for compare in Lua.