25.04.2014, 23:06
Hi all.
Today i was looking for some new RolePlay features, so i thinked about color parsing on chat.
I mean that, when you write * * in chat, next between the two * * will change color.
Here an example:
"Hello! *Waving*"
Result:
"Hello *Waving*"
I know i must use strcmp, but i don't exactly know how to detect when it starts and when it finish.
I already see this in many RolePlay servers.
Hope someone will help me!
Today i was looking for some new RolePlay features, so i thinked about color parsing on chat.
I mean that, when you write * * in chat, next between the two * * will change color.
Here an example:
"Hello! *Waving*"
Result:
"Hello *Waving*"
I know i must use strcmp, but i don't exactly know how to detect when it starts and when it finish.
I already see this in many RolePlay servers.
Hope someone will help me!