![]() |
storing / filtering massive items - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: storing / filtering massive items (/Thread-storing-filtering-massive-items) |
RE: storing / filtering massive items - Skul - 07-13-2014 04:32 PM use a tag Code: on=@create RE: storing / filtering massive items - Extreme - 07-13-2014 11:10 PM UsesCur UsesMax RE: storing / filtering massive items - kn4tseb - 07-14-2014 01:59 AM Thanks! RE: storing / filtering massive items - kn4tseb - 07-14-2014 10:19 AM Is it possible to overide the skillcap of a skill of a specific character?. Code: ON=@Dclick RE: storing / filtering massive items - Extreme - 07-15-2014 06:58 AM Yes, there is. I don't know how but look for Powerscrolls on Cloud_BR scriptpack or elsewhere. RE: storing / filtering massive items - kn4tseb - 07-15-2014 10:20 AM will do, thank you.. one more thing... how can i get a number of argv's skipping another one? example Code: args=1,2,3,4,5,6,7,8,9,10 or somehow get random ranged values: <r1,5-7,9> or even better would be just to missread an indicated argv[n] doing this: Code: args=a,b,c,d,e,f,g,h,i,j Thank you. RE: storing / filtering massive items - Extreme - 07-16-2014 02:19 AM If you want to store only the 5th arg, why not put it in first and use streat to get the other ones?? You can also use local.bla argv0..,argv1..,argv2..,argv3..,argv4..,argv6..,argvn.. Also... ARGS = 1,2,3,4,5,6,7,8,9,10 local.argvrand=<r0,9> FOR X 0 9 IF <dLOCAL.X> != <dLOCAL.ARGVRAND> LOCAL.ARGS .= <ARGV[<dLOCAL.X>]> ENDIF ENDFOR RE: storing / filtering massive items - kn4tseb - 07-16-2014 03:53 AM because i didnt wanted to store the fifht, was an example, i wanted to store a random nth =] thats why i couldnt use local.bla= rest of argvs but you might have answered my question in the last code, gonna try it. whats the difference between: local.args = bla and local.args .= bla // with that dot before equal? THank you!! ![]() RE: storing / filtering massive items - kn4tseb - 07-16-2014 05:41 AM Okey... thanks Extreme, i finnally got it xd Code: ARGS = 1,2,3,4,5,6,7,8,9,10 RE: storing / filtering massive items - Extreme - 07-16-2014 06:20 AM Congratulations! |