mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2006
Posts: 11
noir Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Sep 2006
Posts: 11
I'm looking for a script that will auto voice a capped up name upon entering a channel and devoice them if they should lowercase their name within the confines of said channel... is that possible?

Any help would greatly be appreciated...

Thank you


Script Challenged.
Joined: Jul 2006
Posts: 107
L
Vogon poet
Offline
Vogon poet
L
Joined: Jul 2006
Posts: 107
Change #mychannel to your channel name.
This only works if you are opped.

Code:
on @*:JOIN:#mychannel: {
  if ($nick isupper) mode $chan +v $nick
}

on @*:NICK:#mychannel: {
  if ($newnick !isupper) mode $chan -v $newnick
}


LonDart
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Slight correction to the ON NICK event, as it's not channel specific.
Code:
on *:NICK:{
  if ($newnick !isupper) && ($me isop #mychannel) .mode $v2 -v $newnick
}

Joined: Sep 2006
Posts: 11
noir Offline OP
Pikka bird
OP Offline
Pikka bird
Joined: Sep 2006
Posts: 11
My thanks to you both for your help - I appreciate it.

I'll definitely give it a whirl.

Again, thank you.


Script Challenged.

Link Copied to Clipboard