You can copy the "take" and/or "drop" commands into your game from the editor by clicking "Filter" at the bottom of the tree, then "Show Library Elements". You can then select "take" or "drop" and click the "Copy" button in the yellow bar to make a local copy of these commands in your game.
Once in your game, you can edit the definitions. You could change the script so that if the "object" list has no items, you could print a message.
To change what "all" means for these commands, you need to edit the "multiple" attribute. You can only do this from the code view. The "multiple" attribute returns the object list which is passed to the script. The default for "take" is:
return (ListExclude(ScopeVisibleNotHeldNotScenery(), player))
which returns all visible non-scenery objects, excluding the player themselves. You could call some other function to return a different object list here perhaps.