Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- menu * {
- -
- Planet51.Script:Dialog -m Planet51-CSS-Script-Admins Planet51-CSS-Script-Admins
- }
- dialog Planet51-CSS-Script-Admins {
- title "Admins,Masters,Owners Dialog By Planet51.Crew"
- size -1 -1 200 168
- option dbu
- tab "Login", 1, 0 0 235 167
- edit "", 9, 44 44 50 10, tab 1
- text " Password:", 10, 100 44 27 8, tab 1
- edit "", 11, 130 44 50 10, tab 1
- button "Connect", 12, 74 60 37 12, tab 1
- text " UserName:", 6, 6 44 29 8, tab 1
- box "!Login - - - - Script By Planet51", 7, 2 24 196 142, tab 1
- tab "Start", 2
- box "!Start - - - - Script By Planet51 ", 26, 2 24 196 120, tab 2
- text " Map:", 27, 6 48 15 8, tab 2
- edit "", 28, 24 48 50 10, tab 2
- text " Pass-Server:", 29, 6 68 33 8, tab 2
- edit "", 30, 44 68 50 10, tab 2
- text " Pass-Team A:", 31, 6 88 35 8, tab 2
- edit "", 32, 44 88 50 10, tab 2
- text " Pass-Team B:", 33, 6 108 35 8, tab 2
- edit "", 34, 44 108 50 10, tab 2
- button "Start-Bot1", 35, 132 40 47 10, tab 2
- button "Notice-Bot1", 38, 8 150 67 12, tab 2
- box "!Notice - - - - Script By Planet51", 39, 4 144 192 22, tab 2
- button "Start-Bot2", 22, 132 58 47 10, tab 2
- button "Stop-1", 23, 132 76 47 10, tab 2
- button "Stop-2", 24, 132 94 47 10, tab 2
- button "End-1", 25, 132 112 47 10, tab 2
- button "End-2", 36, 132 130 47 10, tab 2
- button "Notice-Bot2", 37, 114 150 67 12, tab 2
- tab "Add/Del-Admin", 3
- box "!Add-A - - - - Script By Planet51", 40, 2 24 196 140, tab 3
- text " UserName:", 42, 6 46 29 8, tab 3
- text " Password:", 43, 6 66 27 8, tab 3
- text " SteamID:", 44, 6 86 25 8, tab 3
- edit "", 45, 38 46 50 10, tab 3
- edit "", 46, 38 66 50 10, tab 3
- edit "", 47, 38 86 50 10, tab 3
- button "Add-Admin", 48, 122 64 49 18, tab 3
- button "Del-Admin", 15, 122 120 49 18, tab 3
- text " UserName:", 13, 6 126 29 8, tab 3
- edit "", 14, 38 126 50 10, tab 3
- tab "Add/Del-Master", 4
- edit "", 50, 38 46 50 10, tab 4
- edit "", 51, 38 86 50 10, tab 4
- edit "", 52, 38 66 50 10, tab 4
- text " UserName:", 53, 6 46 29 8, tab 4
- text " Password:", 54, 6 66 27 8, tab 4
- text " SteamID:", 55, 6 86 25 8, tab 4
- button "Add-Master", 56, 122 64 49 18, tab 4
- box "!Add-M - - - - Script By Planet51", 41, 2 24 196 140, tab 4
- button "Del-Master", 16, 122 120 49 18, tab 4
- edit "", 18, 38 126 50 10, tab 4
- text " UserName:", 19, 6 126 29 8, tab 4
- tab "Add/Del-Owner", 5
- box "!Add-O - - - - Script By Planet51", 58, 2 24 196 140, tab 5
- edit "", 60, 38 46 50 10, tab 5
- text " Password:", 61, 6 66 27 8, tab 5
- edit "", 62, 38 66 50 10, tab 5
- text " SteamID:", 63, 6 86 25 8, tab 5
- edit "", 64, 38 86 50 10, tab 5
- button "Add-Owner", 65, 122 64 49 18, tab 5
- text " UserName:", 8, 6 46 29 8, tab 5
- button "Del-Owner", 17, 122 120 49 20, tab 5
- text " UserName:", 20, 6 126 29 8, tab 5
- edit "", 21, 38 126 50 10, tab 5
- }
- 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) }
- on *:dialog:Planet51-CSS-Script-Admins:sclick:*: {
- if ($did = 12) {
- msg [P51]GathersCSS !login $did(9) $did(11)
- msg [P51]GathersCSS !login $did(9) $did(11)
- echo Loging in..
- }
- if ($did = 35) {
- msg [P51]GathersCSS !start $did(28) $did(30) $did(32) $did(34)
- echo Starting a gather... in gatherbot (#1)
- }
- if ($did = 22) {
- msg [P51]GathersCSS !start $did(28) $did(30) $did(32) $did(34)
- echo Starting a gather... in gatherbot (#2)
- }
- if ($did = 23) {
- msg [P51]GathersCSS !Stop
- }
- if ($did = 24) {
- msg [P51]GathersCSS !Stop
- }
- if ($did = 25) {
- msg [P51]GathersCSS !end
- }
- if ($did = 36) {
- msg [P51]GathersCSS !end
- }
- if ($did = 38) {
- msg #Planet51.Source !notice
- echo Sending a notice (Gatherbot #1)
- }
- if ($did = 37) {
- msg #Planet51.Source @notice
- echo Sending a notice (Gatherbot #2)
- }
- if ($did = 48) {
- msg [P51]GathersCSS !add-a $did(45) $did(46) $did(47)
- timer 1 1 msg [P51]GathersCSS !add-a $did(45) $did(46) $did(47)
- echo Adding admin ( $+ $did(45) $+ )
- }
- if ($did = 15) {
- msg [P51]GathersCSS !del-a $did(14)
- timer 1 1 msg [P51]GathersCSS !del-a $did(14)
- echo Deleting admin ( $+ $did(14) $+ )
- }
- if ($did = 56) {
- msg [P51]GathersCSS !add-m $did(50) $did(52) $did(51)
- timer 1 1 msg [P51]GathersCSS !add-m $did(50) $did(52) $did(51)
- echo Adding master ( $+ $did(50) $+ )
- }
- if ($did = 16) {
- msg [P51]GathersCSS !del-m $did(18)
- timer 1 1 msg [P51]GathersCSS !del-m $did(18)
- echo Deleting master ( $+ $did(18) $+ )
- }
- if ($did = 65) {
- msg [P51]GathersCSS !add-o $did(60) $did(62) $did(64)
- timer 1 1 msg [P51]GathersCSS !add-o $did(60) $did(62) $did(64)
- echo Adding owner ( $+ $did(60) $+ )
- }
- if ($did = 17) {
- msg [P51]GathersCSS !del-o $did(21)
- timer 1 1 msg [P51]GathersCSS !del-o $did(21)
- echo Deleting owner ( $+ $did(21) $+ )
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement