How can I make a delay on the flood from my bot to the user. Quakenet seems to kick my bot when it "floods" either the channel or the PM to the person making an request from it
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2003-07-15
check the sleep or usleep commands. Or optimize the output.
the real answer would be dcc-chat, i guess, but that's under development
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
How can I make a delay on the flood from my bot to the user. Quakenet seems to kick my bot when it "floods" either the channel or the PM to the person making an request from it
check the sleep or usleep commands. Or optimize the output.
the real answer would be dcc-chat, i guess, but that's under development
NO! Don't use sleep or usleep.
Setting setSenddelay() to the right value is the right way.. read about this method the documentation....