But anyway, the problem is solved by using the socket instead of connect, since this doesn't gets jammed when a host doesn't resolve..
And it always returns something.. And that was what i was looking for..
hey [] Thanks user :) ppslim : The script blocks forever, or until i do a .rehash .. By the way, the script is activated by a public command.. This time, i read that part of the sockets beeing asynchronous at tcl-commands.doc :wink: , but i thought that it had to return a value that could be disting...
hi how can i find out if a certain server is online, and if he has a port open to incoming connections? the server to check is a game server.. i tried this: set sidx "" set sidx [connect $srvrhost $srvrport] if {$sidx == ""} { putserv "privmsg $chan :Server is offline" ...
How can i use, in a tcl, a dcc built-in command (such as .botinfo ), that was only designed to used in a dcc session, by a user? How can i grab the return value of a command after i use, in a tcl, a line like putdcc $idx ".bottree"? Is it possible, since putdcc doesn't return any values af...
hello I've got three problems, that i hope you can help me with: 1st: How can i change the hostname of the eggdrop, that is used on the telnet sessions, without having to kill him? I tried to change it, using the 'set my-ip' and 'set my-hostname' commands, and then restart the eggdrop, but the only ...
hello Recently (3 days ago) two of my eggdrops got disconnected from an irc network, and since then they never showed up again in irc... I tried to do was telnet him, but i constantly get Timeouts.. When i got tired of those nasty timeout is started looking in the eggdrop's logs the reason of the di...
This is the tcl.. self explanatory.. i think :) proc vald {nick} {putserv "whois $nick"} bind raw - 311 val:user proc val:user {from keyword text} { global val {...} set val 1 return 0 } bind pub - !val nfo proc nfo {nick uhost hand chan text} { global val set val 0 vald $nick vwait val {....
hello there! :) I would like to know if there is another tcl command equal (or like) the ' vwait ' that will halt the tcl script that is currently running, until a variable is set.. The problem is that if i use the ' vwait ' command, witch is mostly used for client/server and/or socket connections, ...