mIRC Home    About    Download    Register    News    Help

Print Thread
wanna add emots to theme #164773 15/11/06 11:03 PM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
how can i add emots so that when someone says :P

it shows the actualy smiley icon for that in the window?

Re: wanna add emots to theme #164774 15/11/06 11:23 PM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
You have to use a DLL, or put your chat windows into custom picture windows. (Finding a DLL would probably be easier).


Invision Support
#Invision on irc.irchighway.net
Re: wanna add emots to theme #164775 16/11/06 09:47 AM
Joined: Apr 2004
Posts: 759
M
Mpdreamz Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
Another method, less of a pain than picwin in this case, is to get the latest build of DCX. On join open a new dialog with a webbrowser control that's docked to the mIRC channel you just joined.

Then script all the events to update the HTML in the webbrowser through Javascript from mIRC.


$maybe
Re: wanna add emots to theme #164776 16/11/06 02:24 PM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
i.e. a DLL laugh


Invision Support
#Invision on irc.irchighway.net
Re: wanna add emots to theme #164777 17/11/06 10:18 AM
Joined: Apr 2004
Posts: 759
M
Mpdreamz Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
True smile i thought you was on about one of the specific built dll's for this, and since i've sworn to spread the dcx virus i thought i mentioned it smile.

Remember those annoying people who used to scream MDX whenever they had a chance ? Well thats me now laugh

DCX!


$maybe
Re: wanna add emots to theme #164778 17/11/06 11:01 AM
Joined: Oct 2003
Posts: 313
S
Sais Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 313
MDX, DCX - What's the difference both TLAs ending in X. O:)


Sais
Re: wanna add emots to theme #164779 17/11/06 12:48 PM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
DCX is better and is really good. laugh


Invision Support
#Invision on irc.irchighway.net
Re: wanna add emots to theme #164780 18/11/06 03:11 PM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
so using dcx. i think ill give it a go.

when i join a channel, will i have to halt the default window from opening? and instead open a dialog for the window? have you ever done this with dcx?

im a bit unsure. your idea of docking a webbrowser to the window and then being able to show emots by $replace(;p, imgsrce="whatever.png") makes sense. but how can i dock a webbrowser to the existing default window? any idea?

and also if i do what you suggested will the normal identifers like $chan and # work as normal?

Re: wanna add emots to theme #164781 18/11/06 04:24 PM
Joined: Apr 2004
Posts: 759
M
Mpdreamz Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
I actually done it a long time ago using nHTMLn but now DCX is around i would do it with DCX. nHTMLn has issues with 6.2 anyways.
Check out the /xdock function in the DCX documentation. You will have to learn about Cell Layout Algorithm.
/xdid -j dcx 4 alert('Hello')
allows you to execute javascript on a webcontrol

step one: make one html file (You will only need one).
step two: create a dialog table called html for instance.
step three: on join open a generic dialog name. i.e dialog -m $+($cid,$chan,.html) html
step four: ON *:dialog:*.html:init:0: {
-call xdock on the appropiate hwnd.
-browse to the html file from step one
-Apply a CLA scheme so it resizes appropiatly.
step 4:On some event call xdid -j on the webcontrol on the corresponding tablename to manipulate the DOM from the html file you browsed to in the init.

You gotta really want it wink


$maybe
Re: wanna add emots to theme #164782 18/11/06 11:43 PM
Joined: Jun 2003
Posts: 81
T
TRT Offline
Babel fish
Offline
Babel fish
T
Joined: Jun 2003
Posts: 81
i prefer to use imgmirc
though it doesnt seem to get update anymore its still working quite well

Re: wanna add emots to theme #164783 19/11/06 12:42 PM
Joined: Oct 2005
Posts: 827
P
pouncer Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: Oct 2005
Posts: 827
whats that? never heard of it. can i download it from anywhwere?

and Mpdreams. if i use what you suggested instead of echo i'll have to use xdid for all my theme stuff wont i?