Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.00 KB | None | 0 0
  1. on *:TEXT:!add autojoin*:?: {
  2. if ($nick == wooolly) {
  3. if (!$3) {
  4. msg $nick 11please add the 7channel 11you wish to add to my 12autojoin list
  5. halt
  6. }
  7. if ($readini(autojoin.ini,chans,$3) == no) {
  8. /ns ajoin add $3
  9. writeini autojoin.ini chans $3 $3
  10. msg $nick 12 $+ $3 14added to autojoin list
  11. halt
  12. }
  13. if ($readini(autojoin.ini,chans,$3) == $3) {
  14. msg $nick 12 $+ $3 15is already on my autojoin list
  15. halt
  16. }
  17. }
  18. }
  19. on *:TEXT:!del autojoin*:?: {
  20. if ($nick == wooolly) {
  21. if (!$3) {
  22. msg $nick 11please add the 7channel 11you wish to del from my 12autojoin list
  23. halt
  24. }
  25. if ($readini(autojoin.ini,chans,$3) == $3) {
  26. /ns ajoin del $3
  27. writeini autojoin.ini chans $3 no
  28. msg $nick 12 $+ $3 14deleted from autojoin list
  29. halt
  30. }
  31. if ($readini(autojoin.ini,chans,$3) == no) {
  32. msg $nick 12 $+ $3 15isn't on my autojoin list
  33. halt
  34. }
  35. }
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement