![]() |
Quote:
#t(0)=bob #t(1)=went #t(2)=to #t(3)=have #t(4)=sex MY way tokenize3 +,bob+went to+have+sex; #t(0)=bob #t(1)=went to #t(2)=have #t(3)=sex tokenize3 wouldnt do the ADDITIONAL delimeters it would just simply use new delimeters and remove all old forms. no spaces etc... |
Quote:
no.. go on my server and type "/me test,test,test only test will show up and somewhere along the line, a line of only test will show up. it uses #I() which is same as tokenize2 without using command |
Quote:
|
Quote:
|
Quote:
but its the same as if you did: tokenize2 ,,#s(stringname); [which is what i did untill i found out about #I()] |
Quote:
|
Quote:
tokenize2 is working.... its dividing things up into delims of spaces and also NPC Code: try that out mister muster |
Quote:
Get off your lazy ass and report it if its not working like it is supposed to! |
Now please, stop your complaining. I've done for you what you should've done when you first encountered the problem :p Next time, please think through all your options first. The last thing needed is a duplicate command :rolleyes:
|
obviously you arent listening....
it IS working fine. but i want a command that doesnt use spaces at all when tokenizing. so you dont do "s around the token to use spaces |
Argit. There isn't MUCH point to this... x.X If you feel it is necessary to do this, just use arrays!
setstring client.text,; addstring client.text,bob; addstring client.text,went to; addstring client.text,the market; That way you get the following: client.text[0]=bob client.text[1]=went to client.text[2]=the market Simple as that... there isn't a MAJOR purpose for your explanation of tokenize3 either... there are ways around it. ---Shifter |
uhm, Variables can't hold characters. Atleast not in Gscript. I think you have a warped understanding of Graal string arrays.
|
Quote:
insertstring client.text,0,alphabetical; i know i use it alot on enigma for msgsystem |
LoL GYoshi, you look like a big ass. :p
tokenize2 does what it is supposed to. He wants a tokenize3 that does not use " " and "," as delimiters. tokenize2 does, but it is supposed to. But like explained earlier, if you did string as: Bob "went to the" market and used tokenize2, it would come out as token1: Bob token2: went to the token3: market So that is what you wanted, wasn't it? |
Quote:
|
| All times are GMT +2. The time now is 06:12 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.