RE: find out exact text of someone's message.. (something like that)
it sure is possible...
you can use something like:
[code]
if (sMessage.charAt(0) == '!'){
if(sMessage.charAt(1) == '!'){
return sMessage;
} else {
var parts is sMessage.split(" ");
//this makes parts an array where parts[0] is !set parts[1] is link1 and parts[2] is the link.
}}
This post was edited on 08-31-2007 at 10:21 PM by foaly.
|