dcc respond - 01/01/06 08:04 PM
Hi,
I have this bot that respond on text.
Now I would like it to send me a piece of text from a txt file on command.
For example:
let it read the [help] part in the txt flie on command .help
I have this for respond on text in query:
I know for dcc it starts like this
But how do I let the bot send a specific part of text back to me by dcc chat ?
Thanks for helping
Greetzz
I have this bot that respond on text.
Now I would like it to send me a piece of text from a txt file on command.
For example:
let it read the [help] part in the txt flie on command .help
I have this for respond on text in query:
Code:
on 1600:text:*:#:{ if ($1 == %c $+ help) { if ($2 == spelletjes) { if ($3 == trivia) play -ttrivia $nick txt\EigenaarHelp.txt 200 else play -tspelletjes $nick txt\EigenaarHelp.txt 200 } else { /play -twelkom $nick txt\EigenaarHelp.txt 200 } } else { /msg $nick Sorry, onbekend commando } }
I know for dcc it starts like this
Code:
on 1600:text:*:CHAT:{ if ($1 == %c $+ help) { if ($2 == spelletjes) { if ($3 == trivia)
But how do I let the bot send a specific part of text back to me by dcc chat ?
Thanks for helping
Greetzz