Should anyone want it, I made this into a little mIRC Script (So you can type /profile STEAMID or COMMUNITY ID to get the steamid or community url returned.
Just read the remarks to see how to install and use, pretty simple.
I also set this up in the SourceMod IRC Channel (#sourcemod on gamesurge) just type !profile STEAMID or COMMUNITY ID and if i'm online it'll reply for you
Code:
; Script to turn STEAM_IDs into Community page URLS and the other way around. Created by CShadowRun!
; Use is simple just type /profile STEAM_ID or Community ID (The very large number at the end of the URL)
; Just press alt + r in mIRC and paste this into your remotes and you should be good to go!
alias profile {
if ($regex($1-,^STEAM_\d:(\d):(\d+)$)) {
var %n = $right(76561197960265728,$calc($len($regml(2) + 1)))
var %id = $calc(($regml(2) * 2) + $regml(1) + %n)
echo -a $+($1-,'s) Community page is: $+(http://steamcommunity.com/profiles/,$left(76561197960265728,$calc(13 - $len($regml(2)))),%id)
}
else if ($regex($1-,^7656119\d+$)) {
var %n = $right($1-,10)
var %n = $calc(%n - 7960265728)
if (. isin $calc(%n / 2)) { var %one = 1 | dec %n }
var %n = $calc(%n / 2)
echo -a Profile ID $1- Belongs to: $+(STEAM_0:,$iif(%one,1,0),:,%n)
}
else { echo -a $1- Does not appear to be a valid Community or Steam ID. }
}