This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
-
ORATEGOD
- Voice
- Posts: 39
- Joined: Mon Jun 08, 2020 5:50 pm
Post
by ORATEGOD »
Someone who can tell me ... if it is possible this MRC pass it to a TCL ...
I already appreciate your response ...
sorry for my bad English.
Code: Select all
on *:text:*New*Releases*:#Chan1: {/msg #Chan2 $1- }
-
ComputerTech
- Master
- Posts: 399
- Joined: Sat Feb 22, 2020 10:29 am
-
Contact:
Post
by ComputerTech »
Something like this Perhaps?
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)"
}
Untested
ComputerTech
-
CrazyCat
- Revered One
- Posts: 1236
- Joined: Sun Jan 13, 2002 8:00 pm
- Location: France
-
Contact:
Post
by CrazyCat »
$1- means the line which binds the trigger.
So the script might be:
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"
}
-
ORATEGOD
- Voice
- Posts: 39
- Joined: Mon Jun 08, 2020 5:50 pm
Post
by ORATEGOD »
Thank you very much for your help ... you are geniuses !!