ID:155573
![]() May 21 2011, 1:36 pm
|
|
How would i go about doing a World of Warcraft style chat system... where if a user typed /s and then space bar it would switch to "Say:" or if /p it would switch to "Party:" I just need a little feedback on how I can do this...all is appreciated
|
![]() May 21 2011, 1:44 pm
|
|
Just go look up the findtext proc from the reference. This ain't too hard to do!
|
I understand how to find if they typed /s to switch it but is there a way to check the text box as it is updated right now i have it doing -
FindChat(txt as text) but to produce the result i want...i have to type "/s message" then press enter. I want it to switch to the appropriate chat channel without having to press enter till i am ready to send the message. I hope that makes sense... |
I highly doubt that that can be done. Only way to do that would be a never ending loop which would always winget() the input and check if there is /s or some other text macro...
|
Is there any reason you can't make a simpler chat system, such as pressing 's' to open up a prompt for 'say', and 'p' for a prompt for 'party-say'?
World of Warcraft probably did that because it was easier with their chat system, but it's not very easy or efficient to do it in BYOND. |