More Efficient way of Global Chat?
#1

I'm trying to make an efficient /ooc command but right now, I'm stuck using strtok, and with this, it cuts off the first word of whatever you type.

I want to use sscanf but I can't figure out how to make it work where its independent of what they type. For example, if I make it
pawn Code:
sscanf(params, "s", chat)
but the first character they type in is a number, it wont work, and I don't want to limit them to only starting with letters.

Thanks in advance for help, feel free to ask for any clarifications, I could have just rambled uncontrollably
Reply


Messages In This Thread
More Efficient way of Global Chat? - by randomkid88 - 27.12.2010, 19:22
Re: More Efficient way of Global Chat? - by MadeMan - 27.12.2010, 19:28
Re: More Efficient way of Global Chat? - by randomkid88 - 27.12.2010, 19:44
Re: More Efficient way of Global Chat? - by MadeMan - 27.12.2010, 19:48
Re: More Efficient way of Global Chat? - by randomkid88 - 27.12.2010, 19:54
Re: More Efficient way of Global Chat? - by MadeMan - 27.12.2010, 20:00

Forum Jump:


Users browsing this thread: 1 Guest(s)