diff --git a/world/net/psyc/parse.i b/world/net/psyc/parse.i index 9a9e1a5..e7a2557 100644 --- a/world/net/psyc/parse.i +++ b/world/net/psyc/parse.i @@ -1110,6 +1110,7 @@ vamixed startParse(string a) { restart(); if (isServer()) greet(); } +// new syntax is so broken, we should not pretend to support it yet FIXME # if defined(SPYC_PATH) && defined(USE_SPYC) else if (a == "|") { // new S_GLYPH_PACKET_DELIMITER object o = clone_object(SPYC_PATH "server"); diff --git a/world/net/usercmd.i b/world/net/usercmd.i index c90d962..d133617 100644 --- a/world/net/usercmd.i +++ b/world/net/usercmd.i @@ -1637,6 +1637,21 @@ case "_invite": return invite(t, vars); } return 0; +case "_subscribe_permanent": +case "_subscribe_temporary": +case "_subscribe": + if (t = vars["_group"] || vars["_focus"]) { + subscribe(family == "_subscribe_permanent" ? + SUBSCRIBE_PERMANENT : SUBSCRIBE_TEMPORARY, t); + return 1; + } + return 0; +case "_unsubscribe": + if (t = vars["_group"] || vars["_focus"]) { + subscribe(SUBSCRIBE_NOT, t); + return 1; + } + return 0; case "_remove_register": case "_register_remove": // to go // unregister a user? only if you are trustworthy!