Help setting up custom emote

SethSeth North Carolina
I'm trying to set up an emote in mudlet that would work targeted and untargeted.
Example: "Hi" would Emote says Hi.
                "Hi <person> would Emote say hi to <@person&gt;.

Best Answer

Answers

  • SethSeth North Carolina
    Klendathu said:
    Pattern:
    ^hi? ?(\w+)?$


    Big white box:

    if not matches[2] then
    send("emote says hi",false)
    else
    send("emote says hi to "..matches[2],false)
    end

    Thanks!
Sign In or Register to comment.