Advertisement
Guest User

Untitled

a guest
May 8th, 2017
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.93 KB | None | 0 0
  1. menu * {
  2. -
  3. Planet51.Script:Dialog -m Planet51-CSS-Script-Admins Planet51-CSS-Script-Admins
  4. }
  5.  
  6. dialog Planet51-CSS-Script-Admins {
  7. title "Admins,Masters,Owners Dialog By Planet51.Crew"
  8. size -1 -1 200 168
  9. option dbu
  10. tab "Login", 1, 0 0 235 167
  11. edit "", 9, 44 44 50 10, tab 1
  12. text " Password:", 10, 100 44 27 8, tab 1
  13. edit "", 11, 130 44 50 10, tab 1
  14. button "Connect", 12, 74 60 37 12, tab 1
  15. text " UserName:", 6, 6 44 29 8, tab 1
  16. box "!Login - - - - Script By Planet51", 7, 2 24 196 142, tab 1
  17. tab "Start", 2
  18. box "!Start - - - - Script By Planet51 ", 26, 2 24 196 120, tab 2
  19. text " Map:", 27, 6 48 15 8, tab 2
  20. edit "", 28, 24 48 50 10, tab 2
  21. text " Pass-Server:", 29, 6 68 33 8, tab 2
  22. edit "", 30, 44 68 50 10, tab 2
  23. text " Pass-Team A:", 31, 6 88 35 8, tab 2
  24. edit "", 32, 44 88 50 10, tab 2
  25. text " Pass-Team B:", 33, 6 108 35 8, tab 2
  26. edit "", 34, 44 108 50 10, tab 2
  27. button "Start-Bot1", 35, 132 40 47 10, tab 2
  28. button "Notice-Bot1", 38, 8 150 67 12, tab 2
  29. box "!Notice - - - - Script By Planet51", 39, 4 144 192 22, tab 2
  30. button "Start-Bot2", 22, 132 58 47 10, tab 2
  31. button "Stop-1", 23, 132 76 47 10, tab 2
  32. button "Stop-2", 24, 132 94 47 10, tab 2
  33. button "End-1", 25, 132 112 47 10, tab 2
  34. button "End-2", 36, 132 130 47 10, tab 2
  35. button "Notice-Bot2", 37, 114 150 67 12, tab 2
  36. tab "Add/Del-Admin", 3
  37. box "!Add-A - - - - Script By Planet51", 40, 2 24 196 140, tab 3
  38. text " UserName:", 42, 6 46 29 8, tab 3
  39. text " Password:", 43, 6 66 27 8, tab 3
  40. text " SteamID:", 44, 6 86 25 8, tab 3
  41. edit "", 45, 38 46 50 10, tab 3
  42. edit "", 46, 38 66 50 10, tab 3
  43. edit "", 47, 38 86 50 10, tab 3
  44. button "Add-Admin", 48, 122 64 49 18, tab 3
  45. button "Del-Admin", 15, 122 120 49 18, tab 3
  46. text " UserName:", 13, 6 126 29 8, tab 3
  47. edit "", 14, 38 126 50 10, tab 3
  48. tab "Add/Del-Master", 4
  49. edit "", 50, 38 46 50 10, tab 4
  50. edit "", 51, 38 86 50 10, tab 4
  51. edit "", 52, 38 66 50 10, tab 4
  52. text " UserName:", 53, 6 46 29 8, tab 4
  53. text " Password:", 54, 6 66 27 8, tab 4
  54. text " SteamID:", 55, 6 86 25 8, tab 4
  55. button "Add-Master", 56, 122 64 49 18, tab 4
  56. box "!Add-M - - - - Script By Planet51", 41, 2 24 196 140, tab 4
  57. button "Del-Master", 16, 122 120 49 18, tab 4
  58. edit "", 18, 38 126 50 10, tab 4
  59. text " UserName:", 19, 6 126 29 8, tab 4
  60. tab "Add/Del-Owner", 5
  61. box "!Add-O - - - - Script By Planet51", 58, 2 24 196 140, tab 5
  62. edit "", 60, 38 46 50 10, tab 5
  63. text " Password:", 61, 6 66 27 8, tab 5
  64. edit "", 62, 38 66 50 10, tab 5
  65. text " SteamID:", 63, 6 86 25 8, tab 5
  66. edit "", 64, 38 86 50 10, tab 5
  67. button "Add-Owner", 65, 122 64 49 18, tab 5
  68. text " UserName:", 8, 6 46 29 8, tab 5
  69. button "Del-Owner", 17, 122 120 49 20, tab 5
  70. text " UserName:", 20, 6 126 29 8, tab 5
  71. edit "", 21, 38 126 50 10, tab 5
  72. }
  73.  
  74.  
  75.  
  76. alias Planet51-CSS-Script-Admins { dialog $iif($dialog(Planet51-CSS-Script-Admins),-v Planet51-CSS-Script-Admins,-m Planet51-CSS-Script-Admins Planet51-CSS-Script-Admins) }
  77.  
  78. on *:dialog:Planet51-CSS-Script-Admins:sclick:*: {
  79. if ($did = 12) {
  80. msg [P51]GathersCSS !login $did(9) $did(11)
  81. msg [P51]GathersCSS !login $did(9) $did(11)
  82. echo Loging in..
  83. }
  84. if ($did = 35) {
  85. msg [P51]GathersCSS !start $did(28) $did(30) $did(32) $did(34)
  86. echo Starting a gather... in gatherbot (#1)
  87. }
  88. if ($did = 22) {
  89. msg [P51]GathersCSS !start $did(28) $did(30) $did(32) $did(34)
  90. echo Starting a gather... in gatherbot (#2)
  91. }
  92. if ($did = 23) {
  93. msg [P51]GathersCSS !Stop
  94. }
  95. if ($did = 24) {
  96. msg [P51]GathersCSS !Stop
  97. }
  98. if ($did = 25) {
  99. msg [P51]GathersCSS !end
  100. }
  101. if ($did = 36) {
  102. msg [P51]GathersCSS !end
  103. }
  104. if ($did = 38) {
  105. msg #Planet51.Source !notice
  106. echo Sending a notice (Gatherbot #1)
  107. }
  108. if ($did = 37) {
  109. msg #Planet51.Source @notice
  110. echo Sending a notice (Gatherbot #2)
  111. }
  112. if ($did = 48) {
  113. msg [P51]GathersCSS !add-a $did(45) $did(46) $did(47)
  114. timer 1 1 msg [P51]GathersCSS !add-a $did(45) $did(46) $did(47)
  115. echo Adding admin ( $+ $did(45) $+ )
  116. }
  117. if ($did = 15) {
  118. msg [P51]GathersCSS !del-a $did(14)
  119. timer 1 1 msg [P51]GathersCSS !del-a $did(14)
  120. echo Deleting admin ( $+ $did(14) $+ )
  121. }
  122. if ($did = 56) {
  123. msg [P51]GathersCSS !add-m $did(50) $did(52) $did(51)
  124. timer 1 1 msg [P51]GathersCSS !add-m $did(50) $did(52) $did(51)
  125. echo Adding master ( $+ $did(50) $+ )
  126. }
  127. if ($did = 16) {
  128. msg [P51]GathersCSS !del-m $did(18)
  129. timer 1 1 msg [P51]GathersCSS !del-m $did(18)
  130. echo Deleting master ( $+ $did(18) $+ )
  131. }
  132. if ($did = 65) {
  133. msg [P51]GathersCSS !add-o $did(60) $did(62) $did(64)
  134. timer 1 1 msg [P51]GathersCSS !add-o $did(60) $did(62) $did(64)
  135. echo Adding owner ( $+ $did(60) $+ )
  136. }
  137. if ($did = 17) {
  138. msg [P51]GathersCSS !del-o $did(21)
  139. timer 1 1 msg [P51]GathersCSS !del-o $did(21)
  140. echo Deleting owner ( $+ $did(21) $+ )
  141. }
  142. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement