Changed default theme

This commit is contained in:
Andrew Pamment 2018-02-04 16:36:49 +10:00
parent 223705d6b3
commit 84f85ab626
12 changed files with 26 additions and 3 deletions

View File

@ -42,3 +42,7 @@ NEWSTRING: "\r\n\r\n\e[1;37mReset pointers to All (\e[1;33mR\e[1;37m)ead, All (\
LINE 231 MODIFIED LINE 231 MODIFIED
OLDSTRING: "\r\n\e[1;37mAre you sure you want to reset \e[1;31mall messages \e[1;37min all bases to unread? \e[0m" OLDSTRING: "\r\n\e[1;37mAre you sure you want to reset \e[1;31mall messages \e[1;37min all bases to unread? \e[0m"
NEWSTRING: "\r\n\r\n\e[1;37mReset \e[1;31mALL\e[1;37m pointers in \e[1;31mALL \e[1;37mareas to (\e[1;33mR\e[1;37m)ead, (\e[1;33mU\e[1;37m)nread? \e[0m" NEWSTRING: "\r\n\r\n\e[1;37mReset \e[1;31mALL\e[1;37m pointers in \e[1;31mALL \e[1;37mareas to (\e[1;33mR\e[1;37m)ead, (\e[1;33mU\e[1;37m)nread? \e[0m"
LINE 167 MODIFIED
OLDSTRING: "\r\nWhat is your login name: "
NEWSTRING: "\r\n\e[0mWhat is your login name: "

BIN
dist/ansis/doors.ans vendored

Binary file not shown.

Binary file not shown.

BIN
dist/ansis/goodbye.ans vendored

Binary file not shown.

BIN
dist/ansis/issue.ans vendored

Binary file not shown.

BIN
dist/ansis/logoff.ans vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
dist/ansis/newuser.ans vendored

Binary file not shown.

View File

@ -164,7 +164,7 @@ User Name Location Times On\r\n
\e[1;30m-------------------------------------------------------------------------------\e[0m\r\n \e[1;30m-------------------------------------------------------------------------------\e[0m\r\n
\e[1;37m%-16s \e[1;36m%-32s \e[1;32m%5d\r\n \e[1;37m%-16s \e[1;36m%-32s \e[1;32m%5d\r\n
\e[1;30m-------------------------------------------------------------------------------\e[0m\r\n \e[1;30m-------------------------------------------------------------------------------\e[0m\r\n
\r\nWhat is your login name: \r\n\e[0mWhat is your login name:
Sorry, that name is too short.\r\n Sorry, that name is too short.\r\n
Sorry, invalid character, can only use alpha characters.\r\n Sorry, invalid character, can only use alpha characters.\r\n
Sorry, that name is reserved.\r\n Sorry, that name is reserved.\r\n

View File

@ -1,5 +1,5 @@
LUASCRIPT logoff
ANSIFILE logoff ANSIFILE logoff
CLEARSCREEN
HOTKEY Y HOTKEY Y
COMMAND LOGOFF COMMAND LOGOFF

19
dist/scripts/logoff.lua vendored Normal file
View File

@ -0,0 +1,19 @@
function menu()
-- display menu ansi
bbs_write_string("\027[2J");
bbs_display_ansi("logoff");
-- display prompt
bbs_write_string(string.format("\r\n\027[1;34m [\027[0;36mTime Left\027[1;37m %dm\027[34m]-> \027[0m", bbs_time_left()));
-- read char entered
cmd = bbs_read_char();
-- do stuff if you want
-- return the char entered
return cmd;
end