mIRC Home    About    Download    Register    News    Help

Print Thread
/dialog features? #217315 08/01/10 04:42 AM
Joined: Jul 2008
Posts: 236
S
s00p Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Jul 2008
Posts: 236
I'm looking for the following features:
1. Ability to set an item's foreground&background colour (in listbox or text/label).
2. Ability to create dynamic dialogs (eg. dialogs that have one text/label for each token in a variable). I suppose the easiest way to do this without a DLL is to dynamically rewrite a remote file that has the colours and reload the dialog each time something is changed... Quite involved.

Currently I'm writing a DLL in C to do this for me, which is quite a cumbersome way to go about this... but the help file doesn't appear to have an immediate solution. Does anyone know if either of these features exist in the context of mIRC scripting?

Re: /dialog features? [Re: s00p] #217321 08/01/10 08:01 AM
Joined: Dec 2002
Posts: 3,138
C
Collective Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 3,138
As far as I recall, DCX already does both of these things. You may have to use its controls rather than mIRC's, though, if you want to colour them.

Re: /dialog features? [Re: s00p] #217323 08/01/10 08:15 AM
Joined: Jan 2007
Posts: 1,156
D
DJ_Sol Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
MDX also, though I use DCX now.

Re: /dialog features? [Re: DJ_Sol] #217358 09/01/10 05:37 AM
Joined: Jul 2008
Posts: 236
S
s00p Offline OP
Fjord artisan
OP Offline
Fjord artisan
S
Joined: Jul 2008
Posts: 236
Thank you both. In this case, I feel as though my audience may not trust third party DLL files (as I myself confess, I don't trust them). I'll continue with my own C DLL file specifically for the task smile thankyou again

Re: /dialog features? [Re: s00p] #217373 09/01/10 04:29 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
That is understandable, s00p... However, DCX is a great DLL file with a lot of useful features if you're planning to make your dialogs more interesting.


Invision Support
#Invision on irc.irchighway.net
Re: /dialog features? [Re: s00p] #217381 09/01/10 09:42 PM
Joined: Jan 2007
Posts: 1,156
D
DJ_Sol Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
lol, Id trust mdx and dcx way before Id trust yours! I mean, mdx and dcx have been out for how many years now ? And how many reports of malicious behavior have there been?

Re: /dialog features? [Re: Riamus2] #218264 07/02/10 08:50 AM
Joined: Apr 2003
Posts: 342
M
MeStinkBAD Offline
Fjord artisan
Offline
Fjord artisan
M
Joined: Apr 2003
Posts: 342
Originally Posted By: Riamus2
That is understandable, s00p... However, DCX is a great DLL file with a lot of useful features if you're planning to make your dialogs more interesting.


When you say interesting, you mean flashy crap that does nothing but hinder your experience at the cost of showing off?





Beware of MeStinkBAD! He knows more than he actually does!
Re: /dialog features? [Re: MeStinkBAD] #218278 07/02/10 08:40 PM
Joined: Jan 2007
Posts: 1,156
D
DJ_Sol Offline
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
Wow,

First of all, if you are concerned with your experience put mIRC down immeidately and work on C++ or C#.

2nd, DCX offers a nicer dialog look and features. Flashy? Showing off? That depends on you.

edited to be nice

Re: /dialog features? [Re: MeStinkBAD] #218303 08/02/10 04:31 PM
Joined: Oct 2004
Posts: 8,330
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Originally Posted By: MeStinkBAD
When you say interesting, you mean flashy crap that does nothing but hinder your experience at the cost of showing off?


Have you done anything with the DLL before? Yes, you can make useless things with it (aka "flashy crap"), but you can do the same with regular mIRC scripting. However, you can also make very useful features on scripts, such as an internal chat window in a game that looks and acts just like mIRC's main chat window. There are also a wide variety of features you can add to a script to make it more useful rather than just flashy, thereby increasing a user's experience rather than hindering it.


Invision Support
#Invision on irc.irchighway.net