This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Chanpage script by slennox

Support & discussion of released scripts, and announcements of new releases.
O
Ovdis
Voice
Posts: 17
Joined: Sun Dec 05, 2004 9:01 am
Location: .lt

Chanpage script by slennox

Post by Ovdis »

where coul i find chanpage script by slennox, which is used here?
or maybe it is unavailable in public?

ps, i tried search but no matches were found
keep it real
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

I guess not then huh.
O
Ovdis
Voice
Posts: 17
Joined: Sun Dec 05, 2004 9:01 am
Location: .lt

Post by Ovdis »

or maybe i could find some equivalents for that chanscript?
keep it real
m
metroid
Owner
Posts: 771
Joined: Wed Jun 16, 2004 2:46 am

Post by metroid »

Have you tried google? Have you tried the TCL Archive?

No. You should try a little harder to get something done.
User avatar
slennox
Owner
Posts: 593
Joined: Sat Sep 22, 2001 8:00 pm
Contact:

Post by slennox »

I'm afraid the script incomplete and undocumented, never been ready for public release and probably never will be.

Incidentally Ovdis, would you mind changing your avatar? To paraphrase a line from the film Patton: this is a support forum, not a bordello :mrgreen:
D
Deacon
Voice
Posts: 2
Joined: Sat Jan 29, 2005 8:06 am

Post by Deacon »

Dont you ever considder it to release it ??
K
KevKev
Halfop
Posts: 67
Joined: Fri Oct 03, 2003 5:15 am

Post by KevKev »

It looks like an excelent script but it appears he has no interest in releasing it.

There are several other stats scripts available however so you're not totally out of luck.

Personally I quite like pisg :) YMMV
User avatar
caesar
Mint Rubber
Posts: 3776
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

What's so hard to make a simple one? Just a few clicks here and there and voila! (the design part) as for tcl same way (clicks replaced by lines) :D
Once the game is over, the king and the pawn go back in the same box.
D
Deacon
Voice
Posts: 2
Joined: Sat Jan 29, 2005 8:06 am

Post by Deacon »

Then make one, Because i can't, If you would make it. I would apriciate it very much
User avatar
caesar
Mint Rubber
Posts: 3776
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Code: Select all

bind dcc o chanpage chanpage:dcc
bind time - ?0* time:chan:page

proc chanpage:dcc {hand idx text} {
  chanpage:generate #channel "Bla bla bla, this is my chan description."
  putidx $idx "chanpage generated.."
}

proc time:chan:page {minute hour day month year} { 
  chanpage:generate #channel "Bla bla bla, this is my chan description."
}

proc chanpage:generate {chan desc} {
  set f [open index.html w]
  puts $f "
  <html><head><title>$chan stats!</title><style>
  <!--
  .bodyCopy {
    	FONT-WEIGHT: normal; FONT-SIZE: 11px; LINE-HEIGHT: 16px; FONT-STYLE: normal; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif
  }
  A {
    	COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none
  }
  A:active {
    	COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none
  }
  A:link {
    	COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none
  }
  A:visited {
    	COLOR: #000000; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none
  }
  A:hover {
    	COLOR: blue; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; TEXT-DECORATION: none
  }
  -->
  </style></head><body>
  <table border=\"0\" width=\"100%\" height=\"100%\" id=\"table57\">
  <tr><td><div align=\"center\"><div align=\"center\"><table border=\"0\" width=\"75%\" id=\"table64\"><tr><td>
  <p align=\"center\"><font face=\"Verdana\" size=\"4\"><b>#channel</b></font><br>
  <font face=\"Verdana\" style=\"font-size: 9pt\">$desc</font><font face=\"Verdana\" size=\"2\"><br>
  "

  if {[set topic [topic $chan]] == ""} {
    set topic "No topic is set for $chan channel."
  }

  puts $f "
  <br><b>Channel topic:</b><br></font><font face=\"Verdana\" style=\"font-size: 9pt\">$topic</font><font face=\"Verdana\" size=\"2\"><br>
  <br><b>Users in channel:</b></font></td></tr>
  </table><TABLE cellSpacing=0 cellPadding=0 width=\"50%\" bgColor=#000000 border=0 id=\"table62\"><TBODY><TR><TD>
  <TABLE cellSpacing=1 cellPadding=1 width=\"100%\" border=0 id=\"table63\"><TBODY><TR borderColor=##ffffff bgColor=#000031>
  <TD width=\"15%\" bgcolor=\"#FAFAFA\"><DIV class=bodyCopy align=center><strong>Nickname</strong></DIV></TD><TD width=\"45%\" bgcolor=\"#FAFAFA\">
  <DIV class=bodyCopy align=center><strong>Time in channel</strong></DIV></TD></TR>"

  foreach user [chanlist $chan] {
    lappend nicklist $user
  }

  foreach user [lsort -dictionary $nicklist] {
    puts $f "<TR class=bodyCopy borderColor=#ffffff bgColor=#ffffcc>
    <TD bgColor=#FFFFFF width=\"10%\"><DIV class=bodyCopy align=left><p align=\"center\">
    <strong style=\"font-weight: 400\">$user</strong></DIV></TD><TD bgColor=#FFFFFF width=\"45%\">"

    if {[set join [getchanjoin $user $chan]]} {
      set duration [duration [expr [clock seconds] - $join]]
      } else {
      set duration "n/a"
    }

    puts $f "<DIV class=bodyCopy align=center>$duration</DIV></TD></TR>"
  }
  puts $f "
  </TBODY></TABLE></TD></TR></TBODY></TABLE><p><font face=\"Verdana\" size=\"1\">This page was last updated on [date] at [time]<br>
  </font><font face=\"Verdana\" size=\"2\"><br></font><font face=\"Verdana\" size=\"1\">Created with chanpage.tcl v0.1<br>
  © 2004 <a href=\"mailto:cezarica%20\[at\]%20prietenii%20\[dot%20\]com\">caesar</a><font face=\"Verdana\">.</font> All rights reserved.</font></div>
  </div></td></tr></table></body></html>"
  close $f
}
There, happy now? Make yourself the second page. :P
Once the game is over, the king and the pawn go back in the same box.
s
stalix
Voice
Posts: 23
Joined: Tue Sep 13, 2005 6:06 pm

Post by stalix »

This script works? i dont working me.

or other script similar??
t
hanks
User avatar
caesar
Mint Rubber
Posts: 3776
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

What exactly isn't working? What have you tried so far? Any errors? Please check the Things to do before posting page.
Once the game is over, the king and the pawn go back in the same box.
s
stalix
Voice
Posts: 23
Joined: Tue Sep 13, 2005 6:06 pm

Post by stalix »

I want you know if somebody test that script and if work ...
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

stalix wrote:I want you know if somebody test that script and if work ...
You're the one that should be testing the script. Re-read caesar's post.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
s
stalix
Voice
Posts: 23
Joined: Tue Sep 13, 2005 6:06 pm

Post by stalix »

yeah but dont work me :oops:
Post Reply