Advertisement
Dawnstar

MrJeff MCM

Jul 3rd, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.26 KB | None | 0 0
  1. ;;1.Copy and paste to ur remote MrJeff.
  2. ;;2.put a pic named MrJeff.jpg in ur mirc folder or the dialog wont load.
  3.  
  4. menu status,channel {
  5. M.C.M %mmccmm
  6. .on:.set $mmccmm *on* | .enable #MCM | .timermcmopen 1 2 .dialog -m lazyfucker lazyfucker
  7. .off:.set $mmccmm *off* | .disable #MCM
  8. .info:.window @MCMINFO | .echo @MCMINFO Make sure there's no conflicts with your other start commands. REMEMBER to place a file MrJeff.jpg in the same directory as the snippet. Just choose ON to begin. This window autocloses in 10 secs | .timermcmclose 1 10 .window -c @MCMINFO
  9. }
  10. dialog lazyfucker {
  11. title "MrJeff Connection Module"
  12. size -1 -1 255 171
  13. option dbu
  14. button "Nick|Pass", 1, 13 18 37 12
  15. button "Channels", 2, 61 18 37 12
  16. button "IRC Server", 3, 110 18 37 12
  17. button "ZNC", 4, 13 51 20 12
  18. button "Nick|Pass", 5, 13 66 37 12
  19. button "Channels", 6, 61 66 37 12
  20. button "IRC Server", 7, 110 66 37 12
  21. button "ZNC2", 8, 13 98 20 12
  22. button "Nick|Pass", 9, 13 113 37 12
  23. button "Channels", 10, 61 113 37 12
  24. button "IRC Server", 11, 110 113 37 12
  25. button "View", 12, 61 153 37 11
  26. icon 13, 162 24 84 95, MrJeff.jpg, 0
  27. text "Cybersindiket Inc. ", 14, 182 138 49 8
  28. box "Settings", 15, 6 8 147 125
  29. box "", 16, 53 132 53 36
  30. button "User", 17, 38 51 20 12
  31. button "Pass", 18, 63 51 20 12
  32. button "User", 19, 38 98 20 12
  33. button "Pass", 20, 63 98 19 12
  34. box "", 21, 175 132 57 19
  35. button "Reinstate", 22, 110 51 37 12
  36. button "Reinstate", 23, 110 98 37 12
  37. button "Help", 24, 61 139 37 11
  38. }
  39.  
  40.  
  41. on *:dialog:lazyfucker:sclick:1:.set %webcnick $?="e.g MrJeff x2345"
  42. on *:dialog:lazyfucker:sclick:2:.set %webcchan $?="separated by commas e.g #1,#2,#3,#4,#5.#6"
  43. on *:dialog:lazyfucker:sclick:3:.set %webcserver $?="the irc server"
  44. on *:dialog:lazyfucker:sclick:4:.set %webrserver1 $?="the znc server"
  45. on *:dialog:lazyfucker:sclick:17:.set %webruser $?="znc username"
  46. on *:dialog:lazyfucker:sclick:18:.set %webruserp $?="znc username pass
  47. on *:dialog:lazyfucker:sclick:5:.set %webrnick $?="e.g MrJeff x2345"
  48. on *:dialog:lazyfucker:sclick:6:.set %webrchan $?="separated by commas e.g #1,#2,#3,#4,#5.#6"
  49. on *:dialog:lazyfucker:sclick:7:.set %webrserver2 $?="the irc server"
  50. on *:dialog:lazyfucker:sclick:8:.set %webzserver1 $?="the znc server"
  51. on *:dialog:lazyfucker:sclick:19:.set %webzuser $?="znc username"
  52. on *:dialog:lazyfucker:sclick:20:.set %webzuserp $?="znc username pass
  53. on *:dialog:lazyfucker:sclick:9:.set %webznick $?="e.g MrJeff x2345"
  54. on *:dialog:lazyfucker:sclick:10:.set %webzchan $?="separated by commas e.g #1,#2,#3,#4,#5.#6"
  55. on *:dialog:lazyfucker:sclick:11:.set %webzserver2 $?="the irc server"
  56. on *:dialog:lazyfucker:sclick:12:.window @MCM | .echo @MCM CONNECTION MODULE: 1. %webcserver - 5,5 %webcnick  - %webcchan | .echo @MCM CONNECTION MODULE: 2. %webrserver1 - %webruser - 4,4 %webruserp  bridging to %webrserver2 - 12,12 %webrnick  - %webrchan | .echo @MCM CONNECTION MODULE: 3. %webzserver1 - %webzuser - 6,6 %webzuserp  bridging to %webzserver2 - 11,11 %webznick  - %webzchan
  57. on *:dialog:lazyfucker:sclick:22:.msg nickserv identify %webrnick | .join %webrchan
  58. on *:dialog:lazyfucker:sclick:23:.msg nickserv identify %webznick | .join %webzchan
  59. on *:dialog:lazyfucker:sclick:24:.window @MCMHELP | .echo @MCMHELP The znc can ONLY connect to the znc servers. Your znc nicks are ALREADY in the server so no need for autojoining. Its called REINSTATE cuz u can reident ur nicks and rejoin ur chans u have set if u want to.
  60.  
  61. #MCM off
  62. on *:start:mcm1 | mcm2 | mcm3 | mcm4
  63. alias mcm1 ( .perform off | .firewall on | .server %webcserver | .timermcm1 1 10 .ns identify %webcnick | .timermcm2 1 12 .join %webcchan }
  64. alias mcm2 { .perform off | .firewall off | .timermcm3 1 15 .firewall off | .timermcm4 1 18 .server -m %webrserver1 | .timermcm5 1 25 .quote pass %webruser $+ : $+ %webruserp }
  65. alias mcm3 { .perform off | .firewall off | .timermcm6 1 35 .firewall off | .timermcm7 1 36 .server -m %webzserver1 | .timermcm5 1 43 .quote pass %webzuser $+ : $+ %webzuserp }
  66. alias mcm4 { .window @MCM } | .echo @MCM The first module will connect u to IRC but the znc modules will not cuz ur nicks are already in the chans. Thus, the nick and chans u have entered in the znc module can be used to reinstate ur nick and channels by clicking REINSTATE. }
  67. #MCM end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement