Charmander

ba

Jun 27th, 2011
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 1.02 KB | None | 0 0
  1. menu * {
  2.   Set Formatter by Charmander : dialog -md Set Set
  3. }
  4. dialog Set {
  5.   title "Set Formatter"
  6.   size -1 -1 317 270
  7.   edit "Set Name", 2, 10 46 300 20, %a
  8.   edit "Move 1", 1, 10 62 300 20, %b
  9.   edit "Move 2", 3, 10 78 300 20, %c
  10.   edit "Move 3", 4, 10 94 300 20, %d
  11.   edit "Move 4", 5, 10 110 300 20, %e
  12.   edit "Item", 6, 10 126 300 20, %f
  13.   edit "Ability", 7, 10 142 300 20, %m
  14.   edit "Nature", 8, 10 158 300 20, %h
  15.   edit "EVs", 9, 10 174 300 20, %i
  16.   edit "IVs", 10, 10 190 300 20, %j
  17.   text "[SET]", 11, 10 26 300 20, center
  18.   button "Make My Set!", 12, 62 217 180 40, ok
  19.   text "If you want to exclude IVs/Ability, leave them untouched.", 25, 12 6 290 17
  20. }
  21. on *:dialog:Set:sclick:12: {
  22.   echo -a [SET]
  23.   echo -a name: %a
  24.   echo -a move 1: %b
  25.   echo -a move 2: %c
  26.   echo -a move 3: %d
  27.   echo -a move 4: %e
  28.   echo -a item: %f
  29.   if (%m != Ability) {
  30.     echo -a ability: %m
  31.   }
  32.   echo -a nature: %h
  33.   echo -a evs: %i
  34.   if (%j != IVs) {
  35.     echo -a ivs: %j
  36.   }
  37.   unset %a %b %c %d %e %f %g %h %i %j
  38. }
Advertisement
Add Comment
Please, Sign In to add comment