mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2003
Posts: 127
L
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?

Joined: Mar 2003
Posts: 1,271
L
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

Link Copied to Clipboard