Guck auch mal unter rpg-maker.com. Da gibts imo auch ein Skript dazu.

EDIT: Zu lahm.