run DMC,
PM
I believe read the command called whisper to send private messages.
There is even a way to hide the content of text in an object from others.. but I forget now.
Unwieldable
Try making the object react to being wielded and then force it to be dropped with the appropriate puzzled look in the player
Scripting
First thing I notice in your script is that your not using the slightly faster and easier to read cowmands
if second of gives then takeit;
Also your calls should be in quotes
call "drop [$target]";
If you dont use the square brackets the raw ID will be shown and will work.. but wont look all that nice
You might want to get your actors gender so your code can be given to any object
getgender $actor;
Then use it
print "$heshe looks at it as if deciding what to do with it";
But I would use the $actor as this is the reacting object.
print "[$actor] looks at it as if deciding what to do with it";
if second of gives then takeit;
##takeit:
print "[$actor] takes [$target]";
call "drop [$target]";
print "[$actor] looks at it as if deciding what to do with it";
if $target = ****** then followthem else checkagain;
##followthem:
call "get $target";
print "[$actor] acquires the power of travel";
call "follow $init_obj";
##checkagain:
if $target = ****** then wieldit else giveback;
##wieldit:
print "[$actor] emits an aura of power";
call "wield [$target]";
##giveback:
print "[$actor] doesn't seem to be too interested in [$target]";
call "give [$target] to [$init_obj]";
One final thing.. you can set variables into your reacting object so it knows what object IDs to react to. These are commonly called pocket variables as they make a little object inside the reacting object with the info being the variable being stored.
find 1237 for an example mouse that sets and gets pocket variables.
set with something like this in
if reacting to wish the preppocket;
##preppocket:
set $actor's wieldable = 192029;
so your code could look like:
var $content = $actor's wieldable;
if $target = $content then wieldit else giveback;
Possibly this will work but maybe not
if $target = actor's wielable then wieldit else giveback;
Oh.. one more final thing.. try prefixing the command you type to trigger the reaction with the magic word 'debug ' eg:
debug give the sword to the statue
Then check for a little 'View log' link at the bottom of the window. Its mighty complex but you may find your lines of code in there and see how its being treated or skipped etc..
Have fun.