Post Reply 
[Req] Triggering a link if a value is below X
Jan. 10, 2009, 04:25 AM
Post: #8
RE: [Req] Triggering a link if a value is below X
Code:
[Patterns]
Name = "Urban-Rivals: Auto-Buy"
Active = TRUE
URL = "[^/]++urban-rivals.com/(/|)(js/|)market"
Limit = 350
Match = "(\{"id_bourse":([0-9]+)\0,"login":"[^"]++","clintz":([#0:150])\1,[^}]++\}(,|))\5$SET(9=\5)$SET(buyCode=$GET(buyCode)buyCardForReal(\0);\r\nsetTimeout("window.location.reload(true)", 10000);\r\n)"
        "|buildOffers.pass\("buy"\).attempt\(\);$SET(9=buildOffers.pass\("buy"\).attempt\(\);\r\n$GET(buyCode))"
        "|alert\( $SET(9=$("card" + id_bourse).setStyle('display', 'block');\r\n\t\t\t\t$("card" + id_bourse).setHTML\()"
Replace = "\9"

Enjoy!

Right now it only buys things that are $0-150; you can change this by editing the 150 in the first line ([#0:150]).
It will also reload the page every 10 seconds, and instead of alerts, it prints the success/error messages to the page, to the respective rows that matched the price range.

You are able to buy multiple items simultaneously that are within the specified price range.
Visit this user's website
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [Req] Triggering a link if a value is below X - Kye-U - Jan. 10, 2009 04:25 AM

Forum Jump: