Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2014
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.65 KB | None | 0 0
  1. tear1=true
  2. tear2=false
  3. tear3=false
  4. tear4=false
  5. tear5=false
  6. ga=false
  7. ancient=false
  8. debuff=false
  9. fire=true
  10. ice=false
  11. wind=false
  12. earth=false
  13. lightning=false
  14. water=false
  15. light=false
  16. dark=false
  17. function castspell()
  18. if tear1 then
  19. if ga then
  20. if fire then
  21. self_command('input /ma "Firaga" <t>')
  22. elseif ice then
  23. elseif wind then
  24. elseif earth then
  25. elseif lightning then
  26. elseif water then
  27. elseif light then
  28. elseif dark then
  29. end
  30. elseif ancient then
  31. if fire then
  32. elseif ice then
  33. elseif wind then
  34. elseif earth then
  35. elseif lightning then
  36. elseif water then
  37. elseif light then
  38. elseif dark then
  39. end
  40. elseif debuff then
  41. if fire then
  42. elseif ice then
  43. elseif wind then
  44. elseif earth then
  45. elseif lightning then
  46. elseif water then
  47. elseif light then
  48. elseif dark then
  49. end
  50. else
  51. if fire then
  52. elseif ice then
  53. elseif wind then
  54. elseif earth then
  55. elseif lightning then
  56. elseif water then
  57. elseif light then
  58. elseif dark then
  59. end
  60. end
  61. elseif tear2 then
  62. if ga then
  63. if fire then
  64. elseif ice then
  65. elseif wind then
  66. elseif earth then
  67. elseif lightning then
  68. elseif water then
  69. elseif light then
  70. elseif dark then
  71. end
  72. elseif ancient then
  73. if fire then
  74. elseif ice then
  75. elseif wind then
  76. elseif earth then
  77. elseif lightning then
  78. elseif water then
  79. elseif light then
  80. elseif dark then
  81. end
  82. elseif debuff then
  83. if fire then
  84. elseif ice then
  85. elseif wind then
  86. elseif earth then
  87. elseif lightning then
  88. elseif water then
  89. elseif light then
  90. elseif dark then
  91. end
  92. else
  93. if fire then
  94. elseif ice then
  95. elseif wind then
  96. elseif earth then
  97. elseif lightning then
  98. elseif water then
  99. elseif light then
  100. elseif dark then
  101. end
  102. end
  103. elseif tear3 then
  104. if ga then
  105. if fire then
  106. elseif ice then
  107. elseif wind then
  108. elseif earth then
  109. elseif lightning then
  110. elseif water then
  111. elseif light then
  112. elseif dark then
  113. end
  114. elseif ancient then
  115. if fire then
  116. elseif ice then
  117. elseif wind then
  118. elseif earth then
  119. elseif lightning then
  120. elseif water then
  121. elseif light then
  122. elseif dark then
  123. end
  124. elseif debuff then
  125. if fire then
  126. elseif ice then
  127. elseif wind then
  128. elseif earth then
  129. elseif lightning then
  130. elseif water then
  131. elseif light then
  132. elseif dark then
  133. end
  134. else
  135. if fire then
  136. elseif ice then
  137. elseif wind then
  138. elseif earth then
  139. elseif lightning then
  140. elseif water then
  141. elseif light then
  142. elseif dark then
  143. end
  144. end
  145. elseif tear4 then
  146. if ga then
  147. if fire then
  148. elseif ice then
  149. elseif wind then
  150. elseif earth then
  151. elseif lightning then
  152. elseif water then
  153. elseif light then
  154. elseif dark then
  155. end
  156. elseif ancient then
  157. if fire then
  158. elseif ice then
  159. elseif wind then
  160. elseif earth then
  161. elseif lightning then
  162. elseif water then
  163. elseif light then
  164. elseif dark then
  165. end
  166. elseif debuff then
  167. if fire then
  168. elseif ice then
  169. elseif wind then
  170. elseif earth then
  171. elseif lightning then
  172. elseif water then
  173. elseif light then
  174. elseif dark then
  175. end
  176. else
  177. if fire then
  178. elseif ice then
  179. elseif wind then
  180. elseif earth then
  181. elseif lightning then
  182. elseif water then
  183. elseif light then
  184. elseif dark then
  185. end
  186. end
  187. elseif tear5 then
  188. if ga then
  189. if fire then
  190. elseif ice then
  191. elseif wind then
  192. elseif earth then
  193. elseif lightning then
  194. elseif water then
  195. elseif light then
  196. elseif dark then
  197. end
  198. elseif ancient then
  199. if fire then
  200. elseif ice then
  201. elseif wind then
  202. elseif earth then
  203. elseif lightning then
  204. elseif water then
  205. elseif light then
  206. elseif dark then
  207. end
  208. elseif debuff then
  209. if fire then
  210. elseif ice then
  211. elseif wind then
  212. elseif earth then
  213. elseif lightning then
  214. elseif water then
  215. elseif light then
  216. elseif dark then
  217. end
  218. else
  219. if fire then
  220. elseif ice then
  221. elseif wind then
  222. elseif earth then
  223. elseif lightning then
  224. elseif water then
  225. elseif light then
  226. elseif dark then
  227. end
  228. end
  229. end
  230. end
  231. function self_command(command)
  232. if command == "tear1" then
  233. tear1=true
  234. tear2=false
  235. tear3=false
  236. tear4=false
  237. tear5=false
  238. elseif command == "tear2" then
  239. tear1=false
  240. tear2=true
  241. tear3=false
  242. tear4=false
  243. tear5=false
  244. elseif command == "tear3" then
  245. tear1=false
  246. tear2=false
  247. tear3=true
  248. tear4=false
  249. tear5=false
  250. elseif command == "tear4" then
  251. tear1=true
  252. tear2=false
  253. tear3=false
  254. tear4=true
  255. tear5=false
  256. elseif command == "tear5" then
  257. tear1=false
  258. tear2=false
  259. tear3=false
  260. tear4=false
  261. tear5=true
  262. end
  263. if command == "ga" then
  264. ga=true
  265. ancient=false
  266. debuff=false
  267. elseif command == "ancient" then
  268. ga=false
  269. ancient=true
  270. debuff=false
  271. elseif command == "debuff" then
  272. ga=false
  273. ancient=false
  274. debuff=true
  275. elseif command == "normal" then
  276. ga=false
  277. ancient=false
  278. debuff=false
  279. end
  280. if command == "fire" then
  281. fire=true
  282. ice=false
  283. wind=false
  284. earth=false
  285. lightning=false
  286. water=false
  287. light=false
  288. dark=false
  289. elseif command == "ice" then
  290. fire=false
  291. ice=true
  292. wind=false
  293. earth=false
  294. lightning=false
  295. water=false
  296. light=false
  297. dark=false
  298. elseif command == "wind" then
  299. fire=false
  300. ice=false
  301. wind=true
  302. earth=false
  303. lightning=false
  304. water=false
  305. light=false
  306. dark=false
  307. elseif command == "earth" then
  308. fire=false
  309. ice=false
  310. wind=false
  311. earth=true
  312. lightning=false
  313. water=false
  314. light=false
  315. dark=false
  316. elseif command == "lightning" then
  317. fire=false
  318. ice=false
  319. wind=false
  320. earth=false
  321. lightning=true
  322. water=false
  323. light=false
  324. dark=false
  325. elseif command == "water" then
  326. fire=false
  327. ice=false
  328. wind=false
  329. earth=false
  330. lightning=false
  331. water=true
  332. light=false
  333. dark=false
  334. elseif command == "light" then
  335. fire=false
  336. ice=false
  337. wind=false
  338. earth=false
  339. lightning=false
  340. water=false
  341. light=true
  342. dark=false
  343. elseif command == "dark" then
  344. fire=false
  345. ice=false
  346. wind=false
  347. earth=false
  348. lightning=false
  349. water=false
  350. light=false
  351. dark=true
  352. end
  353. if command == "cast" then
  354. castspell()
  355. end
  356. end
  357.  
  358. the commands are sent with
  359. in console
  360. gs c <command>
  361. in chat
  362. //gs c <command>
  363. from macro
  364. /console gs c <command>
  365.  
  366. each spell would need 3 commands sent
  367. gs c <tear1|tear2|tear3|tear4|tear5>
  368. gs c <ga|ancient|debuff|normal>
  369. gs c <fire|ice|wind|earth|lightning|water|light|dark>
  370.  
  371. then it would need to cast command
  372. gs c cast
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement