![]() |
commas in strings
Well, I'm rescripting the chat system for my server. Hehe.
Basically, it stores your chat text in a string, then sends to everyone else to display on screen. However, everything after a comma, it doesn't show. I tried quoting " " the whole string, basically its just NPC Code: That does not work. I even used a for loop to go through the whole #Is and even set them into a another string. (Yes, this would get rid of the commas, oh well.) Any suggestions? |
Where did you get the #p(1) from
|
I'm originally triggering from the clientside. Sorry probably left that out.
|
Show me the triggeraction part
|
I found a bypass to that...
NPC Code: Addstrings would make the "'s and the ,'s stay. It works magic ;P |
Rance, I'm not using sendpm...but that also might work. I'll try it.
Jagen, here's the triggeraction. NPC Code: Of course, this is clientside. Would I have to quote it clientside? |
Quote:
"#s(this.chat)" |
I thought so. However, Rance's method worked. I guess I'll just be using that. =P
Thanks for your help. |
| All times are GMT +2. The time now is 12:21 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.