diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/user.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index 68c7f048..4059a275 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -1,4 +1,4 @@ -/* $Id: user.c,v 1.51 2003/03/26 11:06:05 in2 Exp $ */ +/* $Id: user.c,v 1.52 2003/03/30 06:52:09 in2 Exp $ */ #include "bbs.h" static char *sex[8] = { @@ -215,10 +215,11 @@ static void Customize(void) prints("%-30s%10s\n", "D. �ثe���߱�", mindbuf); prints("%-30s%10s\n", "E. ���G����ܧڪ��̷R", ((cuser.uflag2 & FAVNOHILIGHT) ? "�_" : "�O")); - getdata(b_lines - 1, 0, "�Ы� [A-5] �����]�w�A�� [Return] �����G", + getdata(b_lines - 1, 0, "�Ы� [A-E] �����]�w�A�� [Return] �����G", ans, sizeof(ans), DOECHO); switch( ans[0] ){ + case 'A': case 'a':{ int currentset = cuser.uflag2 & WATER_MASK; currentset = (currentset + 1) % 3; @@ -227,12 +228,15 @@ static void Customize(void) vmsg("�ץ����y�Ҧ���Х��`���u�A���s�W�u"); } break; + case 'B': case 'b': cuser.userlevel ^= PERM_NOOUTMAIL; break; + case 'C': case 'c': cuser.uflag2 ^= FAVNEW_FLAG; break; + case 'D': case 'd':{ getdata(b_lines - 1, 0, "�{�b���߱�? ", mindbuf, sizeof(mindbuf), DOECHO); @@ -244,6 +248,7 @@ static void Customize(void) memcpy(currutmp->mind, mindbuf, 4); } break; + case 'E': case 'e': cuser.uflag2 ^= FAVNOHILIGHT; break; |