Welcome to the Achaea Forums! Please be sure to read the Forum Rules.

Help setting up custom emote

SethSeth North CarolinaMember Posts: 145 ✭✭✭ - Distinguished
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>;.

Best Answer

Answers

  • SethSeth North CarolinaMember Posts: 145 ✭✭✭ - Distinguished
    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!
    Klendathu
Sign In to Comment.