Index: src_plugins/script/script_act.c =================================================================== --- src_plugins/script/script_act.c (revision 18885) +++ src_plugins/script/script_act.c (revision 18886) @@ -96,6 +96,10 @@ PCB_ACT_MAY_CONVARG(1, FGW_STR, Oneliner, first = argv[1].val.str); if (first != NULL) { if (*first == '/') { + if (pcb_strcasecmp(scr, "/exit") == 0) { + PCB_ACT_IRES(pcb_cli_leave()); + return 0; + } PCB_ACT_IRES(-1); /* ignore /click, /tab and others for now */ return 0; } @@ -114,6 +118,7 @@ PCB_ACT_IRES(pcb_cli_enter(lang, lang)); return 0; } + if (pcb_strcasecmp(scr, "/exit") == 0) { PCB_ACT_IRES(pcb_cli_leave()); return 0;