1
Script Debug / Tailor Bod Sorter Macro Errors
« on: May 12, 2017, 04:30:20 PM »
I am looking for a hand on as to why i keep getting [macro] Error line 117 waitforproperties: item or mobile not found and [Macro] Error line 209 waitforproperties: item of mobile not found. i cannot seem to figure this out for the life of me. any help is appreciated.
Code: [Select]
//Initialize section
if not findalias 'initialize'
headmsg 'Target your source book' 33
promptalias 'sourcebook'
headmsg 'Target where to store BRSK BODS' 33
promptalias 'brsk_book'
headmsg 'Target where to store HRSK and Bless BoDs' 33
promptalias 'hrsk_book'
headmsg 'Target where to store Leather Resets' 33
promptalias 'LeatherReset'
headmsg 'Target your trashbarrel' 33
promptalias 'trashbin'
endif
//===================================
// 20small + Large exc spined BOD FILTER
// BRSK BODS
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 1
waitforgump 0x968739db 1500
replygump 0x968739db 4
waitforgump 0x968739db 1500
replygump 0x968739db 13
waitforgump 0x968739db 1500
replygump 0x968739db 66
waitforgump 0x968739db 1500
replygump 0x968739db 19
waitforgump 0x968739db 1500
replygump 0x968739db 0
waitforgump 0x54f555df 1500
pause 1000
//end filter
while @property 'Contents' 'backpack' < 123
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 5
waitforgump 0x54f555df 1500
if replygump 0x54f555df 5
waitforgump 0x54f555df 2000
while @findtype 0x2258 1155 'backpack' 'any'
waitforproperties 'found' 2500
if property 'Leather Cap' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Gorget' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Gloves' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Tunic' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Sleeves' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Leggings' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Skirt' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Female Leather Armor' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Shorts' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Bustier' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Studded Bustier' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Studded Armor' 'found'
@moveitem 'found' 'brsk_book'
pause 500
else
@moveitem 'found' 'trashbin'
pause 500
endif
endwhile
else
break
pause 200
endif
endwhile
//================================
//Leather 20x small+ Large
//Keeps bless deed bods
//This will trash 120PS BODs
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 1
waitforgump 0x968739db 1500
replygump 0x968739db 4
waitforgump 0x968739db 1500
replygump 0x968739db 13
waitforgump 0x968739db 1500
replygump 0x968739db 62
waitforgump 0x968739db 1500
replygump 0x968739db 19
waitforgump 0x968739db 1500
replygump 0x968739db 0
waitforgump 0x54f555df 1500
pause 500
//end filter
while @property 'Contents' 'backpack' < 123
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 5
waitforgump 0x54f555df 1500
if replygump 0x54f555df 5
waitforgump 0x54f555df 1500
pause 500
while @findtype 0x2258 1155 'backpack' 'any'
waitforproperties 'found' 2500
if property 'Studded Gorget' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Studded Gloves' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Studded Sleeves' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Studded Leggings' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Studded Tunic' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Leather Gorget' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset'
pause 500
elseif property 'Leather Sleeves' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset'
pause 500
elseif property 'Leather Cap' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset'
pause 500
elseif property 'Leather Gloves' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset'
pause 500
elseif property 'Leather Leggings' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset'
pause 500
elseif property 'Leather Tunic' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset'
pause 500
elseif property 'Boots' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset' pause 500
elseif property 'Shoes' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset'
pause 500
elseif property 'Sandals' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset'
elseif property 'Leather Skirt' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset'
pause 500
elseif property 'Leather Bustier' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset'
pause 500
elseif property 'Leather Shorts' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset'
pause 500
elseif property 'Female Leather Armor' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset'
pause 500
else
@moveitem 'found' 'trashbin'
pause 500
endif
endwhile
else
break
pause 200
endif
endwhile
//================================
//small +large exc leather BODs FILTER
//HRSK + 120PS BODS
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 1
waitforgump 0x968739db 1500
replygump 0x968739db 4
waitforgump 0x968739db 1500
replygump 0x968739db 13
waitforgump 0x968739db 1500
replygump 0x968739db 62
waitforgump 0x968739db 1500
replygump 0x968739db 7
waitforgump 0x968739db 1500
replygump 0x968739db 0
waitforgump 0x54f555df 1500
pause 500
//end filter
while @property 'Contents' 'backpack' < 123
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 5
waitforgump 0x54f555df 1500
if replygump 0x54f555df 5
waitforgump 0x54f555df 1500
pause 500
while @findtype 0x2258 1155 'backpack' 'any'
waitforproperties 'found' 2500
if property 'Leather Cap' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Leather Gorget' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Leather Gloves' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Leather Tunic' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Leather Sleeves' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Leather Leggings' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Leather Skirt' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Female Leather Armor' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Leather Shorts' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Leather Bustier' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Studded Bustier' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Studded Armor' 'found'
@moveitem 'found' 'hrsk_book'
pause 500
elseif property 'Boots' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset' pause 500
elseif property 'Shoes' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset'
pause 500
elseif property 'Sandals' 'found' and not property 'Large Bulk Order' 'found'
@moveitem 'found' 'LeatherReset'
else
@moveitem 'found' 'trashbin'
pause 500
endif
endwhile
else
break
pause 200
endif
endwhile
//================================
//large cloth BODs FILTER
//TRASH BODS
useobject 'sourcebook'
waitforgump 0x968739db 1500
replygump 0x54f555df 1
waitforgump 0x968739db 1500
replygump 0x968739db 12
waitforgump 0x968739db 1500
replygump 0x968739db 58
waitforgump 0x968739db 1500
replygump 0x968739db 5
waitforgump 0x968739db 1500
replygump 0x968739db 7
waitforgump 0x968739db 1500
replygump 0x968739db 0
waitforgump 0x54f555df 1500
pause 500
//end filter
while @property 'Contents' 'backpack' < 123
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 5
waitforgump 0x54f555df 1500
if replygump 0x54f555df 5
waitforgump 0x54f555df 1500
while @findtype 0x2258 1155 'backpack' 'any'
@moveitem 'found' 'trashbin'
pause 500
endwhile
else
break
pause 200
endif
endwhile
//================================
//spinned 10 BODs FILTER
//TRASH BODS
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 1
waitforgump 0x968739db 1500
replygump 0x968739db 4
waitforgump 0x968739db 1500
replygump 0x968739db 5
waitforgump 0x968739db 1500
replygump 0x968739db 66
waitforgump 0x968739db 1500
replygump 0x968739db 11
waitforgump 0x968739db 1500
replygump 0x968739db 0
waitforgump 0x54f555df 1500
pause 500
//end filter
while @property 'Contents' 'backpack' < 123
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 5
waitforgump 0x54f555df 1500
if replygump 0x54f555df 5
waitforgump 0x54f555df 1500
while @findtype 0x2258 1155 'backpack' 'any'
@moveitem 'found' 'trashbin'
pause 500
endwhile
else
break
pause 200
endif
endwhile
//================================
//spinned 15 BODs FILTER
//TRASH BODS
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 1
waitforgump 0x968739db 1500
replygump 0x968739db 4
waitforgump 0x968739db 1500
replygump 0x968739db 5
waitforgump 0x968739db 1500
replygump 0x968739db 66
waitforgump 0x968739db 1500
replygump 0x968739db 15
waitforgump 0x968739db 1500
replygump 0x968739db 0
waitforgump 0x54f555df 1500
pause 500
//end filter
while @property 'Contents' 'backpack' < 123
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 5
waitforgump 0x54f555df 1500
if replygump 0x54f555df 5
waitforgump 0x54f555df 1500
while @findtype 0x2258 1155 'backpack' 'any'
@moveitem 'found' 'trashbin'
pause 500
endwhile
else
break
pause 200
endif
endwhile
//================================
//All 10,15,20 Horned BODS FILTER
//BRSK BODS
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 1
waitforgump 0x968739db 1500
replygump 0x968739db 4
waitforgump 0x968739db 1500
replygump 0x968739db 13
waitforgump 0x968739db 1500
replygump 0x968739db 70
waitforgump 0x968739db 1500
replygump 0x968739db 7
waitforgump 0x968739db 1500
replygump 0x968739db 0
waitforgump 0x54f555df 1500
pause 500
//end filter
while @property 'Contents' 'backpack' < 123
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 5
waitforgump 0x54f555df 1500
if replygump 0x54f555df 5
waitforgump 0x54f555df 1500
while @findtype 0x2258 1155 'backpack' 'any'
waitforproperties 'found' 2500
if property 'Leather Cap' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Gorget' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Gloves' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Tunic' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Sleeves' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Leggings' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Skirt' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Female Leather Armor' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Shorts' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Bustier' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Studded Bustier' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Studded Armor' 'found'
@moveitem 'found' 'brsk_book'
pause 500
else
@moveitem 'found' 'trashbin'
pause 500
endif
endwhile
else
break
pause 200
endif
endwhile
//================================
//All 10,15,20 Barbed BODs FILTER
//BRSK BODS
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 1
waitforgump 0x968739db 1500
replygump 0x968739db 4
waitforgump 0x968739db 1500
replygump 0x968739db 13
waitforgump 0x968739db 1500
replygump 0x968739db 74
waitforgump 0x968739db 1500
replygump 0x968739db 7
waitforgump 0x968739db 1500
replygump 0x968739db 0
waitforgump 0x54f555df 1500
pause 500
//end filter
while @property 'Contents' 'backpack' < 123
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 5
waitforgump 0x54f555df 1500
if replygump 0x54f555df 5
waitforgump 0x54f555df 1500
while @findtype 0x2258 1155 'backpack' 'any'
waitforproperties 'found' 2500
if property 'Leather Cap' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Gorget' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Gloves' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Tunic' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Sleeves' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Leggings' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Skirt' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Female Leather Armor' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Shorts' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Leather Bustier' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Studded Bustier' 'found'
@moveitem 'found' 'brsk_book'
pause 500
elseif property 'Studded Armor' 'found'
@moveitem 'found' 'brsk_book'
pause 500
else
@moveitem 'found' 'trashbin'
pause 500
endif
endwhile
else
break
pause 200
endif
endwhile
//=================================
//All NORMAL large BODS
//TRASH BODS
useobject 'sourcebook'
waitforgump 0x54f555df 15000
replygump 0x54f555df 1
waitforgump 0x968739db 15000
replygump 0x968739db 12
waitforgump 0x968739db 15000
replygump 0x968739db 9
waitforgump 0x968739db 15000
replygump 0x968739db 54
waitforgump 0x968739db 15000
replygump 0x968739db 7
waitforgump 0x968739db 15000
replygump 0x968739db 0
waitforgump 0x54f555df 15000
pause 500
//end filter
while @property 'Contents' 'backpack' < 123
useobject 'sourcebook'
waitforgump 0x54f555df 1500
replygump 0x54f555df 5
waitforgump 0x54f555df 1500
if replygump 0x54f555df 5
waitforgump 0x54f555df 1500
while @findtype 0x2258 1155 'backpack' 'any'
@moveitem 'found' 'trashbin'
pause 500
endwhile
else
break
pause 200
endif
endwhile
//=================================
@unsetalias 'brsk_book'
@unsetalias 'hrsk_book'
@unsetalias 'sourcebook'
@unsetalias 'LeatherReset'