mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: May 2003
Posts: 78
M
MauS Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: May 2003
Posts: 78
Hi! I'm developing a script that should necessarily be customized before use. A user should not be able use mIRC before he filles in a dialog form.

Thus at its first start, mIRC must pop up a dialog and halt itself, so that a user couldn't click outside the dialog. The dialog must have a lot of fields to fill in, probably it'll have several tabs.

Please tell me how could i halt my mIRC to let a user fill in that dialog before he could do anything like connecting to a server.


-= endless in a victory of a yourself =-
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
Change
  • dialog -m myDialog myDialog
to
  • !.echo -q $dialog(myDialog, myDialog)
For more information type /help Dialogs and read under "The $dialog() identifier."

Joined: May 2003
Posts: 78
M
MauS Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: May 2003
Posts: 78
"Note: This type of dialog cannot be called from a remote script event."


-= endless in a victory of a yourself =-
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
To work around it:
  • On *:load: .timer 1 0 _openConfDialog

    alias -l _openConfDialog !.echo -q $dialog(myDialog, myDialog)


Link Copied to Clipboard