GetLastCommand

comment

When an AI signal is sent via triggers, this returns the command value. So sending an AI signal of (5,3) returns 5.

note

See: CommandsWaiting GetLastData, PopLastCommand

patch

1.00

Source
common.ai (raise an issue to discuss on Github or submit a PR)
return type
integer
Source code
native GetLastCommand       takes nothing                               returns integer