Hello, i made a code and basically capture tokens from bypass using StringTokenizer tk = new StringTokenizer(command, " ");
and the bypass is like
%objectId%_something $var1 $var2 $var3
the problem is that i use 3 boxes to fill (3 variables) and if a player inside box he use space to write 2 words it capture the 2nd word as another token so it end up like
4 token instead of 3.
How can i avoid this? Like if a player writes in box "Something Something" this will be captured as 1 token instead of 2 tokens ?
Actually what people get wrong with jobs like that is they think of what the job will need (easy/hard)
While in fact you pay for the time the person dedicates to you (and losses from something else that might gave him profit for the time).
As a developer myself (PHP/SQL/Java/C#) i charge hourly no matter the difficulty of the job.
Hire Pros.
Question
Ο Χάρος
Hello, i made a code and basically capture tokens from bypass using StringTokenizer tk = new StringTokenizer(command, " ");
and the bypass is like
%objectId%_something $var1 $var2 $var3
the problem is that i use 3 boxes to fill (3 variables) and if a player inside box he use space to write 2 words it capture the 2nd word as another token so it end up like
4 token instead of 3.
How can i avoid this? Like if a player writes in box "Something Something" this will be captured as 1 token instead of 2 tokens ?
Thanks a lot.
Link to comment
Share on other sites
22 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now