So how could I make the following sleep for 5 seconds at the location indicated...
code:
function OnEvent_ChatWndSendMessage(Wnd,Msg) {
if(Msg == "^toast") {
var x = 0;
do
{
Messenger.MyStatus = 2;
Messenger.MyStatus = 3;
x = x+1
//Sleep here
}
while (x < 3);
return "";
}
}