j_monroy
Squire
Hey all, this is a uosteam script I created to put green bods (tailor) into a book you can select, and gray bods (smith) into another book that you will also select.
'1155' is the color for tailor bods
'1102' is the color for smith bods
I have the script unset the book because otherwise your next character will attempt to put them into the previously used books, which will obviously not work since they are not there.
Let me know if this is useful.
Code:
if not @findalias 'tailor book'
promptalias 'tailor book'
endif
if not @findalias 'smith book'
promptalias 'smith book'
endif
if @findtype 0x2258 '1155' 'backpack'
@setalias 'bod' 'found'
@moveitem 'bod' 'tailor book'
elseif @findtype 0x2258 '1102' 'backpack'
@setalias 'bod' 'found'
@moveitem 'bod' 'smith book'
endif
if not @findtype 0x2258 'any' 'backpack'
sysmsg 'there are no bods in your book'
@unsetalias 'tailor book'
@unsetalias 'smith book'
stop
endif
'1155' is the color for tailor bods
'1102' is the color for smith bods
I have the script unset the book because otherwise your next character will attempt to put them into the previously used books, which will obviously not work since they are not there.
Let me know if this is useful.