Does anyone have a UOS script that allows for copying one book, to multiple blank books? I am trying to copy one book to 125 blank books; here is what I have worked up so far:
useskill 'Inscription'
waitfortarget 15000
// Book to Copy from
target! 0x413f400c
waitfortarget 15000
// List of books to copy to
target! 0x41419795
Trying to figure out how to have the script copy all 125 books that I have in a basket. The book I am copying from is sitting or a desk or can be moved into my backpack.
useskill 'Inscription'
waitfortarget 15000
//Master Copy
target! '0x413f400c'
waitfortarget 15000
//Book(s) to Copy
if findtype 0xff2 '1157' '0x421df058' 1
target! 'found'
// Only move the book to another container if it was successfully copied
waitforjournal 'You make a copy of the book.' 10000 'system'
if @injournal 'You make a copy of the book.' 'system'
moveitem 'found' '0x43496a1d'
pause 500
@clearjournal
endif
endif
Any critiques, suggestions, or criticisms are welcome.
useskill 'Inscription'
waitfortarget 15000
//Master Copy
target! '0x413f400c'
waitfortarget 15000
//Book(s) to Copy
if findtype 0xff2 '1157' '0x421df058' 1
target! 'found'
// Only move the book to another container if it was successfully copied
waitforjournal 'You make a copy of the book.' 10000 'system'
if @injournal 'You make a copy of the book.' 'system'
moveitem 'found' '0x43496a1d'
pause 500
@clearjournal
endif
endif
Any critiques, suggestions, or criticisms are welcome.
//Master Copy
if not @findalias 'Master Copy'
promptalias 'Master Copy'
endif
//Books to be copied location
if not @findalias 'Book Restock'
promptalias 'Book Restock'
endif
//Finished Books Location
if not @findalias 'Completed Books'
promptalias 'Completed Books'
endif
//Main Script
while @findtype 0xff2 '1157' 'Book Restock' 1
useskill 'Inscription'
waitfortarget 15000
//Book(s) to Copy
if @findtype 0xff2 '1157' 'Book Restock' 1
target! 'found'
// Only move the book to another container if it was successfully copied
waitforjournal 'You make a copy of the book.' 10000 'system'
if @injournal 'You make a copy of the book.' 'system'
moveitem 'found' 'Completed Books'
pause 500
@clearjournal
endif
endif
endwhile
unsetalias 'Master Copy'
That makes it easier to implement between players and will run until all books are completed. The only issue is multiple types of books. That could be remedied with or's and multiple if statements. However, I don't have access to the graphics and this is based purely on memory. I'm sure it could be streamlined more too. Could have headmsg's instructing what to do as well.