code:
var websites = new Array('web1.com','web2.net');
var links = new Array('link1','link2');
function OnEvent_ChatWndSendMessage(oChatWnd, sMessage){
if(sMessage === wesites[0]){
MsgPlus.DisplayToast(websites[0], websites[0]);
}else if(sMessage === websites[1]){
MsgPlus.DisplayToast(websites[1], websites[1]);
}
if(sMessage === links[0]){
MsgPlus.DisplayToast(link[0], link[0]);
}else if(sMessage === links[1]){
MsgPlus.DisplayToast(link[1], link[1]);
}
websites[0] is web1.com
there is better ways of doing it than what i did but it will still work
quote:
Originally posted by .2007
no but if the ''website'' was differant for eatch one
well it still wouldnt work because of having multi-functions
as i said you _cant_ have more than 1 of the same