mIRC Home    About    Download    Register    News    Help

Print Thread
#30708 18/06/03 10:50 PM
Joined: Jan 2003
Posts: 148
K
Knappen Offline OP
Vogon poet
OP Offline
Vogon poet
K
Joined: Jan 2003
Posts: 148
I think it would be nice if you can prompt the user when closing a dialog.. Like:

on *:dialog:name:close:*:{
if ($input(Are you sure you want to close this dialog?,yq,Close) == $true) { commands }
}

So if the $input returns $null the dialog isn`t closed.. Like /exit
If you propt the user if he wants to exit or not and he presses no, nothing happens...

smile

#30709 19/06/03 02:57 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
while on the dialog topic, also the ability to execute condition in the dialog { } block. I was playing with dialogs and thought about what if you could load id's based ona condition. Like if a statement was true, load edit, else load text.


-KingTomato
#30710 19/06/03 03:10 AM
Joined: Apr 2003
Posts: 210
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Apr 2003
Posts: 210
I think it would be nice if you can prompt the user when closing a dialog

Yeah I would like that for @windows aswell. There should be a way for a script to force close a window or dialog regardless of this feature though, So it would mean the addition of an extra switch to /dialog and /window.


Link Copied to Clipboard