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.

When bot gets killed it restarts

Old posts that have not been replied to for several years.
Locked
D
Dizmo

When bot gets killed it restarts

Post by Dizmo »

Hey
This may sounds strange but its the way i want things to happen,
when/if the bots disconnects/killed it "Restarts"
i need this to happen because its running a few timers, like nick change timers so that it can connect as its nick is restricted until it opers. so if it gets killed it doesnt restart the timers, so it doesnt nick change, so the server says "invalid nick". all i need is a small script that basicly restarts the bot if killed or disconnected from the server. My tcling isn't very good so i would appreciate it if someone could help. Thanks guys
User avatar
YooHoo
Owner
Posts: 939
Joined: Thu Feb 13, 2003 10:07 pm
Location: Redwood Coast

Post by YooHoo »

Sounds like what you need is to edit your autobotchk/botchk file.
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

try this

Post by user »

Code: Select all

bind evnt - disconnect-server {restart;#}
...or fix your other scripts :wink:
Have you ever read "The Manual"?
D
Dizmo

Thanks user reserved

Post by Dizmo »

Thanks, :) simple but works great
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Re: try this

Post by demond »

user wrote:

Code: Select all

bind evnt - disconnect-server {restart;#}
...or fix your other scripts :wink:
nice args elemination ;)
Locked