Skip to content

BUG: Slash Command Error #10

@eTzmNcbkrng

Description

@eTzmNcbkrng

running /ctp with no arguments throws an error.
It should silently fail or print help text showing valid arguments.

12x ClassTrainerPlus\ClassTrainerPlus-0.7-beta.lua:836: bad argument #1 to 'lower' (string expected, got nil)
[C]: in function `lower'
ClassTrainerPlus\ClassTrainerPlus-0.7-beta.lua:836: in function `?'
FrameXML\ChatFrame.lua:4695: in function `ChatEdit_ParseText'
FrameXML\ChatFrame.lua:4356: in function `ChatEdit_SendText'
FrameXML\ChatFrame.lua:4392: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>

Locals:
(*temporary) = nil
(*temporary) = "string expected, got nil"

Also, is there any documentation on how the import feature works? I couldn't figure it out so have been copying characters' individual SavedVar files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions