From f14290d6fd13d85df9fd3bbbbeeebe41463f08ae Mon Sep 17 00:00:00 2001 From: Andrew Pamment Date: Mon, 5 Feb 2018 17:56:00 +1000 Subject: [PATCH] updated theme to look a bit nicer, removed warning ansi --- dist/ansis/bulletin0.ans | Bin 1237 -> 2721 bytes dist/ansis/bulletin1.ans | Bin 5157 -> 1236 bytes dist/ansis/issue.ans | Bin 1343 -> 1574 bytes dist/config/bbs.ini | 3 ++- dist/scripts/login_stanza.lua | 15 ++++++++------- 5 files changed, 10 insertions(+), 8 deletions(-) diff --git a/dist/ansis/bulletin0.ans b/dist/ansis/bulletin0.ans index 2e1a4a39c7a12d6194b2f681dbfa8fb1465049ec..7270a2c009886e4b957e37753dc2e48f6c666b13 100644 GIT binary patch literal 2721 zcmb_e%Wm6N5OuZ&yy~JrwV7^;wkRx8a^$vN`K4As{Xi(kMTIUH`r0PKhd|OslV2r8 z{z;HCb03uD6mWskfcctx=A1J#ml`a*gFWwHyq^vhd*kE5VmwKk1}A>-i@o33CNj_b zk$G5mHf-dZM?`Ji**H%>tOpDKU~iJH1`97`6#rn%7etH0leedD=Ck1R?DTy8_s+H? z=McP?xCx&@Zj#o35lZ_8)!vT`=dNCnOKm8&Ht4nCr)BtpYPjr87``=WKvJ@p1vNma zX=)rs1tbd}D}7>+o2G%Hrb9GKV+TdGjj!vbT~W>NT7Z5TQygI5IXy35r^ZyMT>+x* ztcyry_;i*aJP?9RyzbmDxjWPkzMsp}YT(`@s^^0FDNPKU-# z>+oz1>?)kyZm_8WLnjXY3j-rT(BX?KZ|^JTm3C-sx)y+FS^Id6*)x4S@gkY~PR}J1 zackH63)5$}13R=j_ga}TG%^k^%FdgKLuk0tvQfF@J#noF9)lZ?alPWXbb+R?WjT*2 zIAA-$uH)>o*09weh|R=c35QKA%S50g6Z?tTl*1I$c(A_KwScVYNH0ap$rV`E^^=yA zvUR4#Egn;|${3*Ep=5hu0g#8&T98SA3~+`2i~{kYkCQdxQg0p@IogPnKK1!?q`xwa z)CC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yTkuSVuy@+H!p|>jPiPEd6x9dv+RWLy%>_>2%#KXZR zD^2L3mTU=U>!FYFu*13E`yQWXWTDZW0Nh~1VI>H2m8949sB?$vA&)F diff --git a/dist/config/bbs.ini b/dist/config/bbs.ini index 6414ed3..1e0c3e0 100644 --- a/dist/config/bbs.ini +++ b/dist/config/bbs.ini @@ -55,4 +55,5 @@ HappyNet = config/happynet.ini General Files = config/filesgen.ini [text files] -Warning = ansis/bulletin0.ans +Magicka Advertisement = ansis/bulletin0.ans +Whats New = ansis/bulletin1.ans diff --git a/dist/scripts/login_stanza.lua b/dist/scripts/login_stanza.lua index 69a72bc..25b783e 100644 --- a/dist/scripts/login_stanza.lua +++ b/dist/scripts/login_stanza.lua @@ -19,8 +19,9 @@ end -- Display Bulletins while(true) do if file_exists(bulletin_path .. "/bulletin" .. string.format("%d", i) .. ".ans") then + bbs_write_string("\027[2J\027[1;1H"); bbs_display_ansi("bulletin" .. string.format("%d", i)); - bbs_write_string("\027[0mPress any key to continue...\r\n"); + bbs_write_string("\027[1;37mPress any key to continue...\027[0m"); bbs_read_char(); else break; @@ -37,7 +38,7 @@ local machinename; bbsname, sysopname, systemname, machinename = bbs_get_info(); -bbs_write_string("\027[1;37mSystem Information\r\n"); +bbs_write_string("\r\n\r\n\027[1;37mSystem Information\r\n"); bbs_write_string("\027[1;30m----------------------------------------------\r\n"); bbs_write_string("\027[1;32mBBS Name : \027[1;37m" .. bbsname .. "\r\n"); bbs_write_string("\027[1;32mSysOp Name : \027[1;37m" .. sysopname .. "\r\n"); @@ -45,7 +46,7 @@ bbs_write_string("\027[1;32mNode : \027[1;37m" .. string.format("%d", bbs bbs_write_string("\027[1;32mBBS Version : \027[1;37m" .. bbs_version() .. "\r\n"); bbs_write_string("\027[1;32mSystem : \027[1;37m" .. systemname .. " (" .. machinename .. ")\r\n"); bbs_write_string("\027[1;30m----------------------------------------------\r\n"); -bbs_write_string("\027[0mPress any key to continue...\r\n"); +bbs_write_string("\027[1;37mPress any key to continue...\027[0m"); bbs_read_char(); -- Display Last 10 Callers @@ -55,7 +56,7 @@ local user; local location; local ltime; -bbs_write_string("\r\n\027[1;37mLast 10 callers:\r\n"); +bbs_write_string("\r\n\r\n\027[1;37mLast 10 callers:\r\n"); bbs_write_string("\027[1;30m-------------------------------------------------------------------------------\r\n"); while (i < 10) do @@ -67,7 +68,7 @@ while (i < 10) do i = i + 1; end bbs_write_string("\027[1;30m-------------------------------------------------------------------------------\r\n"); -bbs_write_string("\027[0mPress any key to continue...\r\n"); +bbs_write_string("\027[1;37mPress any key to continue...\027[0m"); bbs_read_char(); -- Check email @@ -75,9 +76,9 @@ bbs_read_char(); local email = bbs_get_emailcount(); if (email > 0) then - bbs_write_string(string.format("\r\nYou have %d emails in your inbox\r\n", email)); + bbs_write_string(string.format("\r\n\r\nYou have %d emails in your inbox\r\n", email)); else - bbs_write_string("\r\nYou have no email\r\n"); + bbs_write_string("\r\n\r\nYou have no email\r\n"); end bbs_mail_scan();