All pastes #1709149 Raw Edit

Anonymous

public text v1 · immutable
#1709149 ·published 2009-12-10 03:32 UTC
rendered paste body
menu channel {
  -
  Moves Dialog:/movesv2
  -
}

alias movesv2 { dialog -dm movesv2 movesv2 }

dialog movesv2 {
  title "IWWF Moves Dialog v2.0 - Scripted by Netto Cash  (E-mail: nettocash@gmail.com)"
  size -1 -1 425 290
  option dbu
  box "Striking - M:0-4", 1, 2 6 59 66
  list 2, 4 14 54 55, size vsbar
  box "Small - M:5-9", 3, 63 6 59 66
  list 4, 65 14 54 55, size vsbar
  box "Small Med - M:10-15", 5, 124 6 59 66
  list 6, 126 14 54 55, size vsbar
  box "Medium - M:16-21", 7, 184 6 59 66
  list 8, 186 14 54 55, size vsbar
  box "Med Large - M:22-24", 9, 244 6 59 66
  list 10, 246 14 54 55, size vsbar
  box "Large - M:25-35", 11, 305 6 59 66
  list 12, 307 14 54 55, size vsbar
  box "Large - M:25-35", 13, 304 77 59 66
  list 14, 306 85 54 55, size vsbar
  box "Med Large - M:22-24", 15, 243 77 59 66
  list 16, 245 85 54 55, size vsbar
  box "Medium - M:16-21", 17, 183 77 59 66
  list 18, 185 85 54 55, size vsbar
  box "Small Med - M:10-15", 19, 123 77 59 66
  list 20, 125 85 54 55, size vsbar
  box "Small - M:5-9", 21, 63 77 59 66
  list 22, 65 85 54 55, size vsbar
  box "Striking - M:0-4", 23, 2 77 59 66
  list 24, 4 85 54 55, size vsbar
  box "Kick Out", 25, 364 77 59 66
  list 26, 366 85 54 55, size vsbar
  box "Striking - M:0-4", 27, 3 149 59 66
  list 28, 5 157 54 55, size vsbar
  list 29, 66 157 54 55, size vsbar
  box "Small - M:5-9", 30, 64 149 59 66
  list 31, 126 157 54 55, size vsbar
  box "Small Med - M:10-15", 32, 124 149 59 66
  box "Medium - M:16-21", 33, 184 149 59 66
  list 34, 186 157 54 55, size vsbar
  box "Med Large - M:22-24", 35, 244 149 59 66
  list 36, 247 158 54 55, size vsbar
  box "Large - M:25-35", 37, 305 149 59 66
  list 38, 307 157 54 55, size vsbar
  box "Kick Out", 39, 365 149 59 66
  box "Finishers", 40, 2 222 59 66
  list 41, 4 230 54 55, size vsbar
  list 42, 65 230 54 55, size vsbar
  box "Reg. Submissions", 43, 63 222 59 66
  list 44, 125 230 54 55, size vsbar
  box "Finisher Submissions", 45, 123 222 59 66
  box "Weapons", 46, 183 222 59 66
  list 47, 185 230 54 55, size vsbar
  box "Pins", 48, 243 222 59 66
  list 49, 245 230 54 55, size vsbar
  box "TagTeam", 50, 304 222 59 66
  list 51, 306 230 54 55, size vsbar
  box "Other", 52, 364 222 59 66
  list 53, 368 157 54 55, size vsbar
  list 54, 367 230 54 55, size vsbar
  list 55, 367 14 54 55, size vsbar
  box "Kick Out", 56, 365 6 59 66
  box "Miscellaneous", 57, 1 216 423 73, disable
  box "High Flying Moves", 58, 1 143 423 74, disable
  box "Technical Moves", 59, 0 71 424 73, disable
  box "Strength Moves", 60, 1 0 425 72, disable
}

on 1:dialog:movesv2:init:0:{
  var %i = 1
  while (%i <= $ini(movesv2.ini,0)) {
    var %c = 1
    set %wresmoves $ini(movesv2.ini,%i)
    while (%c <= $ini(movesv2.ini,%wresmoves,0)) { 
      if (%wresmoves == strength_striking_none) did -a movesv2 2 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == strength_small_5) did -a movesv2 4 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == strength_SmallMedium_10) did -a movesv2 6 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == strength_Medium_13) did -a movesv2 8 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == strength_MediumLarge_16) did -a movesv2 10 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == strength_Large_20) did -a movesv2 12 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == strength_kickout) did -a movesv2 55 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == Technical_striking_none) did -a movesv2 24 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == Technical_small_5) did -a movesv2 22 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == Technical_SmallMedium_10) did -a movesv2 20 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == Technical_Medium_13) did -a movesv2 18 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == Technical_MediumLarge_16) did -a movesv2 16 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == Technical_Large_20) did -a movesv2 14 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == Technical_kickout) did -a movesv2 26 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == HighFly_striking_none) did -a movesv2 28 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == HighFly_small_5) did -a movesv2 29 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == HighFly_SmallMedium_10) did -a movesv2 31 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == HighFly_Medium_13) did -a movesv2 34 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == HighFly_MediumLarge_16) did -a movesv2 36 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == HighFly_Large_20) did -a movesv2 38 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == HighFly_kickout) did -a movesv2 53 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == RegularSubmissions) did -a movesv2 42 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == FinisherSubmissions) did -a movesv2 44 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == Weapons) did -a movesv2 47 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == Finishers) did -a movesv2 41 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == Pins) did -a movesv2 49 $ini(movesv2.ini,%wresmoves,%c)   
      elseif (%wresmoves == Other) did -a movesv2 54 $ini(movesv2.ini,%wresmoves,%c)
      elseif (%wresmoves == TagTeam) did -a movesv2 51 $ini(movesv2.ini,%wresmoves,%c)   
    inc %c }
  inc %i }
}

on 1:dialog:movesv2:dclick:2:{ describe $active $readini(movesv2.ini, Strength_Striking_none, $did(movesv2,2).seltext) }
on 1:dialog:movesv2:dclick:4:{ describe $active $readini(movesv2.ini, strength_small_5, $did(movesv2,4).seltext) }
on 1:dialog:movesv2:dclick:6:{ describe $active $readini(movesv2.ini, strength_smallMedium_10, $did(movesv2,6).seltext) }
on 1:dialog:movesv2:dclick:8:{ describe $active $readini(movesv2.ini, Strength_Medium_13, $did(movesv2,8).seltext) }
on 1:dialog:movesv2:dclick:10:{ describe $active $readini(movesv2.ini, Strength_MediumLarge_16, $did(movesv2,10).seltext) }
on 1:dialog:movesv2:dclick:12:{ describe $active $readini(movesv2.ini, Strength_Large_20, $did(movesv2,12).seltext) }
on 1:dialog:movesv2:dclick:55:{ describe $active $readini(movesv2.ini, Strength_kickout, $did(movesv2,55).seltext) }
on 1:dialog:movesv2:dclick:24:{ describe $active $readini(movesv2.ini, Technical_Striking_none, $did(movesv2,24).seltext) }
on 1:dialog:movesv2:dclick:22:{ describe $active $readini(movesv2.ini, Technical_small_5, $did(movesv2,22).seltext) }
on 1:dialog:movesv2:dclick:20:{ describe $active $readini(movesv2.ini, Technical_smallMedium_10, $did(movesv2,20).seltext) }
on 1:dialog:movesv2:dclick:18:{ describe $active $readini(movesv2.ini, Technical_Medium_13, $did(movesv2,18).seltext) }
on 1:dialog:movesv2:dclick:16:{ describe $active $readini(movesv2.ini, Technical_MediumLarge_16, $did(movesv2,16).seltext) }
on 1:dialog:movesv2:dclick:14:{ describe $active $readini(movesv2.ini, Technical_Large_20, $did(movesv2,14).seltext) }
on 1:dialog:movesv2:dclick:26:{ describe $active $readini(movesv2.ini, Technical_kickout, $did(movesv2,26).seltext) }
on 1:dialog:movesv2:dclick:28:{ describe $active $readini(movesv2.ini, HighFly_Striking_none, $did(movesv2,28).seltext) }
on 1:dialog:movesv2:dclick:29:{ describe $active $readini(movesv2.ini, HighFly_small_5, $did(movesv2,29).seltext) }
on 1:dialog:movesv2:dclick:31:{ describe $active $readini(movesv2.ini, HighFly_smallMedium_10, $did(movesv2,31).seltext) }
on 1:dialog:movesv2:dclick:34:{ describe $active $readini(movesv2.ini, HighFly_Medium_13, $did(movesv2,34).seltext) }
on 1:dialog:movesv2:dclick:36:{ describe $active $readini(movesv2.ini, HighFly_MediumLarge_16, $did(movesv2,36).seltext) }
on 1:dialog:movesv2:dclick:38:{ describe $active $readini(movesv2.ini, HighFly_Large_20, $did(movesv2,38).seltext) }
on 1:dialog:movesv2:dclick:53:{ describe $active $readini(movesv2.ini, HighFly_kickout, $did(movesv2,53).seltext) }
on 1:dialog:movesv2:dclick:42:{ describe $active $readini(movesv2.ini, RegularSubmissions, $did(movesv2,42).seltext) }
on 1:dialog:movesv2:dclick:44:{ describe $active $readini(movesv2.ini, FinisherSubmissions, $did(movesv2,44).seltext) }
on 1:dialog:movesv2:dclick:41:{ describe $active $readini(movesv2.ini, Finishers, $did(movesv2,41).seltext) }
on 1:dialog:movesv2:dclick:47:{ describe $active $readini(movesv2.ini, Weapons, $did(movesv2,47).seltext) }
on 1:dialog:movesv2:dclick:49:{ describe $active $readini(movesv2.ini, Pins, $did(movesv2,49).seltext) }
on 1:dialog:movesv2:dclick:51:{ describe $active $readini(movesv2.ini, TagTeam, $did(movesv2,51).seltext) }
on 1:dialog:movesv2:dclick:54:{ 
  if ((CheckHealth isin $did(movesv2,54).seltext) || (MatchInfo isin $did(movesv2,54).seltext)) { $readini(movesv2.ini, Other, $did(movesv2,54).seltext) }
  else { describe $active $readini(movesv2.ini, Other, $did(movesv2,54).seltext) }
}