Advertisement
Guest User

Untitled

a guest
Jun 26th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. menu channel {
  2. Auto-Ghost:
  3. .Resetdata
  4. ..Resetnick:/resetnick
  5. ..Resetpassword:/resetpass
  6. ..Resetboth:/resetboth
  7. .Scan:/ghostcheck
  8.  
  9. alias resetnick {
  10. unset %db
  11. set %db $$?="What is your new nick to protect?"
  12. }
  13. alias resetpass {
  14. unset %dp
  15. set %dp $$?="What is your new nickserv password?"
  16. }
  17. alias resetboth {
  18. unset %db
  19. unset %dp
  20. set %dp $$?="What is your new nickserv password?"
  21. set %db $$?="What is your new nick to protect?"
  22. }
  23. alias identify {
  24. /nick %db
  25. timer 1 1 /ns identify %dp
  26. }
  27. alias Ghostcheck {
  28. /echo $active 4*** Carrying out Ghost-check ***
  29. if (%db ison $chan) || ($me != %db) {
  30. /ns ghost %db %dp
  31. /echo $active 4*** Ghost is killed ***
  32. timer 1 1 /identify
  33. }
  34. elseif ($me == %db) {
  35. timer 1 1 /echo $active *** No Ghost nicks of you ***
  36. }
  37. }
  38.  
  39. on *:JOIN:#:/Ghostcheck
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement