Advertisement
Guest User

Untitled

a guest
Nov 14th, 2014
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. on *:text:!links*:#: {
  2. if ($nick isop #) {
  3. if ($2 == on) {
  4. if (%links) {
  5. msg # Link protection is already enabled
  6. return
  7. }
  8. else {
  9. msg # Link protection enabled
  10. set %links On
  11. return
  12. }
  13. }
  14. if ($2 == off) {
  15. if (%links) {
  16. msg # Link protection disabled
  17. unset %links on
  18. return
  19. }
  20. else {
  21. msg # Link protection is already disabled
  22. return
  23. }
  24. }
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement