- Fix Bug 7850
- Replace incorrect end commands with close
- Update variable syntax

Signed-off-by: Patskie <escalona3413@gmail.com>

Fix variables and character stuck at healing

Signed-off-by: Patskie <escalona3413@gmail.com>
Merge pull request #233 from Patskie/master

Fixed Bug 7850
- Replaced incorrect end commands with close
- Updated syntax for setting variables