1
0
EQ2Emu/docs/lua_functions/CloseItemConversation.md
2025-05-27 09:56:36 -04:00

24 lines
523 B
Markdown

### Function: CloseItemConversation(item, player)
**Description:**
Closes a conversation of the Player with an Item script.
**Parameters:**
- `item` (Item) - Item object representing `item`.
- `player` (Spawn) - Spawn object representing `player`.
**Returns:** None.
**Example:**
```lua
-- From ItemScripts/abixieeye.lua
function Step_Complete(Item, Player)
if HasItem(Player,1219,1) then
SetStepComplete(Player, LoreAndLegendBixie, 4)
CloseItemConversation(Item, Player)
RemoveItem(Player, 1219)
end
```