caesar Mint Rubber

Joined: 14 Oct 2001 Posts: 3741 Location: Mint Factory
|
Posted: Sun Jun 22, 2003 2:37 pm Post subject: http |
|
|
| Code: |
package require http 2.4
bind pub - !bla my:bla
proc my:bla {nick uhost hand chan text} {
set tok [::http::geturl "http://someserver/" -timeout 120]
set var [::http::code $tok]
catch {::http::cleanup $tok}
putserv "PRIVMSG $chan :$var"
}
|
Just ignore the code, I want to wask something about it. When I start it all seems ok. After I'll .rehash it it dies with:
| Quote: |
(21:34:07) ::: <bot> [21:39] invalid command name "tclPkgUnknown"
(21:34:07) ::: <bot> while executing
(21:34:07) ::: <bot> "tclPkgUnknown http 2.4"
|
What I did wrong there? _________________ Once the game is over, the king and the pawn go back in the same box. |
|