MixFinder v0.1 by Cldz

Release your script here.
State:
- Author
- What it does
- Perhaps a little guide.
- Also, if the snippet is of any use to the community, it has a chance of getting posted on the main page, so don't hesitate to submit/ask!

MixFinder v0.1 by Cldz

Postby cldz » Wed Dec 23, 2009 12:12 pm

Another script I found usefull. Helps you find a mix for you're favourite game, find players, quick paste vent and server info with a click of the mouse in a handy dialog box. This will be updated over time and I plan to make it alot bigger and better, for now this will do. Please post any comments or suggestions you have.

Syntax: Press F12 to get started. Very simple to use dialog will appear.

Code: Select all
;MixFinder v0.1 by Cldz @ 23/12/2009
;Updates soon. Comments or suggestions? Email: rm_fts@yahoo.com
;All feedback and ideas are appriciated.

dialog mixfinder {
  title "Mixfinder v0.1 by Cldz"
  size -1 -1 189 105
  option pixels notheme
  button "Find Mix", 1, -2 25 80 25
  text "Mixfinder v0.1 by Cldz", 2, 0 0 191 24, center
  button "Paste Vent", 3, 111 25 80 25
  button "Find Players", 4, -2 51 80 25
  button "Paste IP / PW", 5, 111 51 80 25
  button "Close", 6, 80 26 30 50, ok
  button "Settings", 7, 1 80 188 25
}

dialog mixsettings {
  title "Settings"
  size -1 -1 108 133
  option pixels notheme
  button "Server Settings", 1, 1 2 108 25
  button "Vent Settings", 2, 1 29 108 25
  button "About", 3, 1 83 108 25
  button "Select Game", 4, 1 56 108 25
  button "Done", 5, 1 109 108 25, ok
}


alias f12 { dialog -m mixfinder mixfinder }

on *:DIALOG:mixfinder:sclick:1:{ amsg Can mix /q $+($chr(91),%game,$chr(93)) }

on *:DIALOG:mixfinder:sclick:3:{
  if (!%v.ip) || (!%v.port) {
    echo -a 7[1 You need to configure MixFinder by clicking settings. 7]
  }
  else {
    msg $active Ventrilo IP: %v.ip
    msg $active Port: %v.port
  }
}

on *:DIALOG:mixfinder:sclick:4:{
  set %players $$?="How many players do you need for a mix?"
  amsg need %players for mix /q $+($chr(91),%game,$chr(93))
}

on *:DIALOG:mixfinder:sclick:5:{
  if (!%s.ip) || (!%s.pass) {
    echo -a 7[1 You need to configure MixFinder by clicking settings. 7]
  }
  else {
    msg $active connect $+(%s.ip,$chr(59)) password %s.pass
  }
}

on *:DIALOG:mixfinder:sclick:7:{ dialog -x mixfinder mixfinder | dialog -m mixsettings mixsettings }

on *:DIALOG:mixsettings:sclick:1:{ set %s.ip $$?="Please enter you're server IP" | set %s.pass $$?="Please enter you're server password" }

on *:DIALOG:mixsettings:sclick:2:{ set %v.ip $$?="Please enter you're vent IP" | set %v.port $$?="Please enter you're vent port" }

on *:DIALOG:mixsettings:sclick:4:{ set %game $$?="Please enter the game you play" }

on *:DIALOG:mixsettings:sclick:3:{
  dialog -x mixsettings mixsettings
  echo -a 7[ 1MixFinder v0.1 by Cldz @ #CSCups - QNet. 7]
  echo -a 7[ 1This will be updated over time. 7]
  echo -a 7[ 1If you like this script then join #CSCups for more, or even request one and i'll make it for you. 7]
}
cldz
 

Return to Mirc Scripting Release

Who is online

Users browsing this forum: No registered users and 0 guests

cron