mIRC Home    About    Download    Register    News    Help

Print Thread
Is it possible to pass a value to a dialog? #37818 22/07/03 06:17 AM
Joined: Jan 2003
Posts: 127
L
littlecramp Offline OP
Vogon poet
OP Offline
Vogon poet
L
Joined: Jan 2003
Posts: 127
if ($did == 100 ) csn
if ($did == 101 ) csn -s
alias csn { $dialog(cnsadd,cnsadd,-4) }

dialog cnsadd {
.....
.....
....
}
on *:cnsadd:init:0:{
if ($1 == -s) command1
else command2
}

Is it possible to pass a value with a modal dialog?

Re: Is it possible to pass a value to a dialog? #37819 22/07/03 06:51 AM
Joined: Mar 2003
Posts: 1,271
L
LocutusofBorg Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Not that I'm aware of. You can however set a variable and then in the on init event act according the the value of the variable (note that you then must use /set to create it and not /var)


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius