Author Topic: Scripting Feature Request  (Read 8787 times)

Offline Bovski

  • Head Cider Tester
  • Hero Member
  • *****
  • Posts: 673
  • Karma: +189/-0
  • High Five Me
    • View Profile
    • Warez The Index
Scripting Feature Request
« on: June 11, 2008, 02:21:32 am »
2 Commands to strip <*> would make it easy when you just want the text from a field.

Some times Seeders & Leeches have all sorts of different formatting depending on the numbers you have to parse your way through all this formatting just to get the plain text that's displayed some times it's easy as you can missparse the results for 0 as Bit Che will leave it as zero but with some of the more complex ones its a pain.

Some Examples of usage
Code: [Select]
t=array(q,10)
n=sv(t)

Code: [Select]
t=array(q,10)
5=ss(t)

Or even

Code: [Select]
n=sv(10)

Code: [Select]
5=ss(10)

Should be easy to determine if it's a a number or variable.

Wouldn't half simplify scripting Seeders, Leeches & size fields.
« Last Edit: June 11, 2008, 02:31:38 am by Bovski »

Offline chip!

  • Bad Ass
  • Administrator
  • Unstoppable
  • *****
  • Posts: 2301
  • Karma: +629/-6
    • View Profile
Re: Scripting Feature Request
« Reply #1 on: June 11, 2008, 11:36:45 am »
so you mean remove all html formatting from the given string?
  -  https://convivea.com  -   And...  boom goes the dynamite.

Offline Bovski

  • Head Cider Tester
  • Hero Member
  • *****
  • Posts: 673
  • Karma: +189/-0
  • High Five Me
    • View Profile
    • Warez The Index
Re: Scripting Feature Request
« Reply #2 on: June 11, 2008, 12:09:33 pm »
yep <> and everything between yes I know it seems lazy but having it in compiled code should make the job much quicker than several lines of script.

Though a "Remove All Between" command would probably be of more use so you could then do

Code: [Select]
t=rabv(t,<,>)

Code: [Select]
5=rabs(t,<,>)

or even if you have those stupid mouseover things that are such a pain to parse like here

Code: [Select]
t=rabv(t,onmouseover="return overlib(',onmouseout="return nd();")

Code: [Select]
5=rabs(t,onmouseover="return overlib(',onmouseout="return nd();")

« Last Edit: June 12, 2008, 11:43:18 am by Bovski »