Dunno much about Perl, but I recognized enough to figure out what you're trying to do. Here's a PHP script that can do that.
Call a page like:
http://www.someserver.com/somedir/index.php?string=(link_here)
The page contains:
You now have the item ID in $value and can do whatever with it. Naturally, you can adapt this to your needs and call whatever page you want.
To call from within EQ, you would type:
Call a page like:
http://www.someserver.com/somedir/index.php?string=(link_here)
The page contains:
PHP Code:
extract ($_GET);
$value = hexdec(substr($string,1,6));
echo "\nDecimal value of first six of query string is " . $value;
if ($value > 100000)
echo "\nValue is over 100,000; Lucy link would not be valid.";
else
echo "\nLucy link for URL is <a href=\"http://lucy.allakhazam.com/item.html?id=" . $value . "\">http://lucy.allakhazam.com/item.html?id=" . $value . "</a>";
To call from within EQ, you would type:
Code:
/www www.someserver.com/somedir/index.php?string=(link_here)

with my trick, "/www <itemlink>" opens up the search result page for the item, or if set to the Lucy mode, opens up the Lucy page by item ID, which is useful for things like those mechanoinstruction scraps.

Comment