Issue information

Issue ID
#1528
Status
Fixed
Severity
None
Started
Hercules Elf Bot
May 18, 2008 11:01
Last Post
Hercules Elf Bot
May 18, 2008 11:01
Confirmation
N/A

Hercules Elf Bot - May 18, 2008 11:01

Originally posted by [b]BrianL[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1528

In the current code for @noks, if you type an input other than "self", "party", or "guild" (ex: @noks blah)
the command returns the previous atcmd_output because this line of code is placed outside the if-else statement:
CODE
clif_displaymessage(fd, atcmd_output);

Possible fixes: move the code for @noks party (default) to the end inside the last "else" so it truely catches all.
Or, make a separate output if @noks doesn't match self/party/guild and to display something like "Usage: @noks <self|party|guild>"

This post has been edited by brianlew: May 18 2008, 04:01 AM