I created a very simple script to copy topic changes from one channel on one network to another channel on a separate network, but I'm having issues when the original topic contains this character: |
Here is the script in question:
on username:TOPIC:#originalchannel: {
/scon 1 /topic #newchannel $1-
/scon 1 /msg #newchannel $1-
}
This should work just fine but that character "|" makes it try it as though everything after that is a new command...
* Freebird changes topic to 'Welcome! | Main Website Link | Discussion Boards Link | '
changes the topic in the secondary channel to be 'Welcome!' and gives two errors in the Status of the other network.
TLDR: how do I stop | from meaning its a separate command?
Thanks for any help anyone can provide!
Comatica