mIRC Homepage
Posted By: vexx0r on sclick?? question - 11/07/03 06:42 AM
Is there a way, that on and sclick you can have the whole dialog re init? this would be great if possible i looked in help and didnt catch anything.. thanks for any answers
Posted By: KingTomato Re: on sclick?? question - 11/07/03 06:47 AM
alias dialog.init {
var %dname = $$1
; do all your dialog stuff here using %dname not $dname
}

on 1:DIALOG:<name>:INIT:*: {
/dialog.init $dname
}

on 1:DIALOG:<name>:SCLICK:<id>: {
/dialog.init $dname
}
Posted By: vexx0r Re: on sclick?? question - 11/07/03 07:10 AM
thanks. You seem to be a lot of help.
Posted By: KingTomato Re: on sclick?? question - 11/07/03 07:16 AM
np, glad to be here >:D
Posted By: vexx0r Re: on sclick?? question - 11/07/03 09:18 AM
This goes along the same lines, is there away to clear all the id's in a dialog with a simple command or must i do it seperately for each one that needs to be cleared before teh reinit, because what happens is that the listboxes just keep the old info and the new info...
Posted By: pheonix Re: on sclick?? question - 11/07/03 10:05 AM
did -r name id1,id2,id3,id4,id5
Posted By: vexx0r Re: on sclick?? question - 11/07/03 10:20 AM
kinda figured i was going to have to do that thanks anyway though
© mIRC Discussion Forums