This script will auto op all users who join your channel.
WARNING: Giving the wrong person op's isn't a very good idea. I only made this script b/c users have been requesting it!
NOTE: IF you wish you can change
mode $chan +o $nick }
to +v and that will auto voice users!
Steps:
1.) Place this in your remote section of your IRC Script Editer
2.) Change
on *:JOIN:#yourchan:{
to your channel you want auto op
3.) The you are done!
######################
### This Script was made by Lucas (PureBlood) on irc.ewfs.net
### If you have any questions/complaint/suggestions please email
### at: rcb_flying_eagles_football05@hotmail.com
######################
on *:JOIN:#yourchan:{
if ($nick == $me) { halt }
if ($me isop $chan) {
notice $nick 12Welcome to the $chan $nick $+ !
mode $chan +o $nick }
}
Sorry, Jethro_, the reason I said you might as well check $nick == NickHere is because the code you suggested was no more secure than that. If you are comparing the current address of the person triggering the event (nick!ident@host) against, for example, $address(NickHere,2), the script will be comparing the triggered address with the address of whoever is currently using NickHere.
With that being the case, anyone using NickHere would validate correctly as the desired person.
Jethro_, if you are going to use that first method you might as well check for $nick == NickHere.
The second method is the same deal but it looks at the current address of the nickname compared to the address of the person in the event.
Also, you don't need the iswm operator if you have no wildcard comparison, which is the case when you compare one full address to another full address.
AndroidKnight, use this.
if (*!camron@jackdaniels.aint.got.shoot.on.me iswm $fulladdress) {