![]() |
A Question on File-Options - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: A Question on File-Options (/Thread-A-Question-on-File-Options) Pages: 1 2 |
RE: A Question on File-Options - admin phoenix - 02-16-2013 12:19 AM sure. I don“t need the backwards yet but maybe someone need it in the future ![]() RE: A Question on File-Options - Shidhun - 03-04-2013 06:12 PM Ok, i'm a little bit frustrated after trying to solve this "problem". Maybe i'm using the wrong syntax, but i just don't see my error. Maybe you could help me out. I have a number of Lists, containing several Informations on Items (like Name,baseid,color,more1h,price) Now i wan't to check, if another Item matches one Element in some of these Informations. In my case i want to know, whether the List contains an element with the same Name/BaseID/Color. So this is how my List looks like : //Syntax : <name>,<baseid>,<color>,<amount>,<more1h>,<value> Quote:[LIST pv_01e6f_blacksmithing] In My Function i have the following Script-Entries : Quote:..... And this are the the server-logs : Quote:String : Test Halberd,i_halberd,044 Normaly, there should be an Log-Entry like : Quote:Match found in Line : 0 So something with STRMATCH has to be wrong. Maybe i'm just not seeing my error, or i'm just to tired. I could of course make a workaround splitting both strings into their Arguments, and comparing each pair, but i'd prefer STRMATCH. RE: A Question on File-Options - Ben - 03-05-2013 08:55 AM try to take out the quotes... if (STRMATCH(*<local.string>*, <local.element>)) [edit] just thought about it... the "," are probably what is causing the problem |