Advertisement
Guest User

Untitled

a guest
Jul 27th, 2016
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. Alias:
  2.  
  3. Input - ^cmb (1|2|3|4|5|6|7)(1|2|3|4|5|6)(1|2|3|4|5|6)$
  4.  
  5. Ran -
  6.  
  7. kickset = tonumber(matches[2])
  8. leftpunch = tonumber(matches[3])
  9. rightpunch = tonumber(matches[4])
  10. comboSelect(kickset, leftpunch, rightpunch)
  11.  
  12.  
  13.  
  14. Script:
  15.  
  16. kick = " "
  17. lpunch = " "
  18. rpunch = " "
  19.  
  20. kicks = {
  21. "WWK",
  22. "MNK",
  23. "SDK",
  24. "MNK",
  25. "SNK",
  26. "SNK",
  27. "SWK"
  28. }
  29.  
  30. limbs = {
  31. "Head",
  32. "left",
  33. "Torso",
  34. "Right",
  35. "left",
  36. "right"
  37. }
  38.  
  39. punches = {
  40. "ucp",
  41. "spp",
  42. "hkp",
  43. "spp",
  44. "hfp",
  45. "hfp"
  46. }
  47.  
  48. function comboSelect(kickset, leftpunch, rightpunch)
  49. if kicks[kickset] == "WWK" or kicks[kickset] == "SDK" or kicks[kickset] == "SWK" then
  50. kick = kicks[kickset]
  51. else
  52. kick = kicks[kickset].. " " ..limbs[kickset]
  53. end
  54. if punches[leftpunch] == "ucp" or punches[leftpunch] == "hkp" then
  55. lpunch = punches[leftpunch]
  56. else
  57. lpunch = punches[leftpunch].. " " ..limbs[leftpunch]
  58. end
  59. if punches[rightpunch] == "ucp" or punches[rightpunch] == "hkp" then
  60. rpunch = punches[rightpunch]
  61. else
  62. rpunch = punches[rightpunch].. " " ..limbs[rightpunch]
  63. end
  64. cecho("<gold>[Aureus]: Kick is set to: " ..kick)
  65. echo("\n")
  66. cecho("<gold>[Aureus]: Left Punch is set to: " ..lpunch)
  67. echo("\n")
  68. cecho("<gold>[Aureus]: Right PUnch is set to: " ..rpunch)
  69. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement