Posts: 3658 Reputation: 61
36 / /
Joined: Aug 2006
RE: "Variable" in toast
code:var Words = new Array("Car","something", "etc");
function OnEvent_ContactSignin(contactemail){
signedincontact = Messenger.MyContacts.getContact(contactemail)
if(signedincontact.Blocked===false){
var Message = MsgPlus.RevoveFormatCodes(signedincontact.Name+" has just arrived in his/her "+RandomWord())
MsgPlus.DisplayToast("",Message);
}
}
function RandomWord(){
var x = Math.floor(Math.random()*Words.length)
return Words[x];
}
"Variable" in toast - by Addenorw on 11-04-2007 at 11:41 AM RE: "Variable" in toast - by Spunky on 11-04-2007 at 12:21 PM RE: "Variable" in toast - by Matti on 11-04-2007 at 03:53 PM