| View previous topic :: View next topic |
| Author |
Message |
Sydneybabe Op
Joined: 27 Apr 2007 Posts: 106 Location: Philippines
|
Posted: Fri Sep 28, 2007 8:42 am Post subject: daystill.tcl error |
|
|
hi anyone can help me regarding this daystill102.tcl by DrN it show always an error ----> Tcl error [do_daystill_join]: can't read "chan": no such variable thanks for the help in advance  |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri Sep 28, 2007 10:26 am Post subject: |
|
|
You need to show us the code here. But first, did you try contacting the script's author? _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Fri Sep 28, 2007 6:00 pm Post subject: |
|
|
| Code: |
bind join - ******* do_daystill_join
proc do_daystill_join {nick uhost hand chan} {
global daystill
if {![daystillchan $chan]} {return 0}
putserv "NOTICE $nick :[getdaystill $daystill(month) $daystill(day) $daystill(year) $daystill(name)]"
}
|
DrN hasn't been around in ages, the script is for tcl 8.3.x and many of his scripts are broke in newer versions.
If you want a script that works and is maintained by its author, I've written 2 scripts that would do the same thing as DrN's scripts:
Topic Countdown script:
http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=1470
Date script:
http://www.egghelp.org/cgi-bin/tcl_archive.tcl?mode=download&id=1322 |
|
| Back to top |
|
 |
Sydneybabe Op
Joined: 27 Apr 2007 Posts: 106 Location: Philippines
|
Posted: Sat Sep 29, 2007 12:33 am Post subject: |
|
|
thanks for the reply anyway is there a way that daystill tcl script can fix so that i can use it thanks in advance.  |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Sat Sep 29, 2007 8:13 am Post subject: |
|
|
I use this copy of the script error free. Maybe it will work for you.  _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Sydneybabe Op
Joined: 27 Apr 2007 Posts: 106 Location: Philippines
|
Posted: Thu Oct 04, 2007 8:56 am Post subject: |
|
|
| i try the link you give Alchera but still get a same error ---> Tcl error [do_daystill_join]: can't read "chan": no such variable |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Thu Oct 04, 2007 5:25 pm Post subject: |
|
|
| Sydneybabe wrote: | | i try the link you give Alchera but still get a same error ---> Tcl error [do_daystill_join]: can't read "chan": no such variable |
Did you .restart your bot after loading the other script?
I am unable to reproduce your error with that script. _________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
Sydneybabe Op
Joined: 27 Apr 2007 Posts: 106 Location: Philippines
|
Posted: Wed Oct 10, 2007 9:12 am Post subject: |
|
|
yes i did Alchera but still having that error  |
|
| Back to top |
|
 |
|