mIRC Home    About    Download    Register    News    Help

Print Thread
#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?

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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
Joined: Apr 2004
Posts: 759
M
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
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
i.e. a DLL laugh


Invision Support
#Invision on irc.irchighway.net
Joined: Apr 2004
Posts: 759
M
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
Joined: Oct 2003
Posts: 313
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 313
MDX, DCX - What's the difference both TLAs ending in X. O:)


Sais
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
DCX is better and is really good. laugh


Invision Support
#Invision on irc.irchighway.net
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?

Joined: Apr 2004
Posts: 759
M
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
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

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?


Link Copied to Clipboard