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.
我创建了一个允许踢用户的对话框。这个对话框有一个文本框,用户必须在其中输入要踢的人的名字,然后按 OK 按钮来踢。我创建了所有对话框,但我不明白如何给出命令。有人可以帮助我吗?
您需要sclick为该对话框创建一个事件:
sclick
on *:dialog:DIALOG_NAME:sclick:BUTTON_ID:{ ; PSEUDO: get contents of textbox ; PSEUDO: kick user }