Page 1 of 1

Possible bug in $corpse(empty) returns FALSE everytime

Posted: Tue Feb 03, 2004 8:01 pm
by Furiousness
Hi As above, am trying to check a mob's corpse before looting it to see if its empty, but alas I get FALSE each time I use $corpse(empty).

Any help appreciated.

Cheers

Fury

Posted: Wed Feb 04, 2004 6:41 am
by Brambo
From the readme file:

$corpse(empty) Returns TRUE if there are no items in the corpse loot window.

You'll have to have the loot window open, meaning actually loot the mob, before it can tell whether it's empty or not.

Posted: Wed Feb 04, 2004 7:05 am
by GD
If you want to know if a corpse is empty or not, con it. If it only has 30 seconds on it, it's empty.

Will try again

Posted: Wed Feb 04, 2004 1:23 pm
by Furiousness
Sorry will rephrase. I am trying to check the corpse after opening the loot window, to see if there is anything in it. If not then dont even click slot 0 to try and loot. So I do have the loot window open, and yes the readme file is correct (very handy for those that read it). But it still returns FALSE each time I call $corpse(empty) WITH the Loot Window OPEN.

Also seems $corpse(has,"itemname") also fails.

Cheers

Brendan