mIRC Home    About    Download    Register    News    Help

Print Thread
Completely new to scripting #265697 07/07/19 01:33 AM
Joined: Jul 2019
Posts: 2
C
ChrisJ Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
C
Joined: Jul 2019
Posts: 2
Hi.

I'm VERY new to mIRC scripting. I'm trying to create a dialog window, very similar to Channel Central. It would be specific to features exclusive to my network.

I've tried using dstudio, but I'm 100% lost on it. Anyone care to help out?

Re: Completely new to scripting [Re: ChrisJ] #265703 07/07/19 12:29 PM
Joined: Jul 2006
Posts: 3,530
W
Wims Offline
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 3,530


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: Completely new to scripting [Re: ChrisJ] #265728 09/07/19 12:35 AM
Joined: Apr 2018
Posts: 83
E
Erasimus Offline
Babel fish
Offline
Babel fish
E
Joined: Apr 2018
Posts: 83
Originally Posted by ChrisJ
Hi.

I'm VERY new to mIRC scripting. I'm trying to create a dialog window, very similar to Channel Central. It would be specific to features exclusive to my network.

I've tried using dstudio, but I'm 100% lost on it. Anyone care to help out?


I tried dstudio and gave it up, it's rather annoying to copy-n-paste dialog (sub-)script to the editor and back into the script everytime I want to make a change.

Now I just try positioning with guestimates, save the script (or at least click the 'check brackets' button in the top right hand corner of the editor - thanks to whomever pointed that out to me on this forum) and then execute the dialog, have a look then click back into the script editor to fix. save, re-execute it and check again.

It doesn't take me much time doing this and I can actually see the results, rather than just a box where things go in dstudio. Real data is sometimes, bigger/longer than you think when using just the dstudio application.

The other advantage is that you can test your dialoge intialisation and on button clicks etc, doing it manually, you cant in dstudio.

Re: Completely new to scripting [Re: Erasimus] #265732 09/07/19 08:50 PM
Joined: Jul 2019
Posts: 2
C
ChrisJ Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
C
Joined: Jul 2019
Posts: 2
is there a way to see channel central dialog's code? I still don't even know where to begin.

Re: Completely new to scripting [Re: ChrisJ] #265743 12/07/19 05:40 AM
Joined: Apr 2018
Posts: 83
E
Erasimus Offline
Babel fish
Offline
Babel fish
E
Joined: Apr 2018
Posts: 83
Places I used when I was starting are:

Wikichip as noted in an earlier posting - I use this as a reference rather than a 'how to'
http://www.virtual.net.au/~bekar/mirc/Dialogs-HOWTO.txt.html
http://mircscripting.info/forum/viewtopic.php?t=414&sid=f691779ce89dec72d4554c297f625e45

If you want to see a simple dialog in code and can try it out yourself have a look at

https://forums.mirc.com/ubbthreads.php/ubb/showflat/Number/263983/Searchpage/3/Main/50614/Words/%2Bsearch/Search/true/re-findtext-v-ctrl-f-pop-up#Post263983

where I posted a simple dialog that mimics the search for text in any window (basically a duplication of Ctrl-F inside mIRC)