Blockland Forums > Suggestions & Requests
Disable links sent to the chat
Conservative:
I personally don't need this, but I find that it would be extremely useful in some of the more popular servers
players within seem to have a blast starting a chain reaction of researchographic links, or just completely random links
Ipquarx:
just have it remove all instances of http:// from the chat and no more links.
Port:
--- Quote from: Ipquarx on September 28, 2012, 12:12:21 PM ---just have it remove all instances of http:// from the chat and no more links.
--- End quote ---
unless Conservative wants something server-sided, this won't work since the server processes links (you'll get a tags instead on the client)
Blocki:
--- Quote from: Port on September 28, 2012, 12:18:54 PM ---unless Conservative wants something server-sided, this won't work since the server processes links (you'll get a tags instead on the client)
--- End quote ---
cant you use this gay superlong stripmlcontrolchars function
Ipquarx:
--- Quote from: Port on September 28, 2012, 12:18:54 PM ---unless Conservative wants something server-sided, this won't work since the server processes links (you'll get a tags instead on the client)
--- End quote ---
saying blah.com into chat will not make an a tag
saying http://blah.com will make a link
see where i'm coming from on this?
--- Code: ---function serverCmdmessageSent(%Client, %Msg)
{
%Msg = strReplace(%Msg, "http://", "");
parent::serverCmdmessageSent(%Client, %Msg);
}
--- End code ---