From 915ffaa8889eee6153b7507c838f77dbbd7905ae Mon Sep 17 00:00:00 2001 From: Greg Date: Tue, 30 Jul 2013 11:58:51 -0400 Subject: [PATCH] Update nTox.c Added help command to nTox.c --- testing/nTox.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/testing/nTox.c b/testing/nTox.c index f00fe200..97a39a12 100644 --- a/testing/nTox.c +++ b/testing/nTox.c @@ -151,6 +151,12 @@ void line_eval(char lines[HISTORY][STRING_LENGTH], char *line) do_refresh(); } + + else if (line[1] == 'h') { //help + new_lines("[i] commands: /f ID (to add friend), /m friendnumber message (to send message), /s status (to change status)"); + new_lines("[i] /l list (list friends), /h for help, /n nick (to change nickname), /q (to quit)"); + } + else if (line[1] == 'q') { //exit endwin(); exit(EXIT_SUCCESS);