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.

VERY EASY Script please help!

Old posts that have not been replied to for several years.
Locked
B
BiLL
Halfop
Posts: 78
Joined: Wed Sep 26, 2001 8:00 pm
Location: Germany

VERY EASY Script please help!

Post by BiLL »

Hello,

I need a script please help me!! Its not very hard!

There should be a timer to check if the bot is op or not,
when the bot is NOT opped it should do:
/msg Chanserv op #channel botname

Thanks please help!!
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

Hello BiLL!!!

If you "need" such a script you can write one using the "bind need". Check out the tcl-commands document that comes with eggdrop and look at example tcl scripts in the tcl archive http://www.egghelp.org/tcl.htm

An example
http://members.fortunecity.com/eggheadt ... op.tcl.txt
e
egghead
Master
Posts: 481
Joined: Mon Oct 29, 2001 8:00 pm
Contact:

Post by egghead »

Forum gives a weird error:

General Error

Could not find email template file topic_notify
Last edited by egghead on Thu Aug 08, 2002 4:26 pm, edited 1 time in total.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

As noted on another thread somwhere, there is a small bug in phpBB, which causes this, however, there is no fix for this as of yet.
B
BiLL
Halfop
Posts: 78
Joined: Wed Sep 26, 2001 8:00 pm
Location: Germany

Post by BiLL »

egghead wrote:Hello BiLL!!!

If you "need" such a script you can write one using the "bind need". Check out the tcl-commands document that comes with eggdrop and look at example tcl scripts in the tcl archive http://www.egghelp.org/tcl.htm

An example
http://members.fortunecity.com/eggheadt ... op.tcl.txt
Thanks thats exactly what I needed!
S
Stark

Post by Stark »

why so complicated? :)
need-op Tcl command to execute when the bot doesn't have
ops
.chanset #channel need-op "PRIVMSG Chanserv :op #channel botname"
.save
B
BiLL
Halfop
Posts: 78
Joined: Wed Sep 26, 2001 8:00 pm
Location: Germany

Post by BiLL »

Hm Stark, I tried your trick and got this:

[03:15] Tcl error in script for 'need-op':


eggdrop v1.6.12
Tcl version: 8.3.4 (header version 8.3.4)

help ?
s
sys
Voice
Posts: 19
Joined: Mon Sep 24, 2001 8:00 pm
Location: Middle East

Post by sys »

use this tcl dal_getop1.tcl
its in http://bseen.eggheads.org
Locked