Skip to content

Commit

Permalink
feat(pkuxkx): 升级北侠自动签署
Browse files Browse the repository at this point in the history
  • Loading branch information
dzpao committed Dec 3, 2023
1 parent 5b81da2 commit 96c41d7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
9 changes: 0 additions & 9 deletions ids/DEFAULT
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,6 @@ mudlib.Set {pkuxkx};
#nop 是否开启鼠标支持,默认开启;
#var user[MOUSE] true;

#nop 是否开启北侠自动签约功能,默认关闭;
#nop ===============;
#nop 【重要提醒】作者声明:
#nop 请永远都不要开启本选项,以避免错过阅读并人工签署北侠玩家要约的机会。
#nop 如果开启,则视同你已同意北侠任何过去、现在、将来提出的玩家要约,而不论你认为它是否合理。
#nop 同时,开启本选项意味着你同意放弃向 PaoTin++ 追溯连带责任的权利。
#nop ===============;
#var user[AGREE] false;

#nop 默认的食物和饮料;
#var char[favorite][food] {gan liang};
#var char[favorite][water] {niurou tang};
Expand Down
10 changes: 6 additions & 4 deletions mud/pkuxkx/plugins/basic/login.extra.tin
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,16 @@ PaoTin++ © 2020~2023 的所有版权均由担子炮(dzp <[email protected]>)
#delay {login.login-success} {login.login-success} 1;
};

#line oneshot #action {^如果同意请用agree %w命令签署确认这些条款。$} {
#if { @isTrue{$user[AGREE]} } {
#send {agree %%1};
#line oneshot #action {^如果同意请用agree %*命令签署确认这些条款。$} {
#local args {@str.Trim{%%1}};
#info environ save;
#if { @isTrue{$info[ENVIRON][PKUXKX_AUTO_AGREE]} } {
#send {agree $args};
};
#else {
#undelay {login.login-success};
#undelay {login.check};
warnLog 请在十秒内输入 agree %%1 命令以继续游戏。;
warnLog 请在十秒内输入 agree $args 命令以继续游戏。;
#delay {login.agree.fail} {#zap} 10;
};
};
Expand Down

0 comments on commit 96c41d7

Please sign in to comment.