It depends on the script. There are some built-in functions in lich for emptying your hands / filling them back up (like go2 uses these a lot to put your weapons away when needed). Scripts can opt to use them or do it themselves, obviously.
What specifically are you doing that it's getting hung up on? Doing a quick check at least the PUT should catch for the empty_hands stuff (it matches on 'You slip').
Mithrilschlong, 2015-03-10 to slightly later on 2015-03-10. You will not be forgotten!
usable Meteor Swarm, late 2020-12-30 to early 2020-12-31. You will also not be forgotten!