iLPdev / iLPdev/prs

use enableCmdLine against PRSchat.EMCO

Open
#103 0 comments 0 reactions 0 assignees View on GitHub
enhancement hacktoberfest help wanted
Dominant language
Lua
Stars
11
Forks
6
PR merge metrics
No merged PRs in 30d

Description

https://demonnic.github.io/mdk/current/classes/EMCO.html#emco:enableCmdLine
```
PRSchat.EMCO:enableCmdLine("Chat", function()
send("chat " .. str)
end)
```
instead of the two part process you're using and reaching into PRSchat.EMCO.mc for
![image](https://github.com/iLPdev/prs/assets/1428343/a3793a10-5f30-4887-b182-96b2270cd5bf)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at the PRSchat.EMCO chat-command setup and compare its current two-part process and direct PRSchat.EMCO.mc access with the documented PRSchat.EMCO:enableCmdLine entry point. Done means the chat command uses enableCmdLine with the shown callback and retains the existing chat behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
cli
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.