Code: Select all
bbind pub - !joined joined
proc joined {nick host handle chan text} {
set query "http://forums.shooshtime.com/login.php?vb_login_username=zooshbot&vb_login_password=zoosh&s=&do=login"
set http [::http::geturl $query]
set html [::http::data $http]
regexp {<strong>Welcome, (.*?) </strong><br />} $html - uname
putserv "PRIVMSG $chan :$uname"
That link will log you into the site.
From there, I can't get it to find any info on the page. I'm guessing it has something to do with the way it handles the link...perhaps it is taking the info from the actual login.php page
How do I get around this?