egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SteamID CounterStrike Lookup Script

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Nov 24, 2006 7:10 am    Post subject: SteamID CounterStrike Lookup Script Reply with quote

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
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Fri Nov 24, 2006 3:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
atreides
Voice


Joined: 20 Nov 2006
Posts: 17

PostPosted: Sat Nov 25, 2006 1:17 am    Post subject: Reply with quote

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
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sat Nov 25, 2006 2:30 am    Post subject: Reply with quote

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
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Sat Nov 25, 2006 5:44 pm    Post subject: v0.01d Reply with quote

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
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Thu Nov 30, 2006 1:02 pm    Post subject: v0.1e Reply with quote

Nov 30 2006 - Fixed the problem with names using \ chars so handles like [/\/\]yth can now be searched.
Back to top
View user's profile Send private message
jhan86
Voice


Joined: 20 Sep 2006
Posts: 12

PostPosted: Sun Jun 24, 2007 1:10 am    Post subject: Reply with quote

Everyone thank rosc2112 because he created a SteamID TCL Script for everyone. mIRC SteamID.mrc is bunk
_________________
#scripts @ GameSurge
Back to top
View user's profile Send private message
jhan86
Voice


Joined: 20 Sep 2006
Posts: 12

PostPosted: Sun Jun 24, 2007 1:10 am    Post subject: Reply with quote

Everyone thank rosc2112 because he created a SteamID TCL Script for everyone. mIRC SteamID.mrc is bunk
_________________
#scripts @ GameSurge
Back to top
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Sun Jun 24, 2007 4:00 am    Post subject: Reply with quote

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. Mr. Green

But yes, excellent work.
_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber