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