egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

TVRage.com Schedule Script (Latest: 2.0)
Goto page Previous  1, 2, 3, 4, 5 ... 32, 33, 34  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Tue May 16, 2006 4:24 pm    Post subject: Reply with quote

http is part of tcl (see here). Also, if it couldn't find it it should error saying such. Just to be sure, what version of eggdrop and tcl are you using?
Back to top
View user's profile Send private message
loc
Voice


Joined: 05 May 2006
Posts: 15

PostPosted: Tue May 16, 2006 4:37 pm    Post subject: Reply with quote

GaveUp wrote:
http is part of tcl (see here). Also, if it couldn't find it it should error saying such. Just to be sure, what version of eggdrop and tcl are you using?


I've tried it on 2 different shells now, 2 different eggdrop installations, still no go...

Eggdrop v1.6.17
OS: Linux 2.6.15-1-686-smp
Tcl library: /usr/lib/tcl8.4
Tcl version: 8.4.12 (header version 8.4.11)
Tcl is threaded.
Back to top
View user's profile Send private message
qw3rty
Voice


Joined: 06 Apr 2006
Posts: 4

PostPosted: Tue May 16, 2006 9:25 pm    Post subject: Reply with quote

loc have you set the +tv? .chanset #yourchan +tv
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Tue May 16, 2006 9:34 pm    Post subject: Reply with quote

Hey now, no making the author look like an idiot! Good point, though. Just shows how long it's been since I've looked at this code.
Back to top
View user's profile Send private message
loc
Voice


Joined: 05 May 2006
Posts: 15

PostPosted: Wed May 17, 2006 4:00 am    Post subject: Reply with quote

qw3rty wrote:
loc have you set the +tv? .chanset #yourchan +tv


That was it... Might be a good idea to add that to the info part of the script for tcl newbies like me Smile Thanks thu, works great!
Back to top
View user's profile Send private message
Sparky66
Voice


Joined: 12 Jun 2006
Posts: 4

PostPosted: Mon Jun 12, 2006 12:00 pm    Post subject: Reply with quote

i got !today and !tomorrow working but cant get !showinfo working

comes up with this error

Quote:
invalid command name ncgi::encode



and tips on how to get rid of this problem
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Mon Jun 12, 2006 4:04 pm    Post subject: Reply with quote

In pub:tvrage.com.showinfo comment out the ncgi line near the top and uncomment the replacement.
Back to top
View user's profile Send private message
twr
Voice


Joined: 17 Jun 2006
Posts: 6

PostPosted: Sat Jun 17, 2006 9:21 pm    Post subject: tvrage question Reply with quote

is there a way to make the script work in more than one channel on the same network from the same bot? it only seems to work from the first channel added in the conf file.
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Sat Jun 17, 2006 9:29 pm    Post subject: Reply with quote

So long as the channel has the +tv flag it should handle any number of channels.
Back to top
View user's profile Send private message
twr
Voice


Joined: 17 Jun 2006
Posts: 6

PostPosted: Sun Jun 18, 2006 12:00 am    Post subject: +tv flag Reply with quote

tried everything I could think of, but it's only supporting one channel (the first in my channel add list in my bot conf file...

also, can I adjust the time? at 11:30pm EST/EDT on Saturday, doing a !today was giving me Sundays listings

thanks for the help!
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Sun Jun 18, 2006 3:03 am    Post subject: Reply with quote

If both channels have the 'tv' flag set then I don't know why both channels wouldn't work. Paste your channel file and any other relevent info that I can use to debug.

The time for day switch overs is based on the local timezone of the machine the eggdrop is running on. You could edit the script to reflect a different timezone, though. Look for the "set systemTime [clock seconds]" line and add or subtract 3600 for every hour you want to adjust.
Back to top
View user's profile Send private message
twr
Voice


Joined: 17 Jun 2006
Posts: 6

PostPosted: Sun Jun 18, 2006 12:23 pm    Post subject: tvrage script/multiple channels Reply with quote

This is the section of my conf file for the channels (channel names and keys edited):

channel add #<edited> {
chanmode "+ntsk <edited>"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
ban-time 120
exempt-time 60
invite-time 60
aop-delay 0
+dontkickops
flood-chan 0
need-op { }
need-invite { }
need-key { putserv "JOIN #<channel and key edited>" }
need-unban { }
need-limit { }
}
channel add #<edited> {
chanmode "+npstlk <edited>"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
ban-time 0
exempt-time 60
invite-time 60
aop-delay 0
+dontkickops
flood-chan 0
need-op { }
need-invite { }
need-key { putserv "JOIN #<channel and key edited>" }
need-unban { }
need-limit { }
}
channel add #<edited> {
chanmode "+ntsk <edited>"
idle-kick 0
stopnethack-mode 0
revenge-mode 0
ban-time 0
exempt-time 60
invite-time 60
aop-delay 0
+dontkickops
flood-chan 0
need-op { }
need-invite { }
need-key { putserv "JOIN #<channel and key edited for this posting>" }
need-unban { }
need-limit { }
}

Thanks for the help!


Last edited by twr on Tue Sep 12, 2006 9:23 am; edited 1 time in total
Back to top
View user's profile Send private message
GaveUp
Op


Joined: 19 Jan 2006
Posts: 139

PostPosted: Sun Jun 18, 2006 12:54 pm    Post subject: Reply with quote

The .chan file is actually the one I was curious about.
Back to top
View user's profile Send private message
twr
Voice


Joined: 17 Jun 2006
Posts: 6

PostPosted: Sun Jun 18, 2006 1:29 pm    Post subject: tvrage script Reply with quote

channel set #<edited> chanmode +stn idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op { } need-invite { } need-key { putserv "JOIN #<edited>" } need-unban { } need-limit { } flood-chan 0:1 flood-ctcp 5:60 flood-join 5:60 flood-kick 0:0 flood-deop 3:10 flood-nick 0:0 aop-delay 0:0 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet +protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch +udef-flag-tv -udef-flag-weather -udef-flag-babel

channel set #<edited> chanmode {+kstn <edited>} idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op { } need-invite { } need-key { putserv "JOIN <edited>" } need-unban { } need-limit { } flood-chan 0:1 flood-ctcp 5:60 flood-join 5:60 flood-kick 0:0 flood-deop 3:10 flood-nick 0:0 aop-delay 0:0 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet +protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch -udef-flag-tv -udef-flag-weather -udef-flag-babel

channel set #<edited> chanmode {+kstn <edited>} idle-kick 0 stopnethack-mode 0 revenge-mode 0 need-op { } need-invite { } need-key { putserv "<edited>" } need-unban { } need-limit { } flood-chan 0:1 flood-ctcp 5:60 flood-join 5:60 flood-kick 0:0 flood-deop 3:10 flood-nick 0:0 aop-delay 0:0 ban-time 120 exempt-time 60 invite-time 60 -enforcebans +dynamicbans +userbans -autoop -autohalfop -bitch +greet +protectops -protecthalfops -protectfriends +dontkickops +statuslog -revenge -revengebot -autovoice -secret +shared +cycle -seen -inactive +dynamicexempts +userexempts +dynamicinvites +userinvites -nodesynch +udef-flag-tv -udef-flag-weather -udef-flag-babel
Back to top
View user's profile Send private message
flashy
Voice


Joined: 01 May 2006
Posts: 24

PostPosted: Mon Jun 19, 2006 3:59 am    Post subject: Reply with quote

anyone else having high cpuload with the script? i'm having crazy numbers
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3, 4, 5 ... 32, 33, 34  Next
Page 4 of 34

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber