Skip to content
This repository has been archived by the owner on Apr 30, 2024. It is now read-only.

[Bug] text in the ' is not matched correctly #23

Closed
shenjackyuanjie opened this issue Nov 15, 2021 · 6 comments
Closed

[Bug] text in the ' is not matched correctly #23

shenjackyuanjie opened this issue Nov 15, 2021 · 6 comments
Assignees
Labels
bug Something isn't working

Comments

@shenjackyuanjie
Copy link

image
as the pic

@ImUrX
Copy link
Owner

ImUrX commented Nov 15, 2021

Can you pass me the code so i can debug it easily?

@ImUrX ImUrX self-assigned this Nov 15, 2021
@ImUrX ImUrX added the bug Something isn't working label Nov 15, 2021
@ImUrX ImUrX closed this as completed in 4f65832 Nov 15, 2021
@ImUrX
Copy link
Owner

ImUrX commented Nov 15, 2021

I still need to test it before releasing, will wait for your code so i can test it first-hand lol

@shenjackyuanjie
Copy link
Author

run('player %s spawn at %f %f %f facing %f %f in %s', player_name, position:0, position:1, position:2, rotation:0, rotation:1, dimension);

help() -> (
    print(format('y ' + '-'*10 + '帮助信息' + '-'*10));
    print(format('m 提醒:大部分信息都可以点击来执行相对应的命令,所以请小心点击', '^g 包括我! 点我来执行 /' + global_filename, '!/' + global_filename));
    print(format('e /' + global_filename + ' -> ', 'c 同 /' + global_filename + ' help'));
    print(format('e /' + global_filename + ' help -> ', 'c 显示这条帮助信息', '^g 你就在看着我呢!', '!/' + global_filename + ' help'));
    print(format('e /' + global_filename + ' reload -> ', 'c 重新加载script', '^g 获得成就:我重载我自己', '!/' + global_filename + ' reload'));
    print(format('e /' + global_filename + ' score load -> ', 'c 加载各项榜单', '^rub 警告:这会覆盖游戏内的现有数据(所以请自行输入命令)'));
    print(format('e /' + global_filename + ' score save -> ', 'c 保存各项榜单', '^ub 提醒:这会覆盖文件数据', '!/' + global_filename + ' score save'));
    print(format('e /' + global_filename + ' score print -> ', 'c 输出各项榜单数据', '^gs 吐槽一下,scarpet的字符串处理真的麻烦死了', '!/' + global_filename + ' score print'));
    print(format('e /' + global_filename + ' debug level -> ', 'c 显示DEBUG信息等级', '^g (没啥可吐槽的)', '!/' + global_filename + ' debug level'));
    print(format('e /' + global_filename + ' debug level <debug_level> -> ', 'c 设置DEBUG信息等级为<debug_level>   ', '^g <debug_level> 为 0-4的正整数,默认为2', '?/' + global_filename + ' debug level '));
//    print(format('e /' + global_filename + ' xxx -> ', 'c xxx', '^g xxx', '! /' + global_filename + ' xxx'));
    print(format('y [系统信息]' + global_filename + ' 版本: ' + global_version));
    print(format('y [系统信息]' + global_filename + ' 文件名: ' + global_filename));
    print(format('y [插件信息]' + global_filename + ' 数据存储路径: ' + global_score_path));
    print(format('e 感谢 @Harvey_Husky 延皓 的支持! script中一部分源码就来自哈姥姥!', '^g 哈姥姥真好用(', '?https://g·······apack'));
);

thanks!

@shenjackyuanjie
Copy link
Author

)ZXQL90MP$S~GS03MW4(G

@ImUrX
Copy link
Owner

ImUrX commented Nov 16, 2021

looks good! fixed

@shenjackyuanjie
Copy link
Author

thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants