User Tools

Site Tools


mud:take

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mud:take [2019/08/08 16:01] (current)
admin created
Line 1: Line 1:
 +<​code>​
 +  COMMAND: take[/<​switch>​] <​object>​
 +           ​take[/<​switch>​] <​exit>​
 +           ​take[/<​switch>​] <​object>'​s <​sub-object>​
 +</​code>​
 +
 +The first form picks up <​object>​ from your location and adds it to your inventory. ​ It will fail if the object is locked against you, or if you are inside a player or object that you don't control and which isn't set ENTER_OK.
 +
 +The second form takes an exit from your location and adds it to you. Anyone inside you may then use the exit to travel to the exit's destination. You may take exits that you own, and exits owned by others in locations that you own.
 +
 +The third form takes <​sub-object>​ from <​object>​ and adds it to your inventory. ​ <​object>​ must be ENTER_OK and <​sub-object>​ must not be locked against you for this to work.  The lock on <​object>​ is not checked.
 +
 +The following switch is recognized:
 +
 +     /​quiet ​  - Don't perform the @osucc/​@asucc or @ofail/​@afail attributes
 +                on the target object. ​ This switch only works if you control
 +                the object.
 +
 +<​object>​ and <​sub-object>​ may be either players or things.
 +
 +'​get'​ is the same as '​take'​.
 +
 +Related Topics: [[mud:​drop]],​ [[mud:​@afail]],​ [[mud:​@asucc]],​ [[mud:​@fail]],​ [[mud:​@ofail]],​ [[mud:​@osucc]],​ [[mud:​@succ]],​ [[mud:​ENTER_OK]],​ [[mud:​FAILURE]],​ [[mud:​SUCCESS]].
  
mud/take.txt ยท Last modified: 2019/08/08 16:01 by admin