- 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: Select all
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
}