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.

SearchIrc tcl

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
s
serpe
Voice
Posts: 9
Joined: Sat Dec 02, 2006 6:04 pm
Contact:

SearchIrc tcl

Post by serpe »

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.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

Give the url so we can look at the data format.
s
serpe
Voice
Posts: 9
Joined: Sat Dec 02, 2006 6:04 pm
Contact:

Post by serpe »

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

Post by rosc2112 »

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)
s
serpe
Voice
Posts: 9
Joined: Sat Dec 02, 2006 6:04 pm
Contact:

Post by serpe »

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...
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

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.
s
serpe
Voice
Posts: 9
Joined: Sat Dec 02, 2006 6:04 pm
Contact:

Post by serpe »

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.
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

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_arch ... ad&id=1115
User avatar
ZEXEL
Halfop
Posts: 45
Joined: Tue Jun 27, 2006 10:47 pm
Contact:

Post by ZEXEL »

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_arch ... ad&id=1115
thanks rosc2112, i've been waiting this for long time and I missed to search! :oops:
.:[ Knowledge Is The Power ]:.
s
serpe
Voice
Posts: 9
Joined: Sat Dec 02, 2006 6:04 pm
Contact:

Post by serpe »

but this tcl show me the average of channel where the bot stay only?
s
serpe
Voice
Posts: 9
Joined: Sat Dec 02, 2006 6:04 pm
Contact:

Post by serpe »

i search tcl that give me average of setting channel :cry:
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

There obviously is no such script.
s
serpe
Voice
Posts: 9
Joined: Sat Dec 02, 2006 6:04 pm
Contact:

Post by serpe »

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...
User avatar
rosc2112
Revered One
Posts: 1454
Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania

Post by rosc2112 »

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.
s
serpe
Voice
Posts: 9
Joined: Sat Dec 02, 2006 6:04 pm
Contact:

Post by serpe »

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...... :cry:
Post Reply