Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Special character (https://forums.graalonline.com/forums/showthread.php?t=75734)

coreys 07-21-2007 05:37 AM

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?

xXziroXx 07-21-2007 05:41 AM

You can check it by doing "\\n" I think, not sure.


All times are GMT +2. The time now is 10:10 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.