Selecting Need for uncollected items

damx324

Active Member
I am trying to modify the EQ2bot loot atom to select Need in NBG looting for "?" that are not already collected by my bot

Inside the LootWDw atom:

PHP:
if (!${LootPrevCollectedShineys})
			{
					if (${LootWindow[${ID}].Item[${tmpcnt}].IsCollectible})
					{
						if (${LootWindow[${ID}].Item[${tmpcnt}].AlreadyCollected} && ${Me.Group} > 1)
						{
								; If we are running EQ2Harvest, then we will collect everything.
								if !${Script[EQ2harvest](exists)}
								{
									Debug:Echo["Item marked as collectible and I've already collected it -- declining! (${LootWindow[${ID}].Item[${tmpcnt}].Name})"]
									deccnt:Inc
								}
								
						}
						else
						{
							Debug:Echo["This item is collectible and I have NOT collected it -- ALWAYSLOOTIT! (${LootWindow[${ID}].Item[${tmpcnt}].Name})"]
							LootWindow[${ID}]:SelectNeed
						}
					}
				}
		}
added the method call to the routine itself instead of trying to use the switch statement below; works as listed
 
Last edited:
Top Bottom