CaptainHollyShort I think you miss the entire point to the script. How on earth would on *:JOIN: be any use to the aim of this script?
And how is any mIRC script going to control access to channel noticing as a whole? I\'m not sure you know what a \"channel notice\" is.
Please read the description and code properly before passing comment.
This script has been designed for scripts that need to make a decision out of two options. The script will generate a random integer in mIRC (which alone is usually biased, in some peoples opinions (do not discuss this here please), and performs an MD5 hash on it. MD5 hash will be made of 32 characters, a mix of numbers and alphas. The script will go through the hash until it gets to a number. Then,..
This script will notice a channel. However, for notices to be sent to an entire channel mode -N must be set, which leaves channel-noticing open for anyone to use (or abuse). This script will set mode -N, notice the channel, and then set +N back on. The user with the code as it is below must be opped (or with mode-setting privilages). This script can also be used locally; do_notice #channel myname Text..