private string checkUrl(string msg){
If(!msg.Contains("http"))
return msg;
String newMsg = "";
String[] parts = msg.Split(" ");
Foreach(String s in parts){
If(!s.StartsWith("http"))
NewMsg += s;
Else
NewMsg += "<a href=\"" + s + "\">Link</ahref>";
}
Return NewMsg;
}
I'm not asking if your word filters enabled. This has nothing to do with the word filter.Yes filter is enabled..
error CS0127: 'ChatEvent.Parse(GameClient, ClientPacket)': A return keyword must not be followed by any expression when method returns void
private string checkUrl(string msg){
}