Sir_Fz: A couple of questions to this tcl code.
First Question
Is it possible to make it that you can either state the nickname you want the command to be issued for, or if no nickname is stated then it will do the command for the nickname that issued the command.
Example:
<nickname> !beer MrX
* bot brings MrX a nice cold beer
or
(nickname) !beer
*bot brings (nickname) a nice cold beer
Second question:
Is there any chance of making it that you can add a command that makes the bot select a diffrent item from a list of items and a diffrent action for the responses each time the comand is issued?
Example of the command that would be set:
(owner) !addcommand !beer (pulls out (a fine|an excellent|an excquisite|a tasty|a nicely refined)
| pours a (pint|litre|quart) of (Guinness|Amstel|Castle|Jever|Yuengling Lager|Black Label|Piraat|Franziskaner Hefeweizen) for
(nickname) !beer
*bot pulls out an excellent litre of Yuengling Lager for (nickname)
next time the command is issued it responds diffrently.
(nickname) !beer MrX
*bot pours a pint of Guinness for MrX
Third Question
Is it possible to make it that you can add a command that is 2 words?
Example:
(owner) !addcommand !beer me
(nickname) !beer me
*bot pours a quart of Amstel for (nickname)
If this is asking for to much just tell me, i just thought it would be nice to add abit more functionalty to this tcl, make the bot have diffrent responses for the same command
Thanks for any help you can give on this