Advertisement
WraithRIOT

DarkestBar DCX Redo

Aug 31st, 2011
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 2.37 KB | None | 0 0
  1. alias Dbar {
  2.   dialog -ma Dbar Dbar
  3. }
  4.  
  5. dialog Dbar {
  6.   title "DarkestBar"
  7.   size -1 -1 958 7
  8. }
  9.  
  10. on *:dialog:Dbar:*:*: {
  11.   if ($devent == init) {
  12.     dcx Mark $dname Dbar_cb
  13.     xdialog -b $dname +ty
  14.  
  15.     xdialog -c $dname 9 button 797 10 75 20 tabstop
  16.     xdid -t $dname 9 Akill
  17.  
  18.     xdialog -c $dname 8 button 719 10 75 20 tabstop
  19.     xdid -t $dname 8 K-Line
  20.  
  21.     xdialog -c $dname 6 button 482 10 75 20 tabstop
  22.     xdid -t $dname 6 Rakill
  23.  
  24.     xdialog -c $dname 10 button 877 11 75 20 tabstop
  25.     xdid -t $dname 10 Global
  26.  
  27.     xdialog -c $dname 5 button 325 10 75 20 tabstop
  28.     xdid -t $dname 5 News
  29.  
  30.     xdialog -c $dname 4 button 245 10 75 20 tabstop
  31.     xdid -t $dname 4 ChanServ
  32.  
  33.     xdialog -c $dname 7 button 561 10 75 20 tabstop
  34.     xdid -t $dname 7 G-Line
  35.  
  36.     xdialog -c $dname 12 button 640 10 75 20 tabstop
  37.     xdid -t $dname 12 Kill
  38.  
  39.     xdialog -c $dname 1 button 5 10 75 20 tabstop
  40.     xdid -t $dname 1 OperServ
  41.  
  42.     xdialog -c $dname 3 button 165 10 75 20 tabstop
  43.     xdid -t $dname 3 NickServ
  44.  
  45.     xdialog -c $dname 2 button 85 10 75 20 tabstop
  46.     xdid -t $dname 2 HostServ
  47.  
  48.     xdialog -c $dname 11 button 403 10 75 20 tabstop
  49.     xdid -t $dname 11 MemoServ
  50.  
  51.     xdialog -g $dname +b $color(1)
  52.     xdock -m $dialog($dname).hwnd +t
  53.   }
  54. }
  55.  
  56. Alias Dbar_cb {
  57.   If ($2 == Sclick) {
  58.     If ($3 == 1) { scid $activecid msg OperServ $$?"OperServ: What do you want me to do?" }
  59.     If ($3 == 2) { scid $activecid msg HostServ $$?"HostServ: What do you want me to do?" }
  60.     If ($3 == 3) { scid $activecid msg NickServ $$?"NickServ: What do you want me to do?" }
  61.     If ($3 == 4) { scid $activecid msg ChanServ $$?"ChanServ: What do you want me to do? Ex: Lock Channel" }
  62.     If ($3 == 5) { scid $activecid msg operserv randomnews list }
  63.     If ($3 == 6) { scid $activecid os akill del $$?"What IP/Nickname Do you want to delete?" }
  64.     If ($3 == 7) { scid $activecid gline $$?"What IP/Nickname Do you want to remove?" }
  65.     If ($3 == 8) { scid $activecid kline $$?"What IP/Nickname Do you want to add?" }
  66.     If ($3 == 9) { scid $activecid os akill list }
  67.     If ($3 == 10) { scid $activecid msg OperServ global $$?"Message To Send" }
  68.     If ($3 == 11) { scid $activecid msg MemoServ $$?"MemoServ: What do you want me to do?" }
  69.     If ($3 == 12) { scid $activecid kill $$?"What nickname do you want to kill?" $$?"Reason Ex: No Flooding!" }
  70.   }
  71. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement