arcade sper ca nu te superi daca iti dau niste sfaturi/tips
E un script functional dar cu prea multe linii si prea multe lucruri in plus, ai putea face asa ceva folosind mult mai putine linii de cod.
Citeste:
http://www.tcl.tk/man/tcl8.5/TclCmd/array.htm
Code:
(6) PUBM (stackable)
bind pubm <flags> <mask> <proc>
procname <nick> <user@host> <handle> <channel> <text>
Description: just like MSGM, except it's triggered by things said
on a channel instead of things /msg'd to the bot. The mask is
matched against the channel name followed by the text and can
contain wildcards. Also, if a line triggers a PUB bind, it will not
trigger a PUBM bind.
Module: irc
Ai putea face un bind pubm - * proc
si ai pune !commands !eggs la cuvinte keye
P.S Nu am timp sa termin cod, dar o sa il pun in 2/3 zile.