Command that adds/removes a command - 28/02/14 10:35 PM
I know there's quite a few of these around but they were either not working for me or not what I was looking for.
I would like to create a script that allows OPs to use the following commands.
So for example if an OP types
Whenever any other OP types !apples, it should reply 'I love apples'.
Thank you.
EDIT:
I would also like to be able to put the commands on a timer. Something like !repeat <!command> 120 and it should repeat every 120 seconds and then !repeat <!command> off.
I would like to create a script that allows OPs to use the following commands.
Quote:
!commandadd <!commandname> <text>
!commandremove <!commandname>
!commandremove <!commandname>
So for example if an OP types
Quote:
!commandadd !apples I love apples.
Whenever any other OP types !apples, it should reply 'I love apples'.
Thank you.
EDIT:
I would also like to be able to put the commands on a timer. Something like !repeat <!command> 120 and it should repeat every 120 seconds and then !repeat <!command> off.