Did I make a command via dialog in mirc?

I created a dialog that allows you to hit the user. this dialog has a text box where the user has to write down the name of one to hit and then click "OK" to click. I created the whole dialog, but I don't understand how to give the command ok. can anyone help me?

+2


a source to share


1 answer


You need to create an event sclick

for this dialog:



on *:dialog:DIALOG_NAME:sclick:BUTTON_ID:{
    ; PSEUDO: get contents of textbox
    ; PSEUDO: kick user
}

      

+1


a source







All Articles