| View previous topic :: View next topic |
| Author |
Message |
equal1zer Guest
|
Posted: Tue Jan 27, 2004 3:40 pm Post subject: need help ^^ |
|
|
i've tried to make this tcl script, but i have not succeded. I want to make a script that do following things:
- if somebody write something on a chan etc .. *word1*, *word2* ..
- only in #chan1, #chan2 and #chan3
- then i want the bot to copy the hole line that contain one of the words and add [ /msg $nick word1 ] behind..
I also want a script that kick $nick if he part #otherchan if he is on #mychan
and a script that invite a person to #otherchan if he type !chan in #mychan , like i've tried to do with this:
| Code: |
bind pub - !chan pub:!chan
proc pub:!chan {nick host hand chan arg} {
global botnick
if {[llength $arg] > 1} {
notice $nick "Usage: !chan nothing more"
}
notice $nick join #otherchan join here..
invite $nick #otherchan
}
return 1
}
|
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|