// Saitama Offline you UOSteam macro. Idol huriwake
// UPDATE : 2013/11/18
///////////////////////////////////////////////////
//
//*1
//List 'IdolList' check.
if not listexists 'IdolList'
sysmsg 'IdolList wo touroku sitene.'
//macro teishi
stop
endif
//
//*2
//Contena to Idol Book no touroku.
//Idol ga ima haitte iru Contena wo sitei.
if not @findobject 'IdolSource'
sysmsg 'Idol no Source wo sitei.' 20
promptalias 'IdolSource'
endif
//*3
//amatta Idol ire oyobi sagyouyou touroku.
if not @findobject 'IdolContena'
sysmsg 'Idol wo ireru Contena sitei.' 20
promptalias 'IdolContena'
endif
//*4
//Statue toka no Idol deha nai item ire wo touroku.
if not @findobject 'notIdolContena'
sysmsg 'Statue nado wo ireru Contena sitei.' 20
promptalias 'notIdolContena'
endif
//*5
//** sakujo. Idol Book ha click menu de ! **
//
//*6
//'IdolContena' to 'notIdolContena' wo hiraite oku.
useobject 'IdolSource'
pause 1000
useobject 'IdolContena'
pause 1000
useobject 'notIdolContena'
pause 1000
//
//*7
//Idol siwake Loop kaishi.
for 0 to 'IdolList'
//*8
//List'IdolList' ni touroku sita ID de 'IdolSource' nai wo kensaku.
while @findtype IdolList[] 'any' 'IdolSource'
pause 1000
//*9
//Item property ni 'idol' to iu moji ga aruka check.
if property 'idol' 'found'
moveitem! 'found' 'IdolContena'
pause 1000
else
//*10
//property ni 'idol' ga nakatta toki no shori.
moveitem! 'found' 'notIdolContena'
pause 1000
unsetalias 'found'
continue
endif
//pause 1000
//*11 *12
//** sakujo. Idol Book ha click menu de ! **
endwhile
endfor
//
//*13
//atosimatu. alias kaijo.
unsetalias 'found'
unsetalias 'IdolSource'
unsetalias 'IdolContena'
unsetalias 'notIdolContena'
unsetalias 'IdolBook01'