View Single Post
Old 15-10-2005, 22:16   #3 (permalink)
Kurupt
Member
 
Kurupt's Avatar
 
Join Date: Jun 2004
Location: Hermannstadt
Age: 24
Posts: 108
Rep Power: 36
Kurupt will become famous soon enough
Send a message via Yahoo to Kurupt
Default

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.
__________________
Owner of #ro-tcl
Kurupt is offline   Reply With Quote