Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我试图在没有任何运气的情况下为我的机器人实现前缀
ON *:TEXT:$($+(%prefix,LEVEL)):#: { msgs here }
我尝试了一些没有成功的方法,知道如何修复它以便可以使用前缀和实际命令吗?
您的命令运行良好。
假设%prefix设置为! If you will change msgs heretoecho -ag Is this working ?你会注意到每次有人写!LEVEL它都会回显Is this working ?。
%prefix
!
msgs here
echo -ag Is this working ?
!LEVEL
Is this working ?