|
Joined: Aug 2003
Posts: 29
Ameglian cow
|
OP
Ameglian cow
Joined: Aug 2003
Posts: 29 |
Now, it's time to improve my current skills! Previously, I asked for help with my "Self-Mod" and "Auto Echo" modes. Well, I understand that it's possible to create new windows containing information and such. So, question part 1: How would I go about making such windows? Also, would it be possible to make them on top of all other mIRC screens?
This third part may be a little more advanced, but whatever; is it also possible to make it so that the information in these script-made windows would change when I switch between channel windows and such?
Kewlio Insanity is all I have to keep from becoming insane.
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
Do you mean something like:
menu * {
Menu
.Menu 1:commands here
.Menu 2:commands here
.Menu 3:commands here
}
|
|
|
|
Joined: Aug 2003
Posts: 29
Ameglian cow
|
OP
Ameglian cow
Joined: Aug 2003
Posts: 29 |
No, that's a menu. I mean something like maybe a floating status box or something. I don't really know how to explain it...
Kewlio Insanity is all I have to keep from becoming insane.
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
Perhaps you mean a dialog? These are windows with text boxes, list boxes, etc. (like the mIRC Options window) /help /dialog
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
If you did mean dialog, try something like:
dialog Kewlio {
title "KewlioMZX"
size -1 -1 100 95
option dbu
box "",1,2 0 96 93
button "&OK" 2, 21 40 60 20, ok
}
Also as Collective said /help /dialogin addition also try.. /help on dialogOn the other hand, you might of meant Custom Windows? /help Custom WindowsHere is a tutorial on dialogs.. Dialog Tutorial
|
|
|
|
Joined: Aug 2003
Posts: 29
Ameglian cow
|
OP
Ameglian cow
Joined: Aug 2003
Posts: 29 |
...OK, that Help text is confusingly long and confusing. Would someone care to show an example?
Kewlio Insanity is all I have to keep from becoming insane.
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
dialog Kewlio {
title "KewlioMZX"
size -1 -1 100 95
option dbu
button "&OK" 2, 21 40 60 20, ok
}
Was an example, I just didn't explain how to use it etc. To open it type: /dialog -dm Kewlio Kewlio. title = The titlebar of the dialog. size = the size of the dialog option (from the help file) = The dbu option makes mIRC use dialog base units when creating the dialog. In your dialog you can add menu's, list boxes, combo's, buttons, boxes, radio buttons using xywh. The xy means the positioning. The w means the width and the h means the height. That is the basics. Now how to make the button do certain things. Adapt from this.
dialog Kewlio {
title "KewlioMZX"
size -1 -1 100 95
option dbu
edit "Type your message.",1,20 30 52 10
button "Send" 2, 30 60 30 20, ok
}
on 1:DIALOG:kewlio:sclick:2: {
msg $active $did(1)
}
|
|
|
|
Joined: Mar 2003
Posts: 437
Fjord artisan
|
Fjord artisan
Joined: Mar 2003
Posts: 437 |
the best thing to do would to look at scripts on www.mircscripts.org {After it comes back online} thats how i learned what i know now...
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
and what do you know now? 
|
|
|
|
Joined: Mar 2003
Posts: 437
Fjord artisan
|
Fjord artisan
Joined: Mar 2003
Posts: 437 |
not too much but im working on it...getting into MDX now
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
I see..
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
i learnt nearly everything i know from ms.org, com objects,sockets,most identifiers,most aliases. still lookin for decent explanations on /bread though
new username: tidy_trax
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
Not sure if this is any use to you, but I stumbled on some /bread information. /bread
|
|
|
|
Joined: May 2003
Posts: 2,265
Hoopy frood
|
Hoopy frood
Joined: May 2003
Posts: 2,265 |
thanks so much  ,its no so hard after all :tongue:
new username: tidy_trax
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
I wouldn't know. Never tried it.  You're welcome.
|
|
|
|
Joined: Aug 2003
Posts: 29
Ameglian cow
|
OP
Ameglian cow
Joined: Aug 2003
Posts: 29 |
By the way SladeKraven, seems you posted just before I did; I was replying to Collective. Besides, I think that what I want is that other thing he said, custom windows I think he called it. How does that work?
Kewlio Insanity is all I have to keep from becoming insane.
|
|
|
|
Joined: Dec 2002
Posts: 3,138
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,138 |
Actually it was Slade who said custom windows
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
/help Custom Windows
Everything you need to know.
|
|
|
|
|