Thread: Detecting HTML?
View Single Post
  #3  
Old 06-01-2006, 10:35 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by Omini
Is there any way to detect if the player has HTML enabled or not? Lets say in the NPC Server, if the player has HTML it sends a PM (containing HTML) and if HTML is disabled then it sends a different PM?

Example:
NPC Code:
if (htmlenabled) {
sendpm <b>Welcome! to the Server!</b>;
} else {
sendpm Welcome to the Server!;
}

Personally I don't endorse sending HTML. On linux/mac clients, all the HTML often does not render properly, making it difficult to read.
__________________
Skyld
Reply With Quote