twigg
New Member
Posts: 2
|
Post by twigg on Oct 12, 2016 22:44:39 GMT
As the title suggests I would like someone who knows more than I do to review the following script. The issue I'm having is that it seems to be calling for a secondary use of the skill in rapid succession and I would like to eliminate this. The script was cobbled together by modifying the Hiding trainer script and combining it with part of the LJ assistant script.
if skill 'Detecting Hidden' < 100 useskill 'Detecting Hidden' else headmsg 'Detection Complete!' endif waitfortarget 15000 if direction == 0 targettileoffset 0 -1 0 elseif direction == 1 targettileoffset 1 -1 0 elseif direction == 2 targettileoffset 1 0 0 elseif direction == 3 targettileoffset 1 1 0 elseif direction == 4 targettileoffset 0 1 0 elseif direction == 5 targettileoffset -1 1 0 elseif direction == 6 targettileoffset -1 0 0 elseif direction == 7 targettileoffset -1 -1 0 endif
|
|
|
Post by Experience on Oct 13, 2016 2:25:23 GMT
As the title suggests I would like someone who knows more than I do to review the following script. The issue I'm having is that it seems to be calling for a secondary use of the skill in rapid succession and I would like to eliminate this. The script was cobbled together by modifying the Hiding trainer script and combining it with part of the LJ assistant script.
if skill 'Detecting Hidden' < 100 useskill 'Detecting Hidden' waitfortarget 15000 if direction == 0 targettileoffset 0 -1 0 elseif direction == 1 targettileoffset 1 -1 0 elseif direction == 2 targettileoffset 1 0 0 elseif direction == 3 targettileoffset 1 1 0 elseif direction == 4 targettileoffset 0 1 0 elseif direction == 5 targettileoffset -1 1 0 elseif direction == 6 targettileoffset -1 0 0 elseif direction == 7 targettileoffset -1 -1 0 endif else headmsg 'Detection Complete!' endif
|
|
twigg
New Member
Posts: 2
|
Post by twigg on Oct 13, 2016 13:02:19 GMT
Thank you very much.
|
|