Advertisement
Guest User

rage

a guest
Jul 2nd, 2015
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.15 KB | None | 0 0
  1. function Battlerage()
  2.  
  3. crage = gmcp.Char.Vitals.charstats[2]:sub(7)*1
  4.  
  5.     clearUserWindow("RageConsole")
  6.     cecho("RageConsole","<gold>Rage: "..crage)
  7. if dform == false then 
  8.     if collide == "1" and crage >= 14 then  cecho("RageConsole","\n<green>Collide F5")
  9.         elseif collide == "1" and crage < 14 then cecho("RageConsole","\n<white>Collide F5")
  10.        elseif collide == "0" then cecho ("RageConsole","\n<DimGrey>Collide F5")
  11.     end--if
  12.     if etch == "1" and crage >= 25 then cecho("RageConsole","\n<green>Etch F6")
  13.         elseif etch == "1" and crage < 25 then cecho("RageConsole","\n<white>Etch F6")
  14.         elseif etch == "0" then cecho ("RageConsole","\n<DimGrey>Etch F6")
  15.     end--if
  16.     if onslaught == "1" and crage >= 36 then cecho("RageConsole","\n<green>Onslght F7\n")
  17.         elseif onslaught == "1" and crage < 36 then cecho("RageConsole","\n<white>Onslght F7\n")
  18.         elseif onslaught == "0" then cecho ("RageConsole","\n<DimGrey>Onslght F7\n")
  19.     end--if
  20.     if bulwark == "1" and crage >= 28 then cecho("RageConsole","\n<green>Bulwark F8")
  21.         elseif bulwark == "1" and crage < 28 then cecho("RageConsole","\n<white>Bulwark F8")
  22.         elseif bulwark == "0" then cecho ("RageConsole","\n<DimGrey>Bulwark F8")
  23.     end--if
  24.     if safeguard == "1" and crage >= 35 then cecho("RageConsole","\n<green>Safeguard")
  25.         elseif safeguard == "1" and crage < 35 then cecho("RageConsole","\n<white>Safeguard")
  26.         elseif safeguard == "0" then cecho ("RageConsole","\n<DimGrey>Safeguard")
  27.     end--if
  28.    
  29. cecho("RageConsole","\n<DimGrey>Sq1: <gold>"..squish:title())
  30. cecho("RageConsole","\n<DimGrey>Sq2: <gold>"..squish2:title())
  31.  
  32. else if dragonchill == "1" and crage >= 14 then cecho("RageConsole","\n<green>Dchill F5")
  33.         elseif dragonchill == "1" and crage < 14 then cecho("RageConsole","\n<white>Dchill F5")
  34.        elseif dragonchill == "0" then cecho ("RageConsole","\n<DimGrey>Dchill F5")
  35.     end
  36.     if glaciate == "1" and crage >= 26 then cecho("RageConsole","\n<green>Glaciate F6")
  37.         elseif glaciate == "1" and crage < 26 then cecho("RageConsole","\n<white>Glaciate F6")
  38.        elseif glaciate == "0" then cecho ("RageConsole","\n<DimGrey>Glaciate F6")
  39.     end
  40.     if override == "1" and crage >= 36 then cecho("RageConsole","\n<green>Override F7")
  41.         elseif override == "1" and crage < 36 then cecho("RageConsole","\n<white>Override F7")
  42.        elseif override == "0" then cecho ("RageConsole","\n<DimGrey>Override F7")
  43.     end
  44.     if frostwave == "1" and crage >= 25 then    cecho("RageConsole","\n<green>Frstwave F8")
  45.         elseif frostwave == "1" and crage < 25 then cecho("RageConsole","\n<white>Frstwave F8")
  46.        elseif frostwave == "0" then cecho ("RageConsole","\n<DimGrey>Frstwave F8")
  47.     end
  48.     if ague == "1" and crage >= 14 then cecho("RageConsole","\n<green>Ague F9\n")
  49.         elseif ague == "1" and crage < 14 then cecho("RageConsole","\n<white>Ague F9\n")
  50.        elseif ague == "0" then cecho ("RageConsole","\n<DimGrey>Ague F9\n")
  51.     end
  52.     if frostrive == "1" and crage >= 17 then    cecho("RageConsole","\n<green>Frostrive \n     Scrl")
  53.         elseif frostrive == "1" and crage < 17 then cecho("RageConsole","\n<white>Frostrive \n     Scrl")
  54.        elseif frostrive == "0" then cecho ("RageConsole","\n<DimGrey>-Frostrive \n     Scrl")
  55.     end
  56. end
  57.  
  58.  
  59. end --function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement