Hi Favardin
I think you are looking for 'the hard way' to do this! You really only need to code a command for the special case ('Livolas' in your example), and let Quest's built in commands take care of the rest.
However if you override a 'give' you DO need to check your player actually has the item he's trying to give away or you'll find he can give away stuff he hasn't even
seen yet. let alone isn't holding! Oops!
I've coded up an example see below:
Notice I've coded the global catch all to only catch 'give' if it relates to Livolas - this is I think what you wanted to do

I also put the 'actions' inside a check that the player actually HAS the thng he's trying to give to Livolas, if he doesn't it just calls a regular Quest give (which says you haven't got that).
Done this way a local give in the 'boss' object isn't caught by the global command - I think this gives the effect you are after ..
' Quest 3.5 ASL Template
define game <Game Name>
asl-version <350>
gametype singleplayer
game version <1.0>
game author <Your Name>
game copyright <© 2004 ...>
game info <Enter any additional information about this game here.>
start <Start Room>
command <give #@thing# to Livolas> {
if ($locationof(#thing#)$ = inventory) then {
msg <Cheers dude, just what I always wanted!>
lose <#thing#>
hide <#thing#>
}
else exec <#quest.originalcommand#;normal>
}
end define
define room <Start Room>
look <Description Goes Here>
define object <widget>
look <a widget>
take
end define
define object <Livolas>
look <it's Livolas>
displaytype <geezer>
end define
define object <boss>
look <the Boss>
displaytype <geezer>
give <widget> {
msg <Why the hell would I want that - clear off!>
}
end define
end define
define text <intro>
Enter intro text here
end define
define text <win>
Enter win text here
end define
define text <lose>
Enter lose text here
end define
Cut n paste this example and then run it - Take the widget (you can't give things you are not holding) and try giving it to either "geezer". You should find that it works as you require.
Hope this helps
Al (MaDbRiT)