Yes, this is perfectly possible using timers.
Use
MsgPlus.AddTimer(TimerId, Elapse) to create a timer called
TimerId which lasts for
Elapse milliseconds (1/1000 of a second). When the timer expires, the event
OnEvent_Timer(TimerId) will be called.
For example, to delay for 12 seconds then do something, you might use:
code:
MsgPlus.AddTimer("Delay", 12000);
function OnEvent_Timer(TimerId) {
if (TimerId == "Delay") {
// Do something!
}
}
Hopefully my explanation is understandable. If you still have problems, you might want to have a read of the scripting documentation.