Unlock exit not working?

I'm not sure what I'm doing wrong, if anything. I set up a script to use an inventory item on another object which should unlock an exit, but when I attempt to use said exit, it's still locked.

Could you post an example (asl-file) with your problem?

Sure thing...just as soon as I figure out what an asl file is...

It's the game file you're editing in QDK. You can upload it here by replying and clicking the "Upload attachment" tab that appears under the Save/Preview/Submit buttons.

Ok, here you go.

You have to use the direction instead of the roomname with the unlock-command.
"Unlock the exit from 'Room A' to 'east' " instead of "Unlock the exit from 'Room A' to Room B' "

Alex wrote in an earlier threat:
"I realise this isn't actually very clear from the documentation, but you use a room name as the second parameter for "go to (room name)" type exits - for directional exits you need to use the direction name instead."