Abandoned-IRC

Full Version: #ZW-Lounge Uno Script
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Uno Game Script for easier use.

[attachment=4]

Can be downloaded on the below link

https://zombie-warez.com/uno_addon.mrc

or the code below

Code:
;To load, place this script in your mirc folder and type -> /load -rs uno_addon.mrc
;
;Start by right-clicking in channel and selecting the "Uno Addon" menu item.
;
;This should be pretty self-explanitory. Simply click on the button that corresponds to the 
;color and number of the card you want to pl. The text is sent to the channel for you.
;
;NOTE: If your are not in the channel #ZW-Lounge, the dialog will not open.

menu channel {
  Uno-Addon:dialog -m ua ua
}

dialog ua {
  title "Uno Addon"
  size -1 -1 274 96
  option dbu
  button "Y 1", 1, 21 17 15 12
  button "Y 2", 2, 37 17 15 12
  button "Y 3", 3, 53 17 15 12
  button "Y 4", 4, 69 17 15 12
  button "Y 5", 5, 85 17 15 12
  button "Y 6", 6, 101 17 15 12
  button "Y 7", 7, 117 17 15 12
  button "Y 8", 8, 133 17 15 12
  button "Y 9", 9, 149 17 15 12
  button "Y 0", 10, 165 17 15 12
  button "R 1", 11, 21 33 15 12
  button "R 2", 12, 37 33 15 12
  button "R 3", 13, 53 33 15 12
  button "R 4", 14, 69 33 15 12
  button "R 5", 15, 85 33 15 12
  button "R 6", 16, 101 33 15 12
  button "R 7", 17, 117 33 15 12
  button "R 8", 18, 133 33 15 12
  button "R 9", 19, 149 33 15 12
  button "R 0", 20, 165 33 15 12
  button "B 1", 21, 21 49 15 12
  button "B 2", 22, 37 49 15 12
  button "B 3", 23, 53 49 15 12
  button "B 4", 24, 69 49 15 12
  button "B 5", 25, 85 49 15 12
  button "B 6", 26, 101 49 15 12
  button "B 7", 27, 117 49 15 12
  button "B 8", 28, 133 49 15 12
  button "B 9", 29, 149 49 15 12
  button "B 0", 30, 165 49 15 12
  button "G 1", 31, 21 65 15 12
  button "G 2", 32, 37 65 15 12
  button "G 3", 33, 53 65 15 12
  button "G 4", 34, 69 65 15 12
  button "G 5", 35, 85 65 15 12
  button "G 6", 36, 101 65 15 12
  button "G 7", 37, 117 65 15 12
  button "G 8", 38, 133 65 15 12
  button "G 9", 39, 149 65 15 12
  button "G 0", 40, 165 65 15 12
  text "Yellow", 41, 1 19 19 8, center
  text "Red", 42, 1 35 19 8, center
  text "Blue", 43, 1 51 19 8, center
  text "Green", 44, 1 67 19 8, center
  button "Draw Two", 45, 181 17 29 12
  button "Skip", 46, 211 17 29 12
  button "Reverse", 47, 241 17 29 12
  button "Draw Two", 48, 181 33 29 12
  button "Skip", 49, 211 33 29 12
  button "Reverse", 50, 241 33 29 12
  button "Draw Two", 51, 181 49 29 12
  button "Skip", 52, 211 49 29 12
  button "Reverse", 53, 241 49 29 12
  button "Draw Two", 54, 181 65 29 12
  button "Skip", 55, 211 65 29 12
  button "Reverse", 56, 241 65 29 12
  button "Draw", 57, 21 2 37 10
  button "Skip", 58, 59 2 37 10
  button "Wild", 59, 21 81 41 12
  button "Wild Draw Four", 60, 65 81 41 12
  text "Color", 61, 121 83 25 8, center
  button "Yellow", 62, 147 82 30 10
  button "Red", 63, 178 82 30 10
  button "Blue", 64, 209 82 30 10
  button "Green", 65, 240 82 30 10
  button "Join", 66, 215 2 26 10
  button "Player", 67, 243 2 26 10
  button "Start", 68, 187 2 26 10
  button "Close", 69, 2 81 17 12, ok
  button "Count", 70, 128 2 26 10
  button "Order", 71, 156 2 26 10
  button "Cards", 72, 100 2 26 10
}



on *:dialog:ua:init:0: {
  checkchan
}


on *:dialog:ua:sclick:1: { msg #ZW-Lounge pl y1 }
on *:dialog:ua:sclick:2: { msg #ZW-Lounge pl y2 }
on *:dialog:ua:sclick:3: { msg #ZW-Lounge pl y3 }
on *:dialog:ua:sclick:4: { msg #ZW-Lounge pl y4 }
on *:dialog:ua:sclick:5: { msg #ZW-Lounge pl y5 }
on *:dialog:ua:sclick:6: { msg #ZW-Lounge pl y6 }
on *:dialog:ua:sclick:7: { msg #ZW-Lounge pl y7 }
on *:dialog:ua:sclick:8: { msg #ZW-Lounge pl y8 }
on *:dialog:ua:sclick:9: { msg #ZW-Lounge pl y9 }
on *:dialog:ua:sclick:10: { msg #ZW-Lounge pl y0 }
on *:dialog:ua:sclick:11: { msg #ZW-Lounge pl r1 }
on *:dialog:ua:sclick:12: { msg #ZW-Lounge pl r2 }
on *:dialog:ua:sclick:13: { msg #ZW-Lounge pl r3 }
on *:dialog:ua:sclick:14: { msg #ZW-Lounge pl r4 }
on *:dialog:ua:sclick:15: { msg #ZW-Lounge pl r5 }
on *:dialog:ua:sclick:16: { msg #ZW-Lounge pl r6 }
on *:dialog:ua:sclick:17: { msg #ZW-Lounge pl r7 }
on *:dialog:ua:sclick:18: { msg #ZW-Lounge pl r8 }
on *:dialog:ua:sclick:19: { msg #ZW-Lounge pl r9 }
on *:dialog:ua:sclick:20: { msg #ZW-Lounge pl r0 }
on *:dialog:ua:sclick:21: { msg #ZW-Lounge pl b1 }
on *:dialog:ua:sclick:22: { msg #ZW-Lounge pl b2 }
on *:dialog:ua:sclick:23: { msg #ZW-Lounge pl b3 }
on *:dialog:ua:sclick:24: { msg #ZW-Lounge pl b4 }
on *:dialog:ua:sclick:25: { msg #ZW-Lounge pl b5 }
on *:dialog:ua:sclick:26: { msg #ZW-Lounge pl b6 }
on *:dialog:ua:sclick:27: { msg #ZW-Lounge pl b7 }
on *:dialog:ua:sclick:28: { msg #ZW-Lounge pl b8 }
on *:dialog:ua:sclick:29: { msg #ZW-Lounge pl b9 }
on *:dialog:ua:sclick:30: { msg #ZW-Lounge pl b0 }
on *:dialog:ua:sclick:31: { msg #ZW-Lounge pl g1 }
on *:dialog:ua:sclick:32: { msg #ZW-Lounge pl g2 }
on *:dialog:ua:sclick:33: { msg #ZW-Lounge pl g3 }
on *:dialog:ua:sclick:34: { msg #ZW-Lounge pl g4 }
on *:dialog:ua:sclick:35: { msg #ZW-Lounge pl g5 }
on *:dialog:ua:sclick:36: { msg #ZW-Lounge pl g6 }
on *:dialog:ua:sclick:37: { msg #ZW-Lounge pl g7 }
on *:dialog:ua:sclick:38: { msg #ZW-Lounge pl g8 }
on *:dialog:ua:sclick:39: { msg #ZW-Lounge pl g9 }
on *:dialog:ua:sclick:40: { msg #ZW-Lounge pl g0 }
on *:dialog:ua:sclick:45: { msg #ZW-Lounge pl yd2 }
on *:dialog:ua:sclick:46: { msg #ZW-Lounge pl ys }
on *:dialog:ua:sclick:47: { msg #ZW-Lounge pl yr }
on *:dialog:ua:sclick:48: { msg #ZW-Lounge pl rdt }
on *:dialog:ua:sclick:49: { msg #ZW-Lounge pl rs }
on *:dialog:ua:sclick:50: { msg #ZW-Lounge pl rr }
on *:dialog:ua:sclick:51: { msg #ZW-Lounge pl bdt }
on *:dialog:ua:sclick:52: { msg #ZW-Lounge pl bs }
on *:dialog:ua:sclick:53: { msg #ZW-Lounge pl br }
on *:dialog:ua:sclick:54: { msg #ZW-Lounge pl gdt }
on *:dialog:ua:sclick:55: { msg #ZW-Lounge pl gs }
on *:dialog:ua:sclick:56: { msg #ZW-Lounge pl gr }
on *:dialog:ua:sclick:57: { msg #ZW-Lounge dr }
on *:dialog:ua:sclick:58: { msg #ZW-Lounge pa }
on *:dialog:ua:sclick:59: { msg #ZW-Lounge pl w }
on *:dialog:ua:sclick:60: { msg #ZW-Lounge pl wdf }
on *:dialog:ua:sclick:62: { msg #ZW-Lounge co y }
on *:dialog:ua:sclick:63: { msg #ZW-Lounge co r }
on *:dialog:ua:sclick:64: { msg #ZW-Lounge co b }
on *:dialog:ua:sclick:65: { msg #ZW-Lounge co g }
on *:dialog:ua:sclick:66: { msg #ZW-Lounge jo }
on *:dialog:ua:sclick:67: { msg #ZW-Lounge tu }
on *:dialog:ua:sclick:68: { msg #ZW-Lounge !uno }
on *:dialog:ua:sclick:70: { msg #ZW-Lounge ct }
on *:dialog:ua:sclick:71: { msg #ZW-Lounge cd }
on *:dialog:ua:sclick:72: { msg #ZW-Lounge ca }

alias -l checkchan {
  if #ZW-Lounge !ischan) { echo -a You are not in the channel #ZW-Lounge  | dialog -k ua ua }
}
Update to Uno Addon: added a few more clickable items.. 

Just need to right click in #ZW-Lounge and select Uno-Addon to open the GUI after its loaded by either of the methods below.

[attachment=6]

download Uno Addon @ https://files.fm/f/nk3qscffa and load it up in remotes..

or place code below into remotes and save.

Code:
;To load, place this script in your mirc folder and type -> /load -rs uno_addon.mrc
;
;Start by right-clicking in channel and selecting the "Uno Addon" menu item.
;
;This should be pretty self-explanitory. Simply click on the button that corresponds to the 
;color and number of the card you want to pl. The text is sent to the channel for you.
;
;NOTE: If your are not in the channel #ZW-Lounge, the dialog will not open.

menu channel {
  Uno-Addon:dialog -m ua ua
}

dialog ua {
  title "Uno Addon"
  size -1 -1 274 96
  option dbu
  button "Y 1", 1, 21 17 15 12
  button "Y 2", 2, 37 17 15 12
  button "Y 3", 3, 53 17 15 12
  button "Y 4", 4, 69 17 15 12
  button "Y 5", 5, 85 17 15 12
  button "Y 6", 6, 101 17 15 12
  button "Y 7", 7, 117 17 15 12
  button "Y 8", 8, 133 17 15 12
  button "Y 9", 9, 149 17 15 12
  button "Y 0", 10, 165 17 15 12
  button "R 1", 11, 21 33 15 12
  button "R 2", 12, 37 33 15 12
  button "R 3", 13, 53 33 15 12
  button "R 4", 14, 69 33 15 12
  button "R 5", 15, 85 33 15 12
  button "R 6", 16, 101 33 15 12
  button "R 7", 17, 117 33 15 12
  button "R 8", 18, 133 33 15 12
  button "R 9", 19, 149 33 15 12
  button "R 0", 20, 165 33 15 12
  button "B 1", 21, 21 49 15 12
  button "B 2", 22, 37 49 15 12
  button "B 3", 23, 53 49 15 12
  button "B 4", 24, 69 49 15 12
  button "B 5", 25, 85 49 15 12
  button "B 6", 26, 101 49 15 12
  button "B 7", 27, 117 49 15 12
  button "B 8", 28, 133 49 15 12
  button "B 9", 29, 149 49 15 12
  button "B 0", 30, 165 49 15 12
  button "G 1", 31, 21 65 15 12
  button "G 2", 32, 37 65 15 12
  button "G 3", 33, 53 65 15 12
  button "G 4", 34, 69 65 15 12
  button "G 5", 35, 85 65 15 12
  button "G 6", 36, 101 65 15 12
  button "G 7", 37, 117 65 15 12
  button "G 8", 38, 133 65 15 12
  button "G 9", 39, 149 65 15 12
  button "G 0", 40, 165 65 15 12
  text "Yellow", 41, 1 19 19 8, center
  text "Red", 42, 1 35 19 8, center
  text "Blue", 43, 1 51 19 8, center
  text "Green", 44, 1 67 19 8, center
  button "Draw Two", 45, 181 17 29 12
  button "Skip", 46, 211 17 29 12
  button "Reverse", 47, 241 17 29 12
  button "Draw Two", 48, 181 33 29 12
  button "Skip", 49, 211 33 29 12
  button "Reverse", 50, 241 33 29 12
  button "Draw Two", 51, 181 49 29 12
  button "Skip", 52, 211 49 29 12
  button "Reverse", 53, 241 49 29 12
  button "Draw Two", 54, 181 65 29 12
  button "Skip", 55, 211 65 29 12
  button "Reverse", 56, 241 65 29 12
  button "Draw", 57, 2 2 34 12
  button "Pass", 58, 36 2 34 12
  button "Wild", 59, 67 81 22 12
  button "Wild Draw Four", 60, 89 81 41 12
  text "Color", 61, 129 83 22 6, center
  button "Yellow", 62, 151 81 29 12
  button "Red", 63, 181 81 29 12
  button "Blue", 64, 211 81 29 12
  button "Green", 65, 241 81 29 12
  button "Join", 66, 226 2 22 12
  button "Turn", 67, 248 2 22 12
  button "Start", 68, 204 2 22 12
  button "Close", 69, 2 81 17 12, ok
  button "Count", 70, 160 2 22 12
  button "Card", 71, 182 2 22 12
  button "Cards", 72, 138 2 22 12
  button "Order", 73, 72 2 22 12
  button "Time", 74, 116 2 22 12
  button "Stats", 75, 94 2 22 12
  button "Top10", 76, 19 81 22 12
  button "Top3Last", 77, 41 81 26 12
}



on *:dialog:ua:init:0: {
  checkchan
}


on *:dialog:ua:sclick:1: { msg #ZW-Lounge pl y1 }
on *:dialog:ua:sclick:2: { msg #ZW-Lounge pl y2 }
on *:dialog:ua:sclick:3: { msg #ZW-Lounge pl y3 }
on *:dialog:ua:sclick:4: { msg #ZW-Lounge pl y4 }
on *:dialog:ua:sclick:5: { msg #ZW-Lounge pl y5 }
on *:dialog:ua:sclick:6: { msg #ZW-Lounge pl y6 }
on *:dialog:ua:sclick:7: { msg #ZW-Lounge pl y7 }
on *:dialog:ua:sclick:8: { msg #ZW-Lounge pl y8 }
on *:dialog:ua:sclick:9: { msg #ZW-Lounge pl y9 }
on *:dialog:ua:sclick:10: { msg #ZW-Lounge pl y0 }
on *:dialog:ua:sclick:11: { msg #ZW-Lounge pl r1 }
on *:dialog:ua:sclick:12: { msg #ZW-Lounge pl r2 }
on *:dialog:ua:sclick:13: { msg #ZW-Lounge pl r3 }
on *:dialog:ua:sclick:14: { msg #ZW-Lounge pl r4 }
on *:dialog:ua:sclick:15: { msg #ZW-Lounge pl r5 }
on *:dialog:ua:sclick:16: { msg #ZW-Lounge pl r6 }
on *:dialog:ua:sclick:17: { msg #ZW-Lounge pl r7 }
on *:dialog:ua:sclick:18: { msg #ZW-Lounge pl r8 }
on *:dialog:ua:sclick:19: { msg #ZW-Lounge pl r9 }
on *:dialog:ua:sclick:20: { msg #ZW-Lounge pl r0 }
on *:dialog:ua:sclick:21: { msg #ZW-Lounge pl b1 }
on *:dialog:ua:sclick:22: { msg #ZW-Lounge pl b2 }
on *:dialog:ua:sclick:23: { msg #ZW-Lounge pl b3 }
on *:dialog:ua:sclick:24: { msg #ZW-Lounge pl b4 }
on *:dialog:ua:sclick:25: { msg #ZW-Lounge pl b5 }
on *:dialog:ua:sclick:26: { msg #ZW-Lounge pl b6 }
on *:dialog:ua:sclick:27: { msg #ZW-Lounge pl b7 }
on *:dialog:ua:sclick:28: { msg #ZW-Lounge pl b8 }
on *:dialog:ua:sclick:29: { msg #ZW-Lounge pl b9 }
on *:dialog:ua:sclick:30: { msg #ZW-Lounge pl b0 }
on *:dialog:ua:sclick:31: { msg #ZW-Lounge pl g1 }
on *:dialog:ua:sclick:32: { msg #ZW-Lounge pl g2 }
on *:dialog:ua:sclick:33: { msg #ZW-Lounge pl g3 }
on *:dialog:ua:sclick:34: { msg #ZW-Lounge pl g4 }
on *:dialog:ua:sclick:35: { msg #ZW-Lounge pl g5 }
on *:dialog:ua:sclick:36: { msg #ZW-Lounge pl g6 }
on *:dialog:ua:sclick:37: { msg #ZW-Lounge pl g7 }
on *:dialog:ua:sclick:38: { msg #ZW-Lounge pl g8 }
on *:dialog:ua:sclick:39: { msg #ZW-Lounge pl g9 }
on *:dialog:ua:sclick:40: { msg #ZW-Lounge pl g0 }
on *:dialog:ua:sclick:45: { msg #ZW-Lounge pl yd2 }
on *:dialog:ua:sclick:46: { msg #ZW-Lounge pl ys }
on *:dialog:ua:sclick:47: { msg #ZW-Lounge pl yr }
on *:dialog:ua:sclick:48: { msg #ZW-Lounge pl rdt }
on *:dialog:ua:sclick:49: { msg #ZW-Lounge pl rs }
on *:dialog:ua:sclick:50: { msg #ZW-Lounge pl rr }
on *:dialog:ua:sclick:51: { msg #ZW-Lounge pl bdt }
on *:dialog:ua:sclick:52: { msg #ZW-Lounge pl bs }
on *:dialog:ua:sclick:53: { msg #ZW-Lounge pl br }
on *:dialog:ua:sclick:54: { msg #ZW-Lounge pl gdt }
on *:dialog:ua:sclick:55: { msg #ZW-Lounge pl gs }
on *:dialog:ua:sclick:56: { msg #ZW-Lounge pl gr }
on *:dialog:ua:sclick:57: { msg #ZW-Lounge dr }
on *:dialog:ua:sclick:58: { msg #ZW-Lounge pa }
on *:dialog:ua:sclick:59: { msg #ZW-Lounge pl w }
on *:dialog:ua:sclick:60: { msg #ZW-Lounge pl wdf }
on *:dialog:ua:sclick:62: { msg #ZW-Lounge co y }
on *:dialog:ua:sclick:63: { msg #ZW-Lounge co r }
on *:dialog:ua:sclick:64: { msg #ZW-Lounge co b }
on *:dialog:ua:sclick:65: { msg #ZW-Lounge co g }
on *:dialog:ua:sclick:66: { msg #ZW-Lounge jo }
on *:dialog:ua:sclick:67: { msg #ZW-Lounge tu }
on *:dialog:ua:sclick:68: { msg #ZW-Lounge !uno }
on *:dialog:ua:sclick:70: { msg #ZW-Lounge ct }
on *:dialog:ua:sclick:71: { msg #ZW-Lounge cd }
on *:dialog:ua:sclick:72: { msg #ZW-Lounge ca }
on *:dialog:ua:sclick:73: { msg #ZW-Lounge od }
on *:dialog:ua:sclick:74: { msg #ZW-Lounge ti }
on *:dialog:ua:sclick:75: { msg #ZW-Lounge st }
on *:dialog:ua:sclick:76: { msg #ZW-Lounge !unotop10 }
on *:dialog:ua:sclick:77: { msg #ZW-Lounge !unotop3last }

alias -l checkchan {
  if ($chan != #ZW-Lounge) { echo -a 12,8 You are not in the channel #ZW-Lounge  | dialog -k ua ua }
}