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.

Search found 25 matches

by -W0kk3L-
Tue Aug 30, 2005 1:17 pm
Forum: Archive
Topic: Listening to socket
Replies: 11
Views: 7625

so, what's your problem? after reading that manpage, how come you are still unable to grasp socket and connection handling in Tcl? what is it exactly that you didn't understand? you don't know how to read from, how to write to, or how to implement server socket? I don't know how to implement server...
by -W0kk3L-
Tue Aug 30, 2005 1:04 pm
Forum: Archive
Topic: Listening to socket
Replies: 11
Views: 7625

demond wrote:did you bother to read the whole page? there's an example at the bottom
Yes, i bothered to read the whole page. And most likely i need some help with it, else i wouldn't ask for it. Please only reply if you can actually help. This is not helping me at all. I'm new to the socket stuff with tcl.
by -W0kk3L-
Tue Aug 30, 2005 11:55 am
Forum: Archive
Topic: Listening to socket
Replies: 11
Views: 7625

So for me that's most likely useless. I do found this one, but that says the server parameter only takes care of the connection, and not any data. (http://www.tcl.tk/man/tcl8.3/TclCmd/socket.htm) Can you please help out, instead of sending just a link? I don't need help with coding the whole thing. ...
by -W0kk3L-
Tue Aug 30, 2005 11:47 am
Forum: Archive
Topic: Listening to socket
Replies: 11
Views: 7625

Is that TCL for eggdrop?
by -W0kk3L-
Tue Aug 30, 2005 11:13 am
Forum: Archive
Topic: Listening to socket
Replies: 11
Views: 7625

Listening to socket

Howdi, I'm trying to create a tcl script that listens to a specific port. I'm sending from a C program i've written, and i want all data that is send to the bot to be displayed in a specific chan. But do i need to use this?: if {[catch {socket -myaddr "123.456.789.012" -server Server 12345...
by -W0kk3L-
Tue Jul 26, 2005 1:09 pm
Forum: Archive
Topic: Joining a channel with conditions
Replies: 2
Views: 1897

Works perfectly... thank you! :)
by -W0kk3L-
Tue Jul 26, 2005 12:36 pm
Forum: Archive
Topic: Joining a channel with conditions
Replies: 2
Views: 1897

Joining a channel with conditions

I've got a question... For my newsbot i have created a requestscript, so people can request the bot. I've built in some checks so the bot doesn't join bogus channels etc. When the bot is requested it joins the channel and checks stuff like the number of clients, L or Q present, S not present....etc....
by -W0kk3L-
Tue Jul 26, 2005 12:23 pm
Forum: Archive
Topic: Joining a channel with conditions
Replies: 1
Views: 1657

Joining a channel with conditions

I've got a question... For my newsbot i have created a requestscript, so people can request the bot. I've built in some checks so the bot doesn't join bogus channels etc. When the bot is requested it joins the channel and checks stuff like the number of clients, L or Q present, S not present....etc....
by -W0kk3L-
Sun Jun 12, 2005 5:05 am
Forum: Archive
Topic: Script
Replies: 4
Views: 2380

Rough code indeed :)

Code: Select all

   } esle {  
But nice piece of code ;b
by -W0kk3L-
Mon Jun 06, 2005 1:45 pm
Forum: Archive
Topic: Question about interrupting a script
Replies: 7
Views: 3614

Question about interrupting a script

Here i am again, with a small question. I don't know if it's possible, so i will ask the wise men and women :) I've got a script running which does a SQL query. The query returns (or can return) a large amount of data (like 10 to 20 lines of data) to the IRC channel. Is it possible to implement a co...
by -W0kk3L-
Sun Jun 05, 2005 6:51 am
Forum: Archive
Topic: Binding time
Replies: 3
Views: 2483

I know.. already did that. The proc doesn't have any parameters. Weird... well lets see if it works tomorrow. Restarted the bot, so maybe that helps...
by -W0kk3L-
Sun Jun 05, 2005 3:12 am
Forum: Archive
Topic: Binding time
Replies: 3
Views: 2483

Binding time

Howdi, Can anyone tell me what i'm doing wrong? I'm trying to schedule a certain proc to start on 9am, every day. But for some reason it doesn't work. Currently i have this in the tcl: bind time - "00 09 * * *" nex_addip2cheatr When running manual, the script works fine. But when it needs ...
by -W0kk3L-
Fri Jun 03, 2005 10:13 am
Forum: Archive
Topic: Question about date
Replies: 4
Views: 3049

Hehhee :D 8)
by -W0kk3L-
Fri Jun 03, 2005 6:20 am
Forum: Archive
Topic: Question about date
Replies: 4
Views: 3049

Never mind, found it! :)

[clock format [clock scan "yesterday"] -format %Y-%m-%d]

A new command for me ;b
by -W0kk3L-
Fri Jun 03, 2005 6:14 am
Forum: Archive
Topic: Question about date
Replies: 4
Views: 3049

Question about date

A small question about the date... with "set date [strftime %Y-%m-%d]" in get the current date like 2005-06-03, but how do i get yesterdays date? Can i still use strftime or do i need to use 'clock', and if so, how?

Thnx for the help in advance ;)