| View previous topic :: View next topic |
| Author |
Message |
Elfriede Halfop
Joined: 07 Aug 2007 Posts: 67
|
Posted: Thu Oct 23, 2014 1:54 pm Post subject: Bot send text via dcc chat to User(s) |
|
|
Hi everyone
was wondering if theres the possibilty to make the bot respond via dcc chat on certain commands to users?
Meaning: !cmd whatever and the Bot reply's via dcc chat. Every User in the Channel should be able to do so. I need it like this, cause there are quite a lot lines to be sent and using dcc chat should be flood free.
Thanks for helping! |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Sat Oct 25, 2014 9:25 am Post subject: Re: Bot send text via dcc chat to User(s) |
|
|
DCC would require a login.
Does everyone in the channel already have an account in the bot?
Are we assuming that they are always logged into the bot?
Question for you:
On whatever network you use, are querys (a regular private message - not DCC) flood controlled?
Test it, to find out.
If you can use a pm to do your job, then it becomes much more simple. |
|
| Back to top |
|
 |
Elfriede Halfop
Joined: 07 Aug 2007 Posts: 67
|
Posted: Sat Oct 25, 2014 5:59 pm Post subject: |
|
|
Well its my bot so log-in control is no problem.
And yeah, all messages are flood controlled ( Notice, ... ) . |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
|
| Back to top |
|
 |
Elfriede Halfop
Joined: 07 Aug 2007 Posts: 67
|
Posted: Tue Oct 28, 2014 5:55 am Post subject: |
|
|
| Thanks for your support! Trying to script this on my own |
|
| Back to top |
|
 |
willyw Revered One
Joined: 15 Jan 2009 Posts: 1175
|
Posted: Tue Oct 28, 2014 8:34 am Post subject: |
|
|
Excellent!
Let us know how you progress.
If you run into an insurmountable snag, if you wish you can post what you have here:
http://paste.tclhelp.net/
and perhaps we can have a look at it with you.
Bonus:
That particular pastebin does TCL syntax checking - it might help you debug your code. |
|
| Back to top |
|
 |
|