egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

http

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
caesar
Mint Rubber


Joined: 14 Oct 2001
Posts: 3741
Location: Mint Factory

PostPosted: Sun Jun 22, 2003 2:37 pm    Post subject: http Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber