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.
我正在用 gupshup 编写一个机器人,我的代码有两个部分,[main] 部分和 [send] 部分当我尝试 goto 进入主要部分时,它工作得很好,但在发送部分它不工作
:goto仅在节/模块的范围内工作,并用于调用同一节中存在的标签。因此,您无法使用:goto调用另一个部分/模块中存在的标签。
:goto
您可以使用:call {script_file_name}.{section/module name}命令来调用特定部分并调用第一条语句。例如:参考 gupshup.io文档
:call {script_file_name}.{section/module name}