Create NPC /n #3059
Labels
Priority: Medium
This issue may be impactful and needs some attention.
Status: Pending Test
This PR or Issue requires more testing
Type: Bug
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Priority
Medium
Area
What happened?
Command in talkactions is bugger
Everytime if use /n is info There is not enough room.
I fix it.
-- Add new NPC entry
local textToAdd = string.format('\t\n\t\t\n\t', position.x, position.y, position.z, name, position.z)
local newFileContent = fileContent:gsub(endTag, textToAdd .. "\n" .. endTag)
Full script create_npc.lua
-- To summon a temporary NPC use /n npcname
-- To summon a permanent NPC use /n npcname,true
local createNpc = TalkAction("/n")
function createNpc.onSay(player, words, param)
-- create log
logCommand(player, words, param)
end
createNpc:separator(" ")
createNpc:groupType("god")
createNpc:register()
What OS are you seeing the problem on?
Linux
Code of Conduct
The text was updated successfully, but these errors were encountered: