triggered dcc - 14/03/05 10:52 PM
Ok, i've tried this quite a few times and not had much luck getting to work.
When someone types a trigger in my channel like !rules, I would like it to DCC CHAT the person and read a text file of the rules in the DCC chat rather then DCC Send the text file and they have to look at it manually.
Example
<nick1> !rules
* me requests a DCC Chat with nick1 and nick1 accepts
* me reads rules.txt in the dcc chat to nick1
* me closes the DCC chat with nick1 upon completion of reading the text file
Can someone explain an easy way to do this?
At the moment I just use splay in a query, but there are many lines in the text file so it's not very ideal to use this method.
When someone types a trigger in my channel like !rules, I would like it to DCC CHAT the person and read a text file of the rules in the DCC chat rather then DCC Send the text file and they have to look at it manually.
Example
<nick1> !rules
* me requests a DCC Chat with nick1 and nick1 accepts
* me reads rules.txt in the dcc chat to nick1
* me closes the DCC chat with nick1 upon completion of reading the text file
Can someone explain an easy way to do this?
At the moment I just use splay in a query, but there are many lines in the text file so it's not very ideal to use this method.