Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on *:text:!links*:#: {
- if ($nick isop #) {
- if ($2 == on) {
- if (%links) {
- msg # Link protection is already enabled
- return
- }
- else {
- msg # Link protection enabled
- set %links On
- return
- }
- }
- if ($2 == off) {
- if (%links) {
- msg # Link protection disabled
- unset %links on
- return
- }
- else {
- msg # Link protection is already disabled
- return
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement