The Code-Bin
Links
Home
Add your code!
All Listings
About
Latest Entry
Featured Scripts
Author's Website
Latest Entries
FFMPEG Thumbnail Scr...
PHP, 0.8KB
Jul. 29, 10:24pm
John
Z80 Assembler, 190 bytes
Feb. 17, 3:36am
John
Z80 Assembler, 176 bytes
Sep. 13, 2:19am
John
Z80 Assembler, 77 bytes
Sep. 13, 2:18am
John
Z80 Assembler, 209 bytes
Sep. 13, 2:17am
untitled mIRC Code
Posted by: SteamID Community Page lookup | August 3, 2009 @ 8:43pm
mIRC Code
[
Download
]
; 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. } }
Syntax Highlighting
[
Open in new window
]
Author Comments
none
Rating
4.35 / 8
93 Votes
http://codebin.yi.org/341
page generated in 0.01 seconds