Skip to content
MSN

nHTMLn_2.95.dll assistance

A TG007 community discussion started by shanespen.

Discussion 23 posts
Page 2 of 2
Open
Topic #6878 · 23 published posts · 2,491 views

okay, try this...

 

alias roomstatus {
 if (!$1-) .dll $nhtmln execScript document.body.innerHTML=document.body.innerHTML+'<small><img SRC=" $+ $emdir $+ mbutterfly.gif" width="14" height="14"></small>'
 elseif ($1-) {
   if ($1- isowner $comchan($1-,1)) .dll $nhtmln execScript document.body.innerHTML=document.body.innerHTML+'<small><img SRC=" $+ $emdir $+ sysopgavel.gif" width="14" height="14"></small>'
   elseif ($1- isop $comchan($1-,1)) && ($1- !isowner $comchan($1-,1)) .dll $nhtmln execScript document.body.innerHTML=document.body.innerHTML+'<small><img SRC=" $+ $emdir $+ gavel.gif" width="14" height="14"></small>'
   elseif (*@snd iswm $ial($1-,1)) .dll $nhtmln execScript document.body.innerHTML=document.body.innerHTML+'<small><img SRC=" $+ $emdir $+ mbutterfly.gif" width="14" height="14"></small>'
   else .dll $nhtmln execScript document.body.innerHTML=document.body.innerHTML+' $chr(160) $chr(160) $+ $chr(160) '
 }
}

 

I replaced the...

 

elseif ($1- isop $comchan($1-,1)) .dll $nhtmln execScript document.body.innerHTML=document.body.innerHTML+'<small><img SRC=" $+ $emdir $+ gavel.gif" width="14" height="14"></small>'

 

with...

elseif ($1- isop $comchan($1-,1)) && ($1- !isowner $comchan($1-,1)) .dll $nhtmln execScript document.body.innerHTML=document.body.innerHTML+'<small><img SRC=" $+ $emdir $+ gavel.gif" width="14" height="14"></small>'

 

That should work. :)

 

also, the icons you have might be different to the icon names I provided. So, you might need to change the icon names in the coding.

 

Also, in the coding listed previously if the person is a participant there is no icon added. The icons only show for people who is either you, an owner, a host, or sysop, guide, or admin. However, there are none listed for participants, but you can add a code to show an icon for participants. If that is what you mean please let me know, and I'll modify it for you.

Lol, thank warrior, got it working with the first code you gave me, I looked at the blank image properties, and the \'s weren't there, so i changed the ff alias to

alias ff {
 if (!%ff. [ $+ [ $1- ] ]) || (!$exists(%ff. [ $+ [ $1- ] ])) set %ff. [ $+ [ $1- ] ] $shortfn($findfile($mircdir,$1-,1))
 set %ff. [ $+ [ $1- ] ] $replace(%ff. [ $+ [ $1- ] ],$chr(92),$chr(47))
 return %ff. [ $+ [ $1- ] ]
}

by replacing the \ with /

thanks alot, got it working =D

lol, no problem. :)

 

by the way, with the previous ff alias you really don't need to specify a directory as it will find the directory for you. All you need to do is specify the filename to search for $ff(nHTMLn_2.95.dll) $ff(mdx.dll) $ff(mbutterfly.gif) and such. It will automatically find the directory for you, and store it. :)

Edited Jun 20, 2006 3:04 AM by Warrior124