Bit Che > Scripts & Development

Bit Che - Script Documentation v.01a (READ)

<< < (4/4)

CuF:
Some scripts have lines like this:
q=split(r,/td>,2)

What is the function of ",2"?

chip!:
wow... thats old.. umm i believe that was used as a type of check that the data is being parsed correctly for any given result.  in that case, there should be "atleast 2" items returned from the split. if NOT, then the engine either ignores that single result and continues to process the next one...   or the engine terminates processing the script completely. but i think it just skips that single result... that way, if there are 50 results total, but 1 of them was some reason missing some data in the html, then the engine would assume its messed up, ignore it, and return 49 results to the search list.

civpro:
im not getting anything from the script debugger
no output at all

Threshold:
Hi Chip,

I'm afraid I have absolutely no clue at this stuff even if you guys say it's very simple.

Any chance anyone might write a very dumbed down, step by step guide so we can all contribute writing and updating scripts?

Cheers. :)

ibrahim1388:
 O0
thanx

Navigation

[0] Message Index

[*] Previous page

Go to full version