I already appreciate your response ...
sorry for my bad English.
Code: Select all
on *:text:*New*Releases*:#Chan1: {/msg #Chan2 $1- }
Code: Select all
on *:text:*New*Releases*:#Chan1: {/msg #Chan2 $1- }
Code: Select all
set catch(words) {
"*New Releases*"
}
set catch(message) {
"set your message here"
}
foreach word $catch(words) {bind pubm -|- "$word" catch:word}
proc catch:word {nick uhost hand chan text} {
global catch
putserv "PRIVMSG $chan :$catch(message)"
}
Code: Select all
set catch(words) {
"*New Releases*"
}
set chanin "#chan1"
set chanout "#chan2"
foreach word $catch(words) {bind pubm -|- "$chanin $word" catch:word}
proc catch:word {nick uhost hand chan text} {
putserv "PRIVMSG $::chanout :$text"
}