multi-server - 01/03/05 05:38 AM
I've been working on this for almost a day now. And i'm afraid that i've been stumped.
As u can see the code above allows me to message specific channel(s) by reading from a txt the channel name. That works perfect. What i'm trying to do, is multi-server message to specific channels that are in the txt file. Now for instance. I may be on #channel1 and #channel2 on one server, but I'm on #channel3 and #channel4 on another. Therefore I can't just have it message every channel that i'm on, because it would send to channels that don't exist.
I hope i've explained what I'm look for help for, if not let me know and I will try to explain further.
Thanks in advance,
arkt1k
Code:
msgx { %xs = 1 :blah while (%xs <= $lines(mp3chans.txt)) { %xme = $read(mp3chans.txt,%xs) inc %xs 1 .privmsg %xme $1- .echo -i25 %xme 9[ $+ 11 $+ $timestamp $+ 9] [ $+ 11 $+ %xme $+ /11 $+ $me $+ 9] 11 $1- } }
As u can see the code above allows me to message specific channel(s) by reading from a txt the channel name. That works perfect. What i'm trying to do, is multi-server message to specific channels that are in the txt file. Now for instance. I may be on #channel1 and #channel2 on one server, but I'm on #channel3 and #channel4 on another. Therefore I can't just have it message every channel that i'm on, because it would send to channels that don't exist.
I hope i've explained what I'm look for help for, if not let me know and I will try to explain further.
Thanks in advance,
arkt1k