mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-11-08 19:41:00 +00:00
disable /set multiplace by default
This commit is contained in:
parent
835ac32127
commit
50c6529a85
@ -518,9 +518,7 @@ _PAGES_help_room
|
||||
|<p><b> /f(ollow) </b></p><dd>
|
||||
|Der Empfänger einer Einladung braucht einfach nur <b>/f</b> wie
|
||||
|<b>/follow</b> einzugeben, um jenen Raum zu betreten. Sollte keine
|
||||
|Einladung vorliegen, wird in den zuletzt aktiven Raum gewechselt. Auch
|
||||
|eine sehr nützliche Funktion, falls man die <b>multiplace</b>-Einstellung
|
||||
|aktiviert hat. Einfach ausprobieren.
|
||||
|Einladung vorliegen, wird in den zuletzt aktiven Raum gewechselt.
|
||||
|
|
||||
|<dt><h5>ALLGEMEINE RAUMFUNKTIONEN</h5>
|
||||
|<a name="topic"></a>
|
||||
@ -754,11 +752,10 @@ _PAGES_help_settings
|
||||
|Man kann sich aber bewusst dafür entscheiden, diese Informationen
|
||||
|ebenfalls erhalten zu wollen, in dem man <b>greeting</b> einschaltet.
|
||||
|
|
||||
|<a name="multiplace"></a>
|
||||
|<DT><P><B> /set multiplace [ on | off ] </B></p><dd>
|
||||
|erlaubt das Betreten mehrerer Räume gleichzeitig. Für fortgeschrittene
|
||||
|Anwender essentiell, und in vielen Zugangsformen sowieso normal.
|
||||
|
|
||||
|## <DT><P><B> /set multiplace [ on | off ] </B></p><dd>
|
||||
|## erlaubt das Betreten mehrerer Räume gleichzeitig. Für fortgeschrittene
|
||||
|## Anwender essentiell, und in vielen Zugangsformen sowieso normal.
|
||||
|##
|
||||
|<a name="clearscreen"></a>
|
||||
|<DT><P><B> /set clearscreen [ on | off ] </B></p><dd>
|
||||
|betrifft nur den telnet-Zugang. Mit einer Leereingabe kann
|
||||
|
@ -565,8 +565,7 @@ _PAGES_help_room
|
||||
|<p><b> /f(ollow) </b></p><dd>
|
||||
|The recipient of an invitation just needs to type <b>/f</b> as in
|
||||
|<b>/follow</b> to enter the room. If there was no invitation, then
|
||||
|the last active room is selected (if you are using <b>multiplace</b>).
|
||||
|Very useful, just try it out.
|
||||
|the last active room is selected.
|
||||
|
|
||||
|<dt><h5>BASIC FUNCTIONS</h5>
|
||||
|<a name="topic"></a>
|
||||
@ -839,10 +838,10 @@ _PAGES_help_settings
|
||||
|servers. In that case you may want to intentionally turn them on to
|
||||
|improve your safety.
|
||||
|
|
||||
|<DT><P><B> /set multiplace [ on | off ] </B></p><dd>
|
||||
|allows you to enter more than one room at a time in some access forms.
|
||||
|An essential feature for advanced users, yet confusing for some beginners.
|
||||
|
|
||||
|## <DT><P><B> /set multiplace [ on | off ] </B></p><dd>
|
||||
|## allows you to enter more than one room at a time in some access forms.
|
||||
|## An essential feature for advanced users, yet confusing for some beginners.
|
||||
|##
|
||||
|<DT><P><B> /set clearscreen [ on | off ] </B></p><dd>
|
||||
|only applies to the telnet access. Hitting carriage return without
|
||||
|any other input will normally clear the terminal screen.
|
||||
|
@ -448,9 +448,7 @@ _PAGES_help_room
|
||||
|<p><b> /f(ollow) </b></p><dd>
|
||||
|Der Empfänger einer Einladung braucht einfach nur <b>/f</b> wie
|
||||
|<b>/follow</b> einzugeben, um jenen Raum zu betreten. Sollte keine
|
||||
|Einladung vorliegen, wird in den zuletzt aktiven Raum gewechselt. Auch
|
||||
|eine sehr nützliche Funktion, falls man die <b>multiplace</b>-Einstellung
|
||||
|aktiviert hat. Einfach ausprobieren.
|
||||
|Einladung vorliegen, wird in den zuletzt aktiven Raum gewechselt.
|
||||
|
|
||||
|<dt><h5>ALLGEMEINE RAUMFUNKTIONEN</h5>
|
||||
|<a name="topic"></a>
|
||||
@ -661,11 +659,8 @@ _PAGES_help_settings
|
||||
|Auf jeden Fall kann man den <B>/log</B>-Befehl verwenden,
|
||||
|um die eigenen Eingaben nachzuprüfen.
|
||||
|
|
||||
|<a name="multiplace"></a>
|
||||
|<DT><P><B> /set multiplace [ on | off ] </B></p><dd>
|
||||
|erlaubt das Betreten mehrerer Räume gleichzeitig. Für fortgeschrittene
|
||||
|Anwender essentiell, manchen aber zu verwirrend.
|
||||
|
|
||||
|## <a name="multiplace"></a>
|
||||
|##
|
||||
|<a name="clearscreen"></a>
|
||||
|<DT><P><B> /set clearscreen [ on | off ] </B></p><dd>
|
||||
|betrifft nur den telnet-Zugang. Mit einer Leereingabe kann
|
||||
|
@ -1135,8 +1135,8 @@ P1(("ident: %O is really %O\n", t, source))
|
||||
return;
|
||||
}
|
||||
if (abbrev("_request", mc)) {
|
||||
// needs a rewrite into a switch()
|
||||
// mc inheritance should be handled at parsing time, not here
|
||||
// needs a rewrite into a try-and-slice switch()
|
||||
// or shouldn't this stuff just move into the signature table?
|
||||
if (abbrev("_request_enter", mc)
|
||||
|| abbrev("_request_leave", mc)
|
||||
|| abbrev("_request_invitation", mc)) {
|
||||
|
@ -793,21 +793,24 @@ cmd(a, args, dest, command) {
|
||||
]));
|
||||
w("_echo_end_places_entered");
|
||||
break;
|
||||
#ifdef _flag_enable_place_single
|
||||
# define STAY v("multiplace")
|
||||
#else
|
||||
# define STAY 1
|
||||
#endif
|
||||
case "change":
|
||||
//se "channel":
|
||||
case "ch":
|
||||
case "c":
|
||||
if (sizeof(args) < 2) {
|
||||
if (v("lastplace") && v("lastplace") != NICKPLACE)
|
||||
teleport(v("lastplace"), "_other",
|
||||
0, v("multiplace"));
|
||||
teleport(v("lastplace"), "_other", 0, STAY);
|
||||
else
|
||||
w("_error_unavailable_place_other",
|
||||
"You haven't entered any other room yet.");
|
||||
break;
|
||||
}
|
||||
teleport(args[1], 0, 0 , v("multiplace"));
|
||||
// , sizeof(args) > 2 ? ARGS(2) : 0
|
||||
teleport(args[1], 0, 0, STAY);
|
||||
break;
|
||||
case "go":
|
||||
if (sizeof(args) < 2) {
|
||||
@ -815,7 +818,6 @@ cmd(a, args, dest, command) {
|
||||
break;
|
||||
}
|
||||
teleport(args[1]);
|
||||
// , sizeof(args) > 2 ? ARGS(2) : 0
|
||||
break;
|
||||
case "f":
|
||||
case "follow":
|
||||
@ -825,7 +827,7 @@ cmd(a, args, dest, command) {
|
||||
return;
|
||||
}
|
||||
if (v("otherplace")) {
|
||||
teleport(v("otherplace"), "_other", 0, v("multiplace"));
|
||||
teleport(v("otherplace"), "_other", 0, STAY);
|
||||
vDel("otherplace");
|
||||
return;
|
||||
}
|
||||
@ -835,8 +837,7 @@ cmd(a, args, dest, command) {
|
||||
case "h":
|
||||
case "ho":
|
||||
case "home":
|
||||
teleport(v("home") || DEFPLACE, "_home", 0, v("multiplace"));
|
||||
// ARGS(1)
|
||||
teleport(v("home") || DEFPLACE, "_home", 0, STAY);
|
||||
break;
|
||||
#ifndef _flag_disable_place_enter_automatic
|
||||
case "subscribe":
|
||||
@ -2602,7 +2603,10 @@ checkVar(key, value) {
|
||||
#ifndef NO_CTCP_PRESENCE
|
||||
case "ctcppresence": // just for irc users really..
|
||||
#endif
|
||||
case "multiplace": // toggle settings with negative default
|
||||
#ifdef _flag_enable_place_single
|
||||
case "multiplace":
|
||||
#endif
|
||||
// toggle settings with negative default
|
||||
if (value == "off" || value == "-") value = "-";
|
||||
else if (value) value = "on";
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user