[UOsteam] Esk's Healing Script 1.0
Posted: Thu Dec 22, 2016 4:31 am
So the only thing is since I just quickly wrote this, and I will find a work around so you don't have to input this data anymore.
The line if hits < 100 (replace the 100 with the value of your hp you want it to start healing at.
The line if hits < 100 (replace the 100 with the value of your hp you want it to start healing at.
Code: Select all
if not listexists 'cnt'
if hits < 100
bandageself
pause 1500
createlist 'cnt'
@clearjournal
endif
else
removelist 'cnt'
@clearjournal
endif
if listexists 'cnt'
while list 'cnt' < 1
if @injournal 'You apply the bandages, but they barely help.'
pushlist 'cnt' 'entry'
@clearjournal
elseif @injournal 'You finish applying the bandages'
pushlist 'cnt' 'entry1'
@clearjournal
elseif @injournal 'You heal what little damage your patient had.'
pushlist 'cnt' 'entry2'
@clearjournal
endif
endwhile
endif