diff --git a/scripts/commands/teleport.py b/scripts/commands/teleport.py index fb35c621..1b2e4112 100644 --- a/scripts/commands/teleport.py +++ b/scripts/commands/teleport.py @@ -23,24 +23,24 @@ def run(core, actor, target, commandString): if arg1 and arg2 and arg3 and arg4 is not None: try: - actor.sendSystemMessage('gm: teleport: Command completed successfully.', 0) + actor.sendSystemMessage(' \\#FE2EF7 [GM] \\#FFFFFF Teleport: Command completed successfully.', 0) position = Point3D(float(arg1), float(arg2), float(arg3)) core.simulationService.transferToPlanet(actor, core.terrainService.getPlanetByName(arg4), position, actor.getOrientation(), None) except: - actor.sendSystemMessage('Invalid Syntax. Syntax is: /teleport [] ', 0) + actor.sendSystemMessage(' \\#FE2EF7 [GM] \\#FFFFFF Teleport: Invalid Syntax. Syntax is: /teleport [] .', 0) return return elif arg1 and arg2 and arg3: try: - actor.sendSystemMessage('gm: teleport: Command completed successfully.', 0) + actor.sendSystemMessage(' \\#FE2EF7 [GM] \\#FFFFFF Teleport: Command completed successfully.', 0) position = Point3D(float(arg1), 0, float(arg2)) core.simulationService.transferToPlanet(actor, core.terrainService.getPlanetByName(arg3), position, actor.getOrientation(), None) except: - actor.sendSystemMessage('Invalid Syntax. Syntax is: /teleport [] ', 0) + actor.sendSystemMessage(' \\#FE2EF7 [GM] \\#FFFFFF Teleport: Invalid Syntax. Syntax is: /teleport [] .', 0) return else: - actor.sendSystemMessage('Invalid Syntax. Syntax is: /teleport [] ', 0) + actor.sendSystemMessage(' \\#FE2EF7 [GM] \\#FFFFFF Teleport: Invalid Syntax. Syntax is: /teleport [] .', 0) return return \ No newline at end of file diff --git a/scripts/commands/teleporttarget.py b/scripts/commands/teleporttarget.py index 4b69ecdb..9a9fde95 100644 --- a/scripts/commands/teleporttarget.py +++ b/scripts/commands/teleporttarget.py @@ -12,11 +12,11 @@ def run(core, actor, target, commandString): return if target and target.getSlottedObject('ghost') is not None: - actor.sendSystemMessage('gm: teleporttarget: Command completed successfully.', 0) + actor.sendSystemMessage(' \\#FE2EF7 [GM] \\#FFFFFF teleportTarget: Command completed successfully.', 0) core.simulationService.teleport(target, actor.getPosition(), actor.getOrientation(), 0) return else: - actor.sendSystemMessage('Invalid Syntax. Syntax is: /teleporttarget ', 0) + actor.sendSystemMessage(' \\#FE2EF7 [GM] \\#FFFFFF teleportTarget: Invalid Syntax. Syntax is: /teleportTarget ', 0) return return diff --git a/scripts/commands/teleportto.py b/scripts/commands/teleportto.py index cf0b9a59..8ffc85a0 100644 --- a/scripts/commands/teleportto.py +++ b/scripts/commands/teleportto.py @@ -15,7 +15,7 @@ def run(core, actor, target, commandString): target = core.objectService.getObjectByFirstName(commandString) if target and target.getSlottedObject('ghost') is not None: - actor.sendSystemMessage('gm: teleportto: Command completed successfully.', 0) + actor.sendSystemMessage(' \\#FE2EF7 [GM] \\#FFFFFF teleportTo: Command completed successfully.', 0) if target.getPlanetId() == actor.getPlanetId(): core.simulationService.teleport(actor, target.getPosition(), target.getOrientation(), target.getParentId()) else: @@ -25,6 +25,6 @@ def run(core, actor, target, commandString): core.simulationService.transferToPlanet(actor, core.terrainService.getPlanetById(target.getPlanetId()), target.getPosition(), target.getOrientation(), core.objectService.getObject(target.getParentId())) return else: - actor.sendSystemMessage('Invalid Syntax. Syntax is: /teleportto ', 0) + actor.sendSystemMessage(' \\#FE2EF7 [GM] \\#FFFFFF teleportTo: Invalid Syntax. Syntax is: /teleportTo ', 0) return return