Fix up adding and printing notes
This commit is contained in:
@@ -243,10 +243,10 @@ function shared.Noter.Init()
|
|||||||
end
|
end
|
||||||
if note == "delete" then
|
if note == "delete" then
|
||||||
DeleteNotes(name, args)
|
DeleteNotes(name, args)
|
||||||
elseif string.find(note, "%D+") then
|
elseif string.find(note, "^[%d%.]*$") then
|
||||||
AddNote(name, sender, args)
|
|
||||||
elseif string.find(note, "[%d%.]*") then
|
|
||||||
PrintNotes(name, args)
|
PrintNotes(name, args)
|
||||||
|
else
|
||||||
|
AddNote(name, sender, args)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|||||||
Reference in New Issue
Block a user