Author Topic: UOS Script for CARPENTRY, BOWCRAFTING, CAMPING TRAINER  (Read 2923 times)

0 Members and 1 Guest are viewing this topic.

Offline m3lgarTopic starter

  • Newbie
  • *
  • Posts: 3
  • Activity:
    0%
  • Reputation Power: 1
  • m3lgar has no influence.
  • Respect: 0
  • Referrals: 1
    • View Profile
UOS Script for CARPENTRY, BOWCRAFTING, CAMPING TRAINER
« on: December 11, 2021, 06:40:01 AM »
0
if not @findalias 'Saw'
  promptalias 'Saw'
endif
if not @findalias 'Dagger'
  promptalias 'Dagger'
endif
if not @findalias 'Food'
  promptalias 'Food'
endif
if not timerexists 'finishMacro'
  createtimer 'finishMacro'
endif
settimer 'finishMacro' 0
clearjournal
if counttype! 0x1bdd 'any' 'backpack' < 1
  organizer 'RestockContainer'
  pause 1000
endif
useobject 'Saw'
pause 870
msg '[menuresponse 1'
msg '[menuresponse 1'
while not @injournal 'You create the item' and not @injournal 'You fail'
  headmsg 'Waiting for Board!'
  if timer 'finishMacro' >= 30000
    replay
  endif
  pause 500
endwhile
pause 500
clearjournal
if not @findtype 0x1bd7 'any' 'backpack'
  replay
else
  useobject 'Dagger'
  waitfortarget 1500
  targettype '0x1bd7'
  pause 1000
  msg '[menuresponse 1'
endif
while not @injournal 'You create the item' and not @injournal 'You fail'
  headmsg 'Waiting for Kindling!'
  if timer 'finishMacro' > 30000
    replay
  endif
  pause 500
endwhile
pause 500
clearjournal
while @findtype 0xde1 'any' 'backpack'
  usetype! '0xde1'
  headmsg 'Kindling found'
  pause 1000
endwhile
useobject 'Food'
waitfortarget 1000

Post Merge: December 11, 2021, 06:42:26 AM
let me know any question :)
« Last Edit: December 11, 2021, 06:42:26 AM by m3lgar »

Tags: