Skip to content

Instantly share code, notes, and snippets.

@Rusketh
Last active August 29, 2015 14:05
Show Gist options
  • Save Rusketh/e08cb72f94b0c1d71e97 to your computer and use it in GitHub Desktop.
Save Rusketh/e08cb72f94b0c1d71e97 to your computer and use it in GitHub Desktop.
for ( number i = 1; 10 *6; 1 ) {
print( i )
}
Compiles To:
return function( Context )
setfenv( 1, Context.Enviroment )
for i = 1, (10 * 6), 2 do
local Context = Context:Push( {[1] = 1, [2] = 7, ["Stack"] = {[1] = {[1] = 0, [2] = 0, }, }, }, {[1] = 1, } )
Context.Definitions[1] = Context.Memory[1]
Context.Trigger = Context.Delta[1] ~= Context.Definitions[1]
Context.Memory[1] = i
Context.Delta[1] = Context.Definitions[1]
if Context.player == LocalPlayer( ) then
Context.Definitions[2] = { {Context.Memory[1],"n"} }
for K, Obj in pairs( Context.Definitions[2] ) do
Context.Definitions[2][K] = EXPADV.ToString( Obj[2], Obj[1] )
end
chat.AddText( unpack( Context.Definitions[2] ) )
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment