This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

SteamID CounterStrike Lookup Script

Support & discussion of released scripts, and announcements of new releases.
Post Reply
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

SteamID CounterStrike Lookup Script

Post by rosc2112 »

Released: http://members.dandy.net/~fbn/steamid.tcl.txt

Can look up data based on steamid#, player handle, name, tag, irc channel, or clan.

Returns ID#, League, Location, Division, Clan and ClanURL, Record, IRC channel, Tag, Handle and Handle URL, and Name.

Admin can configure the max number of lines to show, whether to show results in channel or privmsg, the command prefix and which channels commands can be used in.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Two minor updates:

Nov 24 2006
- Added a check for empty $sidreq - show brief help if string is empty.
- Fixed maxline count coming up 1 line short.
a
atreides
Voice
Posts: 17
Joined: Mon Nov 20, 2006 11:58 pm

Post by atreides »

Works beautifully. Could colours be added?

UserURL:http://www.caleague.com/?page=user&userid=424993

usually the UserURL and ClanURL info isnt needed, but its something new I havent seen on other steamid bots. Its just hard on teh eyes to read. It gives all the information though. Amazing job. Thanks so much for this script.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

You can add colors if you wish, I only added bolds because I get people complaining they cannot see various colors. To add colors, change this line:

Code: Select all

set line [format "\002SteamID\002:%s \002League\002:%s \002Loc\002:%s \002Div\002:%s \002Clan\002:%s \002ClanURL\002:%s \002Rec\002:%s \002IRC\002:%s \002Tag\002:%s \002Handle\002:%s \002UserURL\002:%s \002Name\002:%s"

#anti-wordwrapperline-######################################################################################################################################################################################################
Read the manpage for [format] but it should be pretty obvious what to change, just leave the %s's in place, and you can put like \003<colorcode>%s\003 around them, whatever you wanna do.

The url's are available from steamid's website if you hover your mouse over the clannames and handlenames, so I figured I'd include them in my output.

Only one peculiarity I've found that I cannot seem to resolve.. If you try to search for a \ (backslash) as the first char of a word, it doesn't work (despite the string map I have to translate those chars into html codes, and it having the exact same format as steamid's site when you try to search for <backslash> as the 1st char..) I tried setting the script to use query, but that failed as well, so, I guess it's a bug we're stuck with. Other than that it seems to accept pretty much everything you can throw at it.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

v0.01d

Post by rosc2112 »

Another minor update:

Nov 25 2006
- Fixed using $sids var instead of $nummatch to check if we got results.
- Removed extraneous comments at bottom of script.

Same url as above.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

v0.1e

Post by rosc2112 »

Nov 30 2006 - Fixed the problem with names using \ chars so handles like [/\/\]yth can now be searched.
j
jhan86
Voice
Posts: 12
Joined: Wed Sep 20, 2006 5:19 am

Post by jhan86 »

Everyone thank rosc2112 because he created a SteamID TCL Script for everyone. mIRC SteamID.mrc is bunk
#scripts @ GameSurge
j
jhan86
Voice
Posts: 12
Joined: Wed Sep 20, 2006 5:19 am

Post by jhan86 »

Everyone thank rosc2112 because he created a SteamID TCL Script for everyone. mIRC SteamID.mrc is bunk
#scripts @ GameSurge
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

jhan86 wrote:Everyone thank rosc2112 because he created a SteamID TCL Script for everyone. mIRC SteamID.mrc is bunk
"He" is a "She" I believe. :mrgreen:

But yes, excellent work.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply