Skip to content

Add sender and printToSender(<message>) to TimecodeDsl #8

@RyanHecht

Description

@RyanHecht

Add sender and printToSender(<message>) to TimecodeDsl

A common pattern to write a show that debugs something is to do as follows:

show { playerName -> 

def resultOfTest = testSomething();

player(playerName).sendMessage(testSomething);

}

Calling this show is done via /show start debugShow --args "RyanHecht_"

It would be nice if sender was automatically resolved to the CommandSender that started the show. Likewise, printToSender would be a nice convenience method to print strings to the show's starter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions