| View previous topic :: View next topic |
| Author |
Message |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Fri Nov 24, 2006 7:10 am Post subject: SteamID CounterStrike Lookup Script |
|
|
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. |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Fri Nov 24, 2006 3:54 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
atreides Voice
Joined: 20 Nov 2006 Posts: 17
|
Posted: Sat Nov 25, 2006 1:17 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sat Nov 25, 2006 2:30 am Post subject: |
|
|
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: |
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. |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sat Nov 25, 2006 5:44 pm Post subject: v0.01d |
|
|
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. |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Thu Nov 30, 2006 1:02 pm Post subject: v0.1e |
|
|
| Nov 30 2006 - Fixed the problem with names using \ chars so handles like [/\/\]yth can now be searched. |
|
| Back to top |
|
 |
jhan86 Voice
Joined: 20 Sep 2006 Posts: 12
|
Posted: Sun Jun 24, 2007 1:10 am Post subject: |
|
|
Everyone thank rosc2112 because he created a SteamID TCL Script for everyone. mIRC SteamID.mrc is bunk _________________ #scripts @ GameSurge |
|
| Back to top |
|
 |
jhan86 Voice
Joined: 20 Sep 2006 Posts: 12
|
Posted: Sun Jun 24, 2007 1:10 am Post subject: |
|
|
Everyone thank rosc2112 because he created a SteamID TCL Script for everyone. mIRC SteamID.mrc is bunk _________________ #scripts @ GameSurge |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sun Jun 24, 2007 4:00 am Post subject: |
|
|
| 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.
But yes, excellent work. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
|