Skip to content

Instantly share code, notes, and snippets.

@coandco
coandco / PucaTrade-Sort-by-PPM.user.js
Last active November 20, 2015 05:06 — forked from ezific/PucaTrade-Sort-by-PPM.user.js
PucaTrade Sort By Member's Wanted Value
// ==UserScript==
// @name PucaTrade Sort By Member's Wanted Value
// @author DACrosby, LLC
// @namespace http://dacrosby.com/
// @version 1.4
// @description Sort by member's that want the most value and can afford to have you send it to them.
// @match http://pucatrade.com/trades*
// @match http://*.pucatrade.com/trades*
// @match https://pucatrade.com/trades*
// @match https://*.pucatrade.com/trades*
#!/bin/bash
# When run in a directory with no .jpg files,
# or in a directory containing the first n JL8
# strips, this will download the remaining strips
echo "JL8:"
i=`ls *.jpg | wc -l`
while true;
do