Copying channel msg to another channel - 02/05/23 06:30 PM
Hello everyone, I have a problem with my new script, I always get an error!
The old script for msg channel copie is this!
The old script for msg channel copie is this!
Code
OLD_SCRIPT CODE COPY MSG CHANNEL on *:TEXT:*:#irc-channel:{ if $network == irc-server { scid -at1 relay $unsafe($chan $1-) } } alias -l relay { if $network == irc-server && $me ison #irc-channel { msg #irc-channel $2- } }
Code
NEW SCRIPT COED COPY MSG CHANNEL BY TRIGGER WORD on *:TEXT:*:#irc-channel:{ if ($network == irc-server) { if (trigger-word,strip($1-),32) { .scid -at1 relay $nick $1- } } } on *:TEXT:*:#irc-channel:{ if ($network == irc-server) { if ($istok(trigger-word,strip($1-),32)) { .scid -at1 relay $nick $1- } } }
So the new script should only make the ANNOUNCED MESSAGE COPY from an irc network channel with a TRIGGER WORD
but only get error and so on displayed unfortunately
but only get error and so on displayed unfortunately
greets to all