Here is a list of all commands you can use in scripts:

-= Global Commands =-

FlagNeeded [FLAG] .. END
NoFlag [FLAG] .. END
ELSE .. END
CheckPosition [X] [Y] .. END
CheckDirection DIRECTION .. END
TextWindow [MESSAGE]
SetFlag [FLAG]
RemoveFlag [FLAG]
SetPath [person] [path] [path] .. end
Warp [x] [y] [filename] [direction]
BackgroundTile [x] [y] [tilenum]
ForegroundTile [x] [y] [tilenum]
ChoiceWindow [question] [answer] [answer] .. end
$ChoiceX .. end
AddItem [name]
AddItems [name] [Amount]
CheckItem [name] .. end
AddPlayer [name]
AddNPC ...[set]... end
RemoveNPC [name]
PlayMidi [name.mid]
PlaceNPC [x] [y] [name]
$DestinationIs [x] [y] .. end
LoadSound [filename] [name]
PlaySound [name]
AddHp [amount]
RestoreHp
AddMp [amount]
RestoreMp
RevivePlayer
RecoverStatus [sname]
DisplayMessage [line]
MapType [type]
BattleStepsMax [num]
ClearShopItems
ShopName [name]
AddShopItem [name]
DoItemShop
DoEquipmentShop
AddGold [amount]
TakeGold [amount]
Delay [milliseconds]
FadeOut
FadeIn
RestoreParty
CheckGold [amount] .. end
QuitProgram
CanSave [true/false]


-= Player Control =-
StepBack
ScrollLeft
ScrollRight
ScrollDown
ScrollUp
MoveLeft
MoveRight
MoveUp
MoveDown
LookLeft
LookRight
LookUp
LookDown
DrawPlayer [on/off]


-= Event Only Commands =-

Counter
BackgroundTile [x] [y] [tilenum]
ForegroundTile [x] [y] [tilenum]


-= People Talk Action Commands Only =-

SetDestination [x] [y]
$FinishedPath .. end
$AtDestination .. end
Laugh
SayNo
BackgroundTile [x] [y] [tilenum]
ForegroundTile [x] [y] [tilenum]
MoveNPCLeft [name]
MoveNPCRight [name]
MoveNPCUp [name]
MoveNPCDown [name]
NpcLookLeft [name]
NpcLookRight [name]
NpcLookUp [name]
NpcLookDown [name]
ShowLook
SlideNPCLeft [name]
SlideNPCRight [name]
SlideNPCUp [name]
SlideNPCDown [name]
Move

-= People Action Commands only =-

MoveRandomly
SetDestination [x] [y]
GotoDestination [x] [y]
GotoCurrentDestination
FollowPath
FollowPathRepeat
$FinishedPath .. end
$AtDestination .. end
