i have tried many things but nothing worked in any way,
can some1 help me code something like !add !delete and !edit
which do the following:
on text:
!add [command] [text]
add the [command] to on *:TEXT:[--->HERE<----]:#[$chan]:
and the text to { msg $chan [---->HERE<----]}
!delete [command]
removes (example:) on *:TEXT:hello:#davidiogame: { msg $chan Welcome to the cast!}
!edit [command] [text]
same thing as !add but it changes already existing command...
also the command will be available to the channel(twitch.tv) it was added in only
this is available to op (moderators) only.
and the same command cant be added twice. (make it reply that it already exists)
please help me with this
thanks..