Jump to content
MakeWebGames

Recommended Posts

Posted

Good evening all,

im having a play around with an irc applet, only i want it to use the usernames the members use ingame, now normally its easy, but iv never used html and php in the same page before! I've been playing for two days now with no luck. here's what i have:

<html>
<head>
<title>IRC</title>
</head>
<body>
<h1>IRC</h1><hr>
<applet code=IRCApplet.class archive="irc.jar,pixx.jar" width=640 height=400>
<param name="CABINETS" value="irc.cab,securedirc.cab,pixx.cab">

global $ir, $r, $userid;
<param name="nick" value="<?php print "{$ir['username']} test";?>"/>
<param name="alternatenick" value="Anon???">
<param name="name" value="Java User">
<param name="host" value="irc.test.org">
<param name="gui" value="pixx">
<param name="quitmessage" value="Time to go!">
<param name="asl" value="true">

<param name="style:bitmapsmileys" value="true">
<param name="style:smiley1" value=":) img/sourire.gif">
<param name="style:smiley2" value=":-) img/sourire.gif">
<param name="style:smiley3" value=":-D img/content.gif">
<param name="style:smiley4" value=":d img/content.gif">
<param name="style:smiley5" value=":-O img/OH-2.gif">
<param name="style:smiley6" value=":o img/OH-1.gif">
<param name="style:smiley7" value=":-P img/langue.gif">
<param name="style:smiley8" value=":p img/langue.gif">
<param name="style:smiley9" value=";-) img/clin-oeuil.gif">
<param name="style:smiley10" value=";) img/clin-oeuil.gif">
<param name="style:smiley11" value=":-( img/triste.gif">
<param name="style:smiley12" value=":( img/triste.gif">
<param name="style:smiley13" value=":-| img/OH-3.gif">
<param name="style:smiley14" value=":| img/OH-3.gif">
<param name="style:smiley15" value=":'( img/pleure.gif">
<param name="style:smiley16" value=":$ img/rouge.gif">
<param name="style:smiley17" value=":-$ img/rouge.gif">
<param name="style:smiley18" value="(H) img/cool.gif">
<param name="style:smiley19" value="(h) img/cool.gif">
<param name="style:smiley20" value=":-@ img/enerve1.gif">
<param name="style:smiley21" value=":@ img/enerve2.gif">
<param name="style:smiley22" value=":-S img/roll-eyes.gif">
<param name="style:smiley23" value=":s img/roll-eyes.gif">
<param name="style:floatingasl" value="true">

<param name="pixx:highlight" value="true">
<param name="pixx:highlightnick" value="true">

</applet>

<hr></body>
</html>

ok so iv tried this was (plus many others, but this is the closest) it shows the word test but not the user name!! so im guessing its looking for it, but not finding it, im not getting any errors except i cant see the name !! Please, if its a silly mistake im making, take the piss and help me out :) Thank you.

Posted

Re: IRC Trouble

iv tried that lol but i dont want the whole header menu ect ect i just want the applet on its own.

Get the code from the top of the cron files (It's to late for me to get it :P) and use that :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...