Thread: Need help
View Single Post
01-14-13, 03:32 AM   #9
laukond
A Black Drake
Join Date: Dec 2011
Posts: 87
I don't quite understand these two lines:

Lua Code:
  1. local value = IsResting() and 1 or 0
  2.     for _, cvar in pairs(cvars) do

Specifically I don't understand the IsResting() and 1 or 0
And the _ symbol.
Could you try and explain them for me?
  Reply With Quote