take a look at the MsgPlus.AddTimer() function.
quote:
Originally posted by Official Scripting Documentation
MsgPlus::AddTimer
The MsgPlus::AddTimer function creates a new timer event for your script. The OnEvent_Timer event will be fired once after the specified time interval elapses.
Syntax
AddTimer(
[string] TimerId,
[number] Elapse
);
Edit: look
here for the scripting documentation if you don't have it already.