View Single Post
  #1  
Old 07-21-2007, 05:37 AM
coreys coreys is offline
N-Pulse Assistant Manager
coreys's Avatar
Join Date: Mar 2005
Posts: 2,180
coreys has a spectacular aura about
Send a message via AIM to coreys Send a message via MSN to coreys Send a message via Yahoo to coreys
Special character

I'm trying to code something check if certain things are in the players chat when they say something. I have an array for it, but unfortunately my list is this:
"\n", "<"
"<" works just fine, but "\n" doesn't, because it's a special character, like when you join a class in putnpc2: putnpc2(x,y,"join(\"classname\");"). Is there a way to get around this...? Like &gt; for > in HTML?
__________________

Quote:
*SlikRick: so should I even ask about your aim status?
*Xor: well if you want to
*Xor: but i am LARPING
*SlikRick: While on a computer?
*Xor: yes
*Xor: in my living room
*SlikRick: ahh
*Xor: i have a fort setup to hide from beasts
Reply With Quote