Arg, did I ever tell you how much you people scare me?!
This is an example that will take something if you chat, and sendtorc #t(1) up to #t(i) =) This is the MOST efficent way
NPC Code:
if (playerchats){
tokenize #c;
sendtorc #t(1) - #t(1) = #T(#e(strlen(#t(0)),-1,#c));
}
Short, sweet, and to the point =)
#e (as alex said) is the best way, but all you have to do is have it do the string length. Plus #T removes spaces at the beginning =D
---Shifter