These go into Alt-R (remotes tab). Click File > New. Then paste whatever of these you want. You should not have both the rules parts in the script... choose one or the other. And, questions like this should be in the scripting forum in the future.
Join message (replace #yourchan with your channel name):
on *:join:#yourchan:{
if ($nick != $me) {
.notice $nick Welcome to the channel. Type !rules to get the rules.
}
}
Sending rules as text (change channel name again):
on *:text:!rules:#yourchan: {
.play $nick rules.txt 1000
}
Just make a rules.txt file in your mIRC folder and it will send it. If you get flooded off the network, change 1000 to 1500.
Sending rules as a file (change channel name again):
on *:text:!rules:#yourchan: {
.notice $nick Sending rules...
dcc send $nick rules.txt
}
Again, just make a rules.txt file in your mIRC folder.