ChanMode Letters

By Kirbeh_Pr0nz on May 21, 2009

A popup i made of channel mode letters. I was bored and had nothing else left to do. halfway through it i kinda got lazy on the coding. soooo, yea. ;p

menu * {
Channel Mode Letters
.No Parameters
..+c:{ if ($?!="+c stands for 'No Control Codes'. This will prevent any user who isn't a owner, protected, opped, half-opped or voiced (+q/+a/+o/+h/+v) from sending messages to the channel containing control codes with the exception of CTCP and ISO-2022. Would you like to add this mode to your channel?") /mode $$?:"Channel?" +c | else { halt } }
..+n:{ if ($?!="+n stands for 'No External Messages'. This will prevent any user who isn't in the channel from sending messages to the channel. Would you like to add this mode to your channel?") /mode $$?:"Channel?" +n | else { halt } }
..+t:{ if ($?!="+t stands for 'Ops Topic'. This will prevent any user who isn't opped, or half-opped (+o/+h) from setting a channel topic. Would you like to add this mode to your channel?") /mode $$?:"Channel?" +t | else { halt } }
..+s:{ if ($?!="+s stands for 'Secret'. This will prevent the channel from being shown in a /whois, and in the channel list. Would you like to add this mode to your channel?") /mode $$?:"Channel?" +s | else { halt } }
..+p:{ if ($?!="+p stands for 'Paranoia'. This will prevent halfops from setting +h/-h and kicking other halfops, prevent knocks if the channel is locked (+i/k/l), and show invite notices when a user is invited if +i is set. Would you like to add this mode to your channel?") /mode $$?:"Channel?" +p | else { halt } }
..+m:{ if ($?!="+m stands for 'Moderated'. This will prevent any user who isn't a owner, protected, opped, half-opped or voiced (+q/+a/+o/+h/+v) from talking in the channel. Would you like to add this mode to your channel?") /mode $$?:"Channel?" +m | else { halt } }
..+i:{ if ($?!="+i stands for 'Invite only'. This will prevent anyone from joining your channel who hasn't received an /invite or whose host isn't in the +I list. Would you like to add this mode to your channel?") /mode $$?:"Channel?" +i | else { halt } }
..+z: //echo -a +z stands for 'Persist'. This will prevent the channel from being destroyed when last user leaves. Only Services may set this mode.
..+B:{ if ($?!="+B stands for 'Bandwith Saver'. This will prevent anyone set away, or idle for longer than 30 minutes from receiving channel messages. Would you like to add this mode to your channel?") /mode $$?:"Channel?" +B| else { halt } }
..+M:{ if ($?!="+M stands for 'ModReg'. This will prevent any user who isn't a owner, protected, opped, half-opped or voiced (+q/+a/+o/+h/+v) from talking in the channel if they havent identified to their nickname. Would you like to add this mode to your channel?") /mode $$?:"Channel?" +M | else { halt } }
..+N:{ if ($?!="+N stands for 'No Notices'. This will prevent any user who isn't a owner, protected, opped, half-opped or voiced (+q/+a/+o/+h/+v) from sending channel notices. Would you like to add this mode to your channel?") /mode $$?:"Channel?" +N | else { halt } }
..+O: //echo -a +O stands for 'Oper Only'. This will prevent anyone from joining your channel who is not an IRC Operator. Only IRC Operators may set this mode.
..+R:{ if ($?!="+R stands for 'Registered Only'. This will prevent anyone from joining your channel if they have not identified to their nickname. Would you like to add this mode to your channel?") /mode $$?:"Channel?" +R | else { halt } }
..+S:{ if ($?!="+S stands for 'SSL Only'. This will prevent anyone from joining your channel if they are not connected via SSL. Would you like to add this mode to your channel?") /mode $$?:"Channel?" +S | else { halt } }
.With Parameters
..+k:{ if ($?!="+k stands for 'Key'. This will require users joining to know the key, they must then use /join #channel KEY. Would you like to add this mode to your channel?") /mode $$?:"Channel?" +k $$?:"Key?" | else { halt } }
..+l:{ if ($?!="+l stands for 'Limit'. This will prevent more than LIMIT number of people in the channel at any time. Would you like to add this mode to your channel?") /mode $$?:"Channel?" +l $$?:"Limit number of users?"| else { halt } }
..+v: //echo -a +v stands for 'Voice'. This will allow a user to talk in a moderated (+m) channel. Shown by the +nick flag.
..+h: //echo -a +h stands for 'Half-op'. This will allow a user to set all of the above modes, (and some more below..), whilst stopping the user from doing harm to the channel.  Users who are +h CANNOT kick opped (+o) users, or set modes +h/-h/+o/-o.
..+o: //echo -a +o stands for 'Op'. This gives the user control over half-opped, voiced, and regular users. An opped user may op other users, set any mode except +q and +a, and remove ops from whoever they want. Opped users cannot perform actions against owners, or protected users.
..+a: //echo -a +a stands for 'Protected/Admin'. This gives the user control over opped, half-opped, voiced, and regular users. A protected/admin user may op other users, set any mode except +q and +a, and remove ops from whoever they want. Protected/admin users cannot perform actions against owners or other protected users.
..+q: //echo -a +q stands for 'Owner'. This gives the user full control over the channel. A owner may owner/protect/op other users, set any mode, and remove owner/protect/ops from whoever they want.
..+b: //echo -a +b stands for 'Ban'. This will prevent a user from entering the channel, based on a nick!ident@host match.
..+e: //echo -a +e stands for 'Exempt'. This will allow a user to join a channel even if they are banned (+b), based on a nick!ident@host match.
..+I:{ if ($?!="+I stands for 'Invite Exempt'. This will allow a user to join an invite-only (+i) channel, based on a nick!user@host match. Would you like to add this?") /mode $$?:"Channel?" +I $$?:"Host? (Format: nick!user@host)" }
}

Comments

Sign in to comment.
^Neptune   -  May 24, 2009

It'd be cooler if you made a dynamic menu - in that it would show all channel types for that server ($chanmodes).

 Respond  
Kirbeh_Pr0nz   -  May 24, 2009

some are only set for ircops to use. since im not an ircoper anywhere, thats how i set it.
and i didnt want to waste time on:

..+v: //echo -a +v stands for 'Voice'. This will allow a user to talk in a moderated (+m) channel. Shown by the +nick flag.
..+h: //echo -a +h stands for 'Half-op'. This will allow a user to set all of the above modes, (and some more below..), whilst stopping the user from doing harm to the channel.  Users who are +h CANNOT kick opped (+o) users, or set modes +h/-h/+o/-o.
..+o: //echo -a +o stands for 'Op'. This gives the user control over half-opped, voiced, and regular users. An opped user may op other users, set any mode except +q and +a, and remove ops from whoever they want. Opped users cannot perform actions against owners, or protected users.
..+a: //echo -a +a stands for 'Protected/Admin'. This gives the user control over opped, half-opped, voiced, and regular users. A protected/admin user may op other users, set any mode except +q and +a, and remove ops from whoever they want. Protected/admin users cannot perform actions against owners or other protected users.
..+q: //echo -a +q stands for 'Owner'. This gives the user full control over the channel. A owner may owner/protect/op other users, set any mode, and remove owner/protect/ops from whoever they want.
..+b: //echo -a +b stands for 'Ban'. This will prevent a user from entering the channel, based on a nick!ident@host match.

because i believe that there are already nicklist popups for that.

 Respond  
miniCruzer   -  May 23, 2009

Nice... I've always wanted explanations of these..

Why do some of the mode explanations come up as echo instead of dialogue with no options to set?

For me, I would add a variable that kept the channel the same so you didn't have to answer every time, but I guess it's good if you own several channels.

This is probably one of the most useful things I have seen!

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.