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 

SearchIrc tcl

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
serpe
Voice


Joined: 02 Dec 2006
Posts: 9

PostPosted: Sat Dec 02, 2006 6:40 pm    Post subject: SearchIrc tcl Reply with quote

Hi to all i'm new here.
I try to make a tcl for reporting searchirc statistic on irc channel. I want to make a custom cmd like !stat #chan , and by this cmd eggdrop read information about channel from searchirc web site ad report that in chan. It 's possible? anyone can help me? thanks.
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


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

PostPosted: Sat Dec 02, 2006 6:43 pm    Post subject: Reply with quote

Give the url so we can look at the data format.
Back to top
View user's profile Send private message
serpe
Voice


Joined: 02 Dec 2006
Posts: 9

PostPosted: Sat Dec 02, 2006 7:48 pm    Post subject: Reply with quote

the url is this http://searchirc.com/searchirc.php?SCHANS=1&SSORT=SIZE&N=Mircrazy
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


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

PostPosted: Sat Dec 02, 2006 8:42 pm    Post subject: Reply with quote

Show me an example of searching for just a specific channel name, the above url returns ALL channels for that server and it's too many results (4 pages)
Back to top
View user's profile Send private message
serpe
Voice


Joined: 02 Dec 2006
Posts: 9

PostPosted: Sat Dec 02, 2006 9:03 pm    Post subject: Reply with quote

mmm i want that : e.g !average #chan , bot say me average of that chan only this, and if it's possibile to make for all chan...
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


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

PostPosted: Sat Dec 02, 2006 9:19 pm    Post subject: Reply with quote

If all you want is a script to show the number of users and the average number of users, there's much easier ways to do that rather than pulling data from a website. I believe there's already scripts in the tcl archive that do just that.
Back to top
View user's profile Send private message
serpe
Voice


Joined: 02 Dec 2006
Posts: 9

PostPosted: Sat Dec 02, 2006 9:26 pm    Post subject: Reply with quote

mmmm but i want that eggdrop stay in only one chan and give average of all other chan. this tcl alredy exist? because i try to found a similar script but i'don't find anything.
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


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

PostPosted: Sat Dec 02, 2006 11:27 pm    Post subject: Reply with quote

average.tcl 2.13 26/01/2005 perpleXa Shows channel averages and max. users of different durations (last hour, today, yesterday, 7days, 14days).
http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=1115
Back to top
View user's profile Send private message
ZEXEL
Halfop


Joined: 27 Jun 2006
Posts: 45

PostPosted: Sun Dec 03, 2006 5:34 am    Post subject: Reply with quote

rosc2112 wrote:
average.tcl 2.13 26/01/2005 perpleXa Shows channel averages and max. users of different durations (last hour, today, yesterday, 7days, 14days).
http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=1115


thanks rosc2112, i've been waiting this for long time and I missed to search! Embarassed
_________________
.:[ Knowledge Is The Power ]:.
Back to top
View user's profile Send private message Visit poster's website
serpe
Voice


Joined: 02 Dec 2006
Posts: 9

PostPosted: Sun Dec 03, 2006 8:57 am    Post subject: Reply with quote

but this tcl show me the average of channel where the bot stay only?
Back to top
View user's profile Send private message Visit poster's website
serpe
Voice


Joined: 02 Dec 2006
Posts: 9

PostPosted: Sun Dec 03, 2006 5:42 pm    Post subject: Reply with quote

i search tcl that give me average of setting channel Crying or Very sad
Back to top
View user's profile Send private message Visit poster's website
metroid
Owner


Joined: 16 Jun 2004
Posts: 771

PostPosted: Sun Dec 03, 2006 5:44 pm    Post subject: Reply with quote

There obviously is no such script.
Back to top
View user's profile Send private message
serpe
Voice


Joined: 02 Dec 2006
Posts: 9

PostPosted: Sun Dec 03, 2006 6:39 pm    Post subject: Reply with quote

and it is too hard? i'm studyng tcl scripting but i don't know the way to start with this, it' s too difficult for me... a suggestion o a similar script can i see...
Back to top
View user's profile Send private message Visit poster's website
rosc2112
Revered One


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

PostPosted: Sun Dec 03, 2006 6:44 pm    Post subject: Reply with quote

If you want to stat all channels, then you could LIST all channels periodically, catch the number of users shown in the list, then do averages based on those statistics. I imagine the script from perplexa that I pointed to before would be a good basic script to start with.
Back to top
View user's profile Send private message
serpe
Voice


Joined: 02 Dec 2006
Posts: 9

PostPosted: Mon Dec 04, 2006 3:19 pm    Post subject: Reply with quote

i try to script new tcl for this but it's impossible for me, and then a try to modify average.tcl to list all channel but make too error...... Crying or Very sad
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 Requests 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