mirror of
https://github.com/tbamud/tbamud.git
synced 2025-12-22 02:00:13 +01:00
do_toggle does everything now. Removed color, syslog, wimpy, pagelength, and do_gen_tog
This commit is contained in:
parent
f33141db5b
commit
7b195232f5
5 changed files with 109 additions and 353 deletions
|
|
@ -77,7 +77,6 @@ ACMD(do_backstab);
|
|||
ACMD(do_ban);
|
||||
ACMD(do_bash);
|
||||
ACMD(do_cast);
|
||||
ACMD(do_color);
|
||||
ACMD(do_commands);
|
||||
ACMD(do_consider);
|
||||
ACMD(do_copyover);
|
||||
|
|
@ -133,7 +132,6 @@ ACMD(do_look);
|
|||
ACMD(do_not_here);
|
||||
ACMD(do_order);
|
||||
ACMD(do_page);
|
||||
ACMD(do_pagelength);
|
||||
ACMD(do_peace);
|
||||
ACMD(do_pour);
|
||||
ACMD(do_practice);
|
||||
|
|
@ -169,7 +167,6 @@ ACMD(do_stand);
|
|||
ACMD(do_stat);
|
||||
ACMD(do_steal);
|
||||
ACMD(do_switch);
|
||||
ACMD(do_syslog);
|
||||
ACMD(do_teleport);
|
||||
ACMD(do_tell);
|
||||
ACMD(do_time);
|
||||
|
|
@ -190,7 +187,6 @@ ACMD(do_weather);
|
|||
ACMD(do_where);
|
||||
ACMD(do_who);
|
||||
ACMD(do_wield);
|
||||
ACMD(do_wimpy);
|
||||
ACMD(do_wizlock);
|
||||
ACMD(do_wiznet);
|
||||
ACMD(do_wizutil);
|
||||
|
|
@ -266,19 +262,15 @@ cpp_extern const struct command_info cmd_info[] = {
|
|||
{ "advance" , "adv" , POS_DEAD , do_advance , LVL_GOD, 0 },
|
||||
{ "aedit" , "aed" , POS_DEAD , do_oasis , LVL_GOD, SCMD_OASIS_AEDIT },
|
||||
{ "alias" , "ali" , POS_DEAD , do_alias , 0, 0 },
|
||||
{ "afk" , "afk" , POS_DEAD , do_gen_tog , 0, SCMD_AFK },
|
||||
{ "assist" , "as" , POS_FIGHTING, do_assist , 1, 0 },
|
||||
{ "ask" , "ask" , POS_RESTING , do_spec_comm, 0, SCMD_ASK },
|
||||
{ "astat" , "ast" , POS_DEAD , do_astat , 0, 0 },
|
||||
{ "auction" , "auc" , POS_SLEEPING, do_gen_comm , 0, SCMD_AUCTION },
|
||||
{ "autoexits" , "autoex" , POS_DEAD , do_gen_tog , 0, SCMD_AUTOEXIT },
|
||||
|
||||
{ "backstab" , "ba" , POS_STANDING, do_backstab , 1, 0 },
|
||||
{ "ban" , "ban" , POS_DEAD , do_ban , LVL_GRGOD, 0 },
|
||||
{ "balance" , "bal" , POS_STANDING, do_not_here , 1, 0 },
|
||||
{ "bash" , "bas" , POS_FIGHTING, do_bash , 1, 0 },
|
||||
{ "brief" , "br" , POS_DEAD , do_gen_tog , 0, SCMD_BRIEF },
|
||||
{ "buildwalk", "buildwalk", POS_STANDING, do_gen_tog, LVL_BUILDER, SCMD_BUILDWALK },
|
||||
{ "buy" , "bu" , POS_STANDING, do_not_here , 0, 0 },
|
||||
{ "bug" , "bug" , POS_DEAD , do_gen_write, 0, SCMD_BUG },
|
||||
|
||||
|
|
@ -289,11 +281,8 @@ cpp_extern const struct command_info cmd_info[] = {
|
|||
{ "close" , "cl" , POS_SITTING , do_gen_door , 0, SCMD_CLOSE },
|
||||
{ "clear" , "cle" , POS_DEAD , do_gen_ps , 0, SCMD_CLEAR },
|
||||
{ "cls" , "cls" , POS_DEAD , do_gen_ps , 0, SCMD_CLEAR },
|
||||
{ "clsolc" , "clsolc" , POS_DEAD , do_gen_tog , 0, SCMD_CLS },
|
||||
{ "consider" , "con" , POS_RESTING , do_consider , 0, 0 },
|
||||
{ "color" , "col" , POS_DEAD , do_color , 0, 0 },
|
||||
{ "commands" , "com" , POS_DEAD , do_commands , 0, SCMD_COMMANDS },
|
||||
{ "compact" , "comp" , POS_DEAD , do_gen_tog , 0, SCMD_COMPACT },
|
||||
{ "copyover" , "copyover", POS_DEAD , do_copyover , LVL_GRGOD, 0 },
|
||||
{ "credits" , "cred" , POS_DEAD , do_gen_ps , 0, SCMD_CREDITS },
|
||||
|
||||
|
|
@ -348,7 +337,6 @@ cpp_extern const struct command_info cmd_info[] = {
|
|||
{ "hit" , "hit" , POS_FIGHTING, do_hit , 0, SCMD_HIT },
|
||||
{ "hold" , "hold" , POS_RESTING , do_grab , 1, 0 },
|
||||
{ "holler" , "holler" , POS_RESTING , do_gen_comm , 1, SCMD_HOLLER },
|
||||
{ "holylight", "holy" , POS_DEAD , do_gen_tog , LVL_IMMORT, SCMD_HOLYLIGHT },
|
||||
{ "house" , "house" , POS_RESTING , do_house , 0, 0 },
|
||||
|
||||
{ "inventory", "i" , POS_DEAD , do_inventory, 0, 0 },
|
||||
|
|
@ -380,16 +368,7 @@ cpp_extern const struct command_info cmd_info[] = {
|
|||
{ "mute" , "mute" , POS_DEAD , do_wizutil , LVL_GOD, SCMD_SQUELCH },
|
||||
|
||||
{ "news" , "news" , POS_SLEEPING, do_gen_ps , 0, SCMD_NEWS },
|
||||
{ "noauction", "noauction",POS_DEAD , do_gen_tog , 0, SCMD_NOAUCTION },
|
||||
{ "nogossip" , "nogossip", POS_DEAD , do_gen_tog , 0, SCMD_NOGOSSIP },
|
||||
{ "nograts" , "nograts" , POS_DEAD , do_gen_tog , 0, SCMD_NOGRATZ },
|
||||
{ "nohassle" , "nohassle", POS_DEAD , do_gen_tog , LVL_IMMORT, SCMD_NOHASSLE },
|
||||
{ "norepeat" , "norepeat", POS_DEAD , do_gen_tog , 0, SCMD_NOREPEAT },
|
||||
{ "noshout" , "noshout" , POS_SLEEPING, do_gen_tog , 1, SCMD_NOSHOUT },
|
||||
{ "nosummon" , "nosummon", POS_DEAD , do_gen_tog , 1, SCMD_NOSUMMON },
|
||||
{ "notell" , "notell" , POS_DEAD , do_gen_tog , 1, SCMD_NOTELL },
|
||||
{ "notitle" , "notitle" , POS_DEAD , do_wizutil , LVL_GOD, SCMD_NOTITLE },
|
||||
{ "nowiz" , "nowiz" , POS_DEAD , do_gen_tog , LVL_IMMORT, SCMD_NOWIZ },
|
||||
|
||||
{ "open" , "o" , POS_SITTING , do_gen_door , 0, SCMD_OPEN },
|
||||
{ "order" , "ord" , POS_RESTING , do_order , 1, 0 },
|
||||
|
|
@ -403,7 +382,6 @@ cpp_extern const struct command_info cmd_info[] = {
|
|||
{ "pick" , "pi" , POS_STANDING, do_gen_door , 1, SCMD_PICK },
|
||||
{ "practice" , "pr" , POS_RESTING , do_practice , 1, 0 },
|
||||
{ "page" , "pag" , POS_DEAD , do_page , LVL_IMMORT, 0 },
|
||||
{ "pagelength", "pagel" , POS_DEAD , do_pagelength, 0, 0 },
|
||||
{ "pardon" , "pardon" , POS_DEAD , do_wizutil , LVL_GOD, SCMD_PARDON },
|
||||
{ "policy" , "pol" , POS_DEAD , do_gen_ps , 0, SCMD_POLICIES },
|
||||
{ "pour" , "pour" , POS_STANDING, do_pour , 0, SCMD_POUR },
|
||||
|
|
@ -412,7 +390,6 @@ cpp_extern const struct command_info cmd_info[] = {
|
|||
|
||||
{ "quaff" , "qua" , POS_RESTING , do_use , 0, SCMD_QUAFF },
|
||||
{ "qecho" , "qec" , POS_DEAD , do_qcomm , LVL_GOD, SCMD_QECHO },
|
||||
{ "quest" , "que" , POS_DEAD , do_gen_tog , 0, SCMD_QUEST },
|
||||
{ "qui" , "qui" , POS_DEAD , do_quit , 0, 0 },
|
||||
{ "quit" , "quit" , POS_DEAD , do_quit , 0, SCMD_QUIT },
|
||||
{ "qsay" , "qsay" , POS_RESTING , do_qcomm , 0, SCMD_QSAY },
|
||||
|
|
@ -433,7 +410,6 @@ cpp_extern const struct command_info cmd_info[] = {
|
|||
{ "redit" , "redit" , POS_DEAD , do_oasis , LVL_BUILDER, SCMD_OASIS_REDIT },
|
||||
{ "rlist" , "rlist" , POS_DEAD , do_oasis , LVL_BUILDER, SCMD_OASIS_RLIST },
|
||||
{ "rclone" , "rclone" , POS_DEAD , do_room_copy, LVL_BUILDER, 0 },
|
||||
{ "roomflags", "roomflags", POS_DEAD , do_gen_tog , LVL_IMMORT, SCMD_ROOMFLAGS },
|
||||
|
||||
{ "say" , "s" , POS_RESTING , do_say , 0, 0 },
|
||||
{ "score" , "sc" , POS_DEAD , do_score , 0, 0 },
|
||||
|
|
@ -453,7 +429,6 @@ cpp_extern const struct command_info cmd_info[] = {
|
|||
{ "skillset" , "skillset", POS_SLEEPING, do_skillset , LVL_GRGOD, 0 },
|
||||
{ "sleep" , "sl" , POS_SLEEPING, do_sleep , 0, 0 },
|
||||
{ "slist" , "slist" , POS_SLEEPING, do_oasis , LVL_BUILDER, SCMD_OASIS_SLIST },
|
||||
{ "slowns" , "slowns" , POS_DEAD , do_gen_tog , LVL_IMPL, SCMD_SLOWNS },
|
||||
{ "sneak" , "sneak" , POS_STANDING, do_sneak , 1, 0 },
|
||||
{ "snoop" , "snoop" , POS_DEAD , do_snoop , LVL_GOD, 0 },
|
||||
{ "socials" , "socials" , POS_DEAD , do_commands , 0, SCMD_SOCIALS },
|
||||
|
|
@ -462,7 +437,6 @@ cpp_extern const struct command_info cmd_info[] = {
|
|||
{ "stat" , "stat" , POS_DEAD , do_stat , LVL_IMMORT, 0 },
|
||||
{ "steal" , "ste" , POS_STANDING, do_steal , 1, 0 },
|
||||
{ "switch" , "switch" , POS_DEAD , do_switch , LVL_GOD, 0 },
|
||||
{ "syslog" , "syslog" , POS_DEAD , do_syslog , LVL_IMMORT, 0 },
|
||||
|
||||
{ "tell" , "t" , POS_DEAD , do_tell , 0, 0 },
|
||||
{ "take" , "ta" , POS_RESTING , do_get , 0, 0 },
|
||||
|
|
@ -474,7 +448,6 @@ cpp_extern const struct command_info cmd_info[] = {
|
|||
{ "time" , "time" , POS_DEAD , do_time , 0, 0 },
|
||||
{ "toggle" , "toggle" , POS_DEAD , do_toggle , 0, 0 },
|
||||
{ "track" , "track" , POS_STANDING, do_track , 0, 0 },
|
||||
{ "trackthru", "trackthru",POS_DEAD , do_gen_tog , LVL_IMPL, SCMD_TRACK },
|
||||
{ "transfer" , "transfer", POS_SLEEPING, do_trans , LVL_GOD, 0 },
|
||||
{ "trigedit" , "trigedit", POS_DEAD , do_oasis , LVL_BUILDER, SCMD_OASIS_TRIGEDIT},
|
||||
{ "typo" , "typo" , POS_DEAD , do_gen_write, 0, SCMD_TYPO },
|
||||
|
|
@ -501,7 +474,6 @@ cpp_extern const struct command_info cmd_info[] = {
|
|||
{ "where" , "where" , POS_RESTING , do_where , 1, 0 },
|
||||
{ "whisper" , "whisper" , POS_RESTING , do_spec_comm, 0, SCMD_WHISPER },
|
||||
{ "wield" , "wie" , POS_RESTING , do_wield , 0, 0 },
|
||||
{ "wimpy" , "wimpy" , POS_DEAD , do_wimpy , 0, 0 },
|
||||
{ "withdraw" , "withdraw", POS_STANDING, do_not_here , 1, 0 },
|
||||
{ "wiznet" , "wiz" , POS_DEAD , do_wiznet , LVL_IMMORT, 0 },
|
||||
{ ";" , ";" , POS_DEAD , do_wiznet , LVL_IMMORT, 0 },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue