Difference between revisions of "User:Candlemaster/Item Sorter"
Jump to navigation
Jump to search
→First Attempt
imported>Candlemaster |
imported>Candlemaster |
||
Line 21: | Line 21: | ||
Begin OnActivate | Begin OnActivate | ||
MessageBox "What would you like to do?" "Sort | MessageBox "What would you like to do?" "Sort Ingredients" "Open Container" "Nevermind" | ||
set CheckOnce to 0 | set CheckOnce to 0 | ||
End | End | ||
Line 29: | Line 29: | ||
if ( Button == -1 ) | if ( Button == -1 ) | ||
Return | Return | ||
elseif ( Button == 0 ) ;Sort | elseif ( Button == 0 ) ;Sort Ingredients | ||
if ( HVHGTOBSE.HasObse == 1 ) | if ( HVHGTOBSE.HasObse == 1 ) | ||
if ( CheckOnce == 0 ) ;Only go through the player's inventory once | if ( CheckOnce == 0 ) ;Only go through the player's inventory once |