if_command

Script Reference IF Commands

if_command (gamecommand) //Advanced { }

Used for : Objects, Characters, Items.

Parameters :

- gamecommand - Name of a gamecommand like "look" or "use".

Description :

Checks what Gamecommand is selected. If you want to check if no gamecommand is selected (walk to) use if_command ().

Can be used in an on (click) Event to use different destinations in a walkto command depending on the current gamecommand.