Log in

View Full Version : Is $lastcheckresult$ really working ?



Beggari
12-14-2015, 14:11
Today I was trying to implement a safer open-door in my script, but I don't think it's working properly.
Pardon my ignorance if I'm wrong, but I think the $lastcheckresult$ should return a string when you look something on X,Y,Z. Is that right ?

I have used some other templates and this one from blackd http://www.blackdtools.net/showthread.php?54377-advanced-scripters-How-to-open-doors-in-safer-way&highlight=doors .

The thing is, it executes the exiva check properly, but when it comes to $lastcheckresult$ it never returns anything from the exiva check. I even went to the Events to check what exactly $lastcheckresult$ was returning and it was returning NOTHING. It actually was returning that kind of message right above the chat (not possible, you're full etc), which I THINK it's not what it's supposed to do.

So if anyone can test to see if it's really working, please tell me :D

If you want I can post the part of the door opener scripts just for you guys to see if there's any error there, but I think the code is just fine.

If it's working and I'm just stupid, you can close/delete the thread ;c

Thanks in advance.

Beggari
01-14-2016, 12:39
Found a new variable $lastchecktileid$ and that did the trick.