To quote the help file:
$merchant(has,"item name")
Returns TRUE if merchant has an item.
I have tried to use this command several times with no success. I have the latest CVS and all that stuff, just can't get this command to work correctly, but I am a master at making EQ crash by opening a merchant and running a script with a line that reads:
/if $merchant(has, "Water Flask") == "TRUE" /echo he has water!
Can anyone tell me what I am doing wrong? I have tried standing next to the merchant, having the window open, everything. I couldn't find any newer eqgame.ini stuff so I don't think that's the problem. Is there a problem with the $merchant variable?
If someone posts a few line code that uses that command and works I'm sure I could figure it out, but with EQ crashing every time I try and I have to wait for me to finish going LD I am beginning to think it's not me.
Thanks,
-The nerd

