Are you sure you're not executing a draw(sword); command anywhere else?
By the way, what I meant was for that code to appear in the new_room section of the logic as well, as in:
if (new_room)
{
// other new_room code here
if (obj.in.room("sword", room_no))
{
// all the stuff in here
}
}
I don't think it's you that's the problem. But if what I suggested doesn't work then there's a good chance that there's something else you're doing in your code that we can't see that's causing the problem, because I used that code in my game and it works ok. Did you also make sure to execute a get("sword") command in the if (said("get", "sword")) section?