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.

!stats nick

Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
Post Reply
M
MalMen
Voice
Posts: 1
Joined: Thu Sep 08, 2005 11:57 am

!stats nick

Post by MalMen »

hello, i need a tcl for show the stats of the nick of my website
when the ppl do !stats <nick>
the script show in the channel this
http://torrentelite.com/ircstats.php?search=<nick>

The ppl may can not view the website, because he have a ip filter from non portuguese ips

But you can try use a portuguese proxys for view the site, try this http://www.atomintersoft.com/products/p ... ortugal-pt


Wainting

Tanks.
g
greenbear
Owner
Posts: 733
Joined: Mon Sep 24, 2001 8:00 pm
Location: Norway

Post by greenbear »

Code: Select all

package require http

bind pub - !stats foo
proc foo {n u h c a} {
 set nick [lindex [split $a] 0]
 if {$nick!=""} {
  set data [::http::geturl http://torrentelite.com/ircstats.php?search=$nick]
  foreach line [split [::http::data $data] \n] {
   putserv "PRIVMSG $c :$line"
  }
  ::http::cleanup $data
 }
}
s
starpossen
Op
Posts: 139
Joined: Tue Jan 10, 2006 1:08 am

Post by starpossen »

I know this is a bit of an old topic, but I too could use a script like this, I tried the one posted here, but nothing happens, any ideas?
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

Did you type !stats in your channel?
Post Reply