ID:170872
 
Is there a way to create a screen where 2 players can talk and trade items, but where both have to click a button to agree to the trade? And, what would add to my Drop() verb to make the item go to the ground your on instead of dissapearing? Here's my drop code.

obj/weapon/verb
Unequip()
set src in usr
if(usr.RightHand==0)
usr << "It's not equipped..."
else
usr.RightHand = 0
usr.Strength -= Power
Get()
set src in oview(1)
usr.contents += src
usr << "You pick up [src]."
usr.Money += src.value
Drop()
set src in oview(1)
usr.contents -= src
usr << "You toss aside your [src]"
try...
obj/weapon/verb
Drop()
set src in oview(1)
src.loc = usr.loc
usr << "You toss aside your [src]"


I believe that will work.

And for the trading, try creating an HUD, there should be some demos on it.
In response to Lenox
thx, that part worked, but i cant seem to find out how to do the hud thing for trading....
In response to Pakbaum
Actually, rather than a HUD, I'd do an HTML popup window. It'd be easier and be a little less laggy.
In response to Ter13
HTML popup windows? Um...How would i do something like that?