| View previous topic :: View next topic |
| Author |
Message |
serpe Voice
Joined: 02 Dec 2006 Posts: 9
|
Posted: Sat Dec 02, 2006 6:40 pm Post subject: SearchIrc tcl |
|
|
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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sat Dec 02, 2006 6:43 pm Post subject: |
|
|
| Give the url so we can look at the data format. |
|
| Back to top |
|
 |
serpe Voice
Joined: 02 Dec 2006 Posts: 9
|
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sat Dec 02, 2006 8:42 pm Post subject: |
|
|
| 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 |
|
 |
serpe Voice
Joined: 02 Dec 2006 Posts: 9
|
Posted: Sat Dec 02, 2006 9:03 pm Post subject: |
|
|
| 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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sat Dec 02, 2006 9:19 pm Post subject: |
|
|
| 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 |
|
 |
serpe Voice
Joined: 02 Dec 2006 Posts: 9
|
Posted: Sat Dec 02, 2006 9:26 pm Post subject: |
|
|
| 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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
|
| Back to top |
|
 |
ZEXEL Halfop

Joined: 27 Jun 2006 Posts: 45
|
Posted: Sun Dec 03, 2006 5:34 am Post subject: |
|
|
thanks rosc2112, i've been waiting this for long time and I missed to search!  _________________ .:[ Knowledge Is The Power ]:. |
|
| Back to top |
|
 |
serpe Voice
Joined: 02 Dec 2006 Posts: 9
|
Posted: Sun Dec 03, 2006 8:57 am Post subject: |
|
|
| but this tcl show me the average of channel where the bot stay only? |
|
| Back to top |
|
 |
serpe Voice
Joined: 02 Dec 2006 Posts: 9
|
Posted: Sun Dec 03, 2006 5:42 pm Post subject: |
|
|
i search tcl that give me average of setting channel  |
|
| Back to top |
|
 |
metroid Owner
Joined: 16 Jun 2004 Posts: 771
|
Posted: Sun Dec 03, 2006 5:44 pm Post subject: |
|
|
| There obviously is no such script. |
|
| Back to top |
|
 |
serpe Voice
Joined: 02 Dec 2006 Posts: 9
|
Posted: Sun Dec 03, 2006 6:39 pm Post subject: |
|
|
| 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 |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sun Dec 03, 2006 6:44 pm Post subject: |
|
|
| 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 |
|
 |
serpe Voice
Joined: 02 Dec 2006 Posts: 9
|
Posted: Mon Dec 04, 2006 3:19 pm Post subject: |
|
|
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......  |
|
| Back to top |
|
 |
|