If someone could just point me in the right direction for writing this script that'd be great, you don't have to write it or anything, I'm just searching for ideas....
I'm looking to have eggdrop message a privatemsg sent by an op to all the people with similar tags in their name (i.e. everyone's tag in the channel that starts with "n|"). Does anyone have any ideas on how to go about doing this? I'm relatively new to tcl and I've read through a couple tutorials but I'm not sure how to approach the situation. I'm guessing it would be a foreach loop of some kind?
Okay, here's where I've gotten so far. I'm just having trouble getting eggdrop to distinguish the "n|" at the beginning of everyone's name who should be receiving the PRIVMSG.
Thanks for the help guys. I tried that script from strikelight but it didn't seem to work. The command should just be ".nmsg <text>" (without the quotes or <>) in the channel, right? If I wanted it to work so that I just pm'ed the bot to spead a message, that should be possible as well I'm guessing?
Sorry to be a pain but thanks for the tips. Learning in progress.