-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added signserial CProp to the "builtdeed" for multi houses. This will…
… be needed for the changeOwner script. Fixed the owner transfer sign function from issue #69 Added the gotoserial command to /pkg/commands/developer
- Loading branch information
1 parent
d21e173
commit b6daff9
Showing
3 changed files
with
43 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
use uo; | ||
|
||
program goto_serial(who, text) | ||
|
||
if(!text) | ||
SendSysMessage(who, "You must enter a serial.", color := 33); | ||
return; | ||
endif | ||
var obj := SystemFindObjectBySerial(CInt(text)); | ||
if(!obj) | ||
SendSysMessage(who, "No object exists with that serial.", color := 40); | ||
return; | ||
endif | ||
MoveObjectToLocation(who, obj.x, obj.y, obj.z, obj.realm, MOVEOBJECT_FORCELOCATION); | ||
|
||
endprogram |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters