![]() |
Quote:
|
Quote:
Out of curiosity, what do you need to use all of the tokens for? There are a variety of ways to get what you want, but they really depend on your application. |
Alright... what I'm trying to get is an npc that when you put a certain prefix such as "/moo" that it would show all the words after it on all the players' screens. Something like the Events Team thing on Babylon where when they they say "setevent2" that everything else appears on the top-left of the players' screens. Capiche? Again, does DoomsDay have a website?
|
Quote:
|
I knew it, just never used it I guess.
|
Quote:
Capiche? :grin: |
No script posting allowed, sorry, but Kai deleted mines.
|
Quote:
|
Mines was just as short.
|
osrs: pointless to use #T if you are using 5 as the startindex, as that forces you to have a space in front of it for the #e to cut it off, and then there's nothing left for the #T to trim.
|
Quote:
I don't know why i used #T since i put -1 as length too. My bad. |
ok here's an pre-alpha version lol might not work probably will tho
<removed> as i said i think this should work so copy it and try it...if not ur welcome to contact me and i'll fix it for you |
o.O im sorry cant read lol you want it to display everything except the first word well here:
<removed> this is better than using tokens because it'll let you use commas where as if u use tokenize and u say something like "hello, to myself" it'll only display "hello" hope this helps ;) |
Quote:
it's used so, say I say: /testTEST /test TEST strequals(#T(#e(5,-1,#c)),TEST) both instances would return true but well... I guess it does have some sort of relation with the 01, #T is trimming all spaces at the from and end of a string so #T( test ) = test #T ( 123) = 123, etc, most people just don't need to use it for the end part because they know to use -1, instead of say just guessing the length is going to be 100 then trimming it |
Zelph: Stop posting full scripts to solve people's problems. -_-
|
| All times are GMT +2. The time now is 06:25 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.