For what you said first, it does that in the main section. The modes with the bot aren't terribly useful, but I use them enough to make it part of my menu. You can remove them if you like. Either way, I've added the un-mute function. :)
That means that an option called 'Timed Message!' is what you click, after right clicking on a nickname. The on *:dialog:timed:sclick:6: is just a way for the script to react to you pressing button number 6 in the dialog.
on *:CONNECT:{
set %con 1
while (%con <= $lines(ajoin.txt)) {
join $read(ajoin.txt,%con))
inc %con 1
}
}
You don't need to do that:
on *:CONNECT:.play -cs ajoin.txt
You could also expand this script by writing to a different filename for different networks (something like write ajoin. $+ $network $+ .txt $did(2) instead).
If you did that, you could make the connection part be something like this:
on *:CONNECT:.play -cs ajoin. $+ $network $+ .txt