Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. function CharVitals(event, arg)
  2.     local r = rex.new( "NL:\\d+/100 H:(\\d+)/(\\d+) M:(\\d+)/(\\d+) E:(\\d+)/(\\d+) P:(\\d+)/10 N:(\\d+)/(\\d+) W:(\\d+)/(\\d+)" )
  3.     if r:match(arg) then
  4.         talon.stats.health, talon.stats.healthMax,
  5.         talon.stats.mana, talon.stats.manaMax,
  6.         talon.stats.ego, talon.stats.egoMax,
  7.         talon.stats.power, talon.stats.endurance,
  8.         talon.stats.enduranceMax, talon.stats.willpower,
  9.         talon.stats.willpowerMax = r:match(arg)
  10.     end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement