Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias thelounge {
- /join #loungestaff
- /join #thelounge
- echo -a 3Loading the Staff Control Center
- echo -a 3Created by Mark [1052508] for #TheLounge Staff
- dialog -mt thelounge thelounge
- }
- menu channel {
- Control Center:/thelounge
- }
- dialog thelounge {
- title "Staff Control Center for #TheLounge"
- size -1 -1 232 276
- option dbu
- text "This is the Staff Control Center coded by Mark [1052508] Mail him if there are bugs.", 2, 5 5 201 10,
- button "Pickpocket", 201, 16 24 37 10,
- edit "-Amount-", 202, 56 24 100 10, autohs
- button "Lucky Game", 203, 16 36 37 10,
- button "Lucky Prize Game", 209, 56 36 56 10, autohs
- button "Random Prize", 210, 115 36 47 10, autohs
- button "Number Game", 218, 62 60 40 10,
- button "Giveaway", 223, 105 60 30 10,
- button "Rand", 224, 137 60 20 10,
- button "Family Fued", 219, 16 48 37 10,
- edit "-Amount of Rounds-", 220, 56 48 100 10, autohs
- button "Deal or No Deal", 222, 16 60 43 10,
- box "Games", 3, 10 16 155 58,
- box "Channel Modes", 4, 170 16 56 30,
- text "Moderated", 5, 184 23 56 10,
- button "+m", 6, 177 32 20 10,
- button "-m", 7, 200 32 20 10,
- box "Voting System", 8, 10 78 155 36,
- button "Ask", 204, 16 88 37 10,
- edit "-Question-", 205, 56 88 100 10, autohs
- button "End Voting", 9, 16 101 37 10,
- button "Current Number of Votes", 10, 56 101 90 10,
- button "Cancel Giveaway", 208, 16 140 50 10,
- button "Prizenum", 217, 16 244 30 10,
- box "Giveaway System", 11, 10 118 155 37,
- button "Give", 206, 16 127 37 10,
- edit "-Prize-", 207, 56 127 100 10, autohs
- button "Giveaway Info", 12, 68 140 50 10,
- button "Draw", 211, 120 140 25 10,
- box "Notices", 15, 10 159 155 48,
- button "Staff Notice", 16, 16 168 36 10,
- button "Notice", 17, 16 180 36 10,
- button "Announce", 18, 16 192 36 10,
- edit "-Staff Notice-", 19, 56 168 100 10, autohs
- edit "-Notice-", 20, 56 180 100 10, autohs
- edit "-Announcement-", 21, 56 192 100 10, autohs
- box "Prizes", 22, 10 211 155 48,
- text "Prize", 23, 16 220 20 10,
- edit "-Prize Here-" 24, 56 220 100 10, autohs
- text "Amount", 25, 16 232 20 10,
- edit "-Amount of Prizes Here-" 26, 56 232 100 10, autohs
- button "Add Prizes", 27, 56 244 100 10,
- button "Close", 28, 100 263 36 10, cancel
- box "Information", 29, 170 211 56 48,
- text "Version 1.1", 30, 175 220 40 10,
- text "Coded By Mark", 31, 175 228 50 10,
- text "Control Panel Made Just For #TheLounge Staff", 32, 175 236 47 20, center
- box "Other Commands", 13, 170 87 56 60,
- button "Dupids", 14, 175 120 46 10,
- button "Updates", 33, 175 133 46 10,
- button "Stop", 221, 175 107 46 10,
- button "Skip", 216, 175 95 46 10,
- box "Giveaways", 50, 170 49 56 35,
- button "Enabled", 51, 175 57 46 10,
- button "Disabled", 52, 175 69 46 10,
- }
- on *:DIALOG:thelounge:sclick:51:{ msg #loungestaff !lg on }
- on *:DIALOG:thelounge:sclick:52:{ msg #loungestaff !lg off }
- on *:dialog:thelounge:sclick:27:{
- if (!$did(24).text) { /dialog -m prizeempty prizeempty }
- elseif (!$did(26).text) { /dialog -m amountempty amountempty }
- elseif ($did(26) !isnum) { /dialog -m wrong wrong }
- else {
- confirm1
- }
- }
- alias confirm1 {
- dialog -m confirm1 confirm1
- did -ra confirm1 4 Are your sure you want to add $did(24) $did(26) times? You will not be able to delete them. Be sure that you do not have spaces in your prizes. Use the Underscore Key (_)
- }
- Are your sure you want to add $did(24) $did(26) times? You will not be able to delete them. Be sure that you do not have spaces in your prizes. Use the Underscore Key (_)
- dialog confirm1 {
- title "Are you sure?"
- size -1 -1 124 100
- option dbu
- box "Confirm", 1, 3 4 118 90
- button "Yes", 2, 9 76 48 12
- button "No", 3, 67 76 48 12, cancel
- text "Loading please wait...", 4, 9 17 106 50, center
- }
- on *:dialog:confirm1:sclick:2:{
- timeraddprize $did(thelounge,26) 0 msg #loungestaff !addprize $did(thelounge,24).text
- dialog -x confirm1
- }
- dialog amountempty {
- title "ERROR!"
- size -1 -1 124 57
- option dbu
- box "Error", 1, 3 4 118 50
- button "OK", 3, 9 39 106 12, cancel
- text "Please don't leave the amount field empty.", 2, 9 12 105 23,
- }
- dialog prizeempty {
- title "ERROR!"
- size -1 -1 124 57
- option dbu
- box "Error", 1, 3 4 118 50
- button "OK", 3, 9 39 106 12, cancel
- text "Please don't leave the prize field empty.", 2, 9 12 105 23,
- }
- on *:DIALOG:thelounge:sclick:33:{ /dialog -m updates updates }
- dialog updates {
- title "Updates"
- size -1 -1 150 82
- option dbu
- box "Updates", 1, 3 4 143 74
- button "OK", 3, 55 62 36 12, cancel
- text "Added Giveaway disabled and enabled options.", 2, 9 12 115 23,
- }
- on *:DIALOG:thelounge:sclick:17:{ msg #loungestaff !n $did(20) }
- on *:DIALOG:thelounge:sclick:18:{ msg #loungestaff !announce $did(21) }
- on *:DIALOG:thelounge:sclick:14:{ msg #thelounge !dupids }
- on *:DIALOG:thelounge:sclick:16:{ msg #loungestaff !sn $did(19) }
- on *:DIALOG:thelounge:sclick:10:{ msg #thelounge !votes }
- on *:DIALOG:thelounge:sclick:9:{ msg #thelounge !endvoting }
- on *:DIALOG:thelounge:sclick:12:{ msg #thelounge !igive }
- on *:DIALOG:thelounge:sclick:201:{
- if ($did(202) isnum) { msg #loungestaff !pp $did(202) }
- else { /dialog -m Wrong Wrong }
- }
- on *:DIALOG:thelounge:sclick:6:{
- if ($nick isop #thelounge) || ($nick ishop #thelounge) {
- mode #thelounge +m
- }
- else { /dialog -m access access
- }
- }
- on *:DIALOG:thelounge:sclick:7:{
- if ($nick isop #thelounge) || ($nick ishop #thelounge) {
- mode #thelounge -m
- }
- else { /dialog -m access access
- }
- }
- dialog access {
- title "ERROR!"
- size -1 -1 124 57
- option dbu
- box "Error", 1, 3 4 118 50
- button "OK", 3, 9 39 106 12, cancel
- text "You don't have high enough status to do that. Wait until you are HalfOp", 2, 9 12 105 23,
- }
- on *:DIALOG:thelounge:sclick:219:{
- if (!$did(220)) { /dialog -m fuederror fuederror }
- elseif ($did(220) !isnum) { /dialog -m Wrong Wrong }
- else msg #thelounge !fstart $did(220)
- }
- dialog Wrong {
- title "ERROR!"
- size -1 -1 124 57
- option dbu
- box "Error", 1, 3 4 118 50
- button "OK", 3, 9 39 106 12, cancel
- text "That amount is not a number.", 2, 9 12 105 23,
- }
- dialog fuederror {
- title "ERROR!"
- size -1 -1 124 57
- option dbu
- box "Error", 1, 3 4 118 50
- button "OK", 3, 9 39 106 12, cancel
- text "Make sure to fill in the Amount of rounds for Family Fued.", 2, 9 12 105 23,
- }
- on *:DIALOG:thelounge:sclick:223:{ msg #thelounge !giveaway }
- on *:DIALOG:thelounge:sclick:224:{ msg #thelounge !rand }
- on *:DIALOG:thelounge:sclick:222:{ msg #thelounge !dond }
- on *:DIALOG:thelounge:sclick:221:{ msg #thelounge !stop }
- on *:DIALOG:thelounge:sclick:218:{ msg #thelounge !nstart }
- on *:DIALOG:thelounge:sclick:217:{ msg #thelounge !prizenum }
- on *:DIALOG:thelounge:sclick:216:{ msg #thelounge !skip }
- on *:DIALOG:thelounge:sclick:210:{ msg #thelounge !lrp }
- on *:DIALOG:thelounge:sclick:209:{ msg #thelounge !lrpg }
- on *:DIALOG:thelounge:sclick:211:{ msg #loungestaff !draw }
- on *:DIALOG:thelounge:sclick:208:{ msg #loungestaff !cgive }
- on *:DIALOG:thelounge:sclick:206:{ msg #loungestaff !give $did(207) }
- on *:DIALOG:thelounge:sclick:203:{ msg #thelounge !lucky }
- on *:DIALOG:thelounge:sclick:204:{ msg #loungestaff !ask $did(205) }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement