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.

Die command

Old posts that have not been replied to for several years.
Locked
T
Treudenbauer

Die command

Post by Treudenbauer »

how to kill bot via telnet?
I have sometimes some problems with connecting with DCC
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

If you have owner right you can kill it in this ways:
1. /msg bonick die password
2. in bash of your box type: cat pid.botnick then kill -9 result_of_the cat
3. if you are in party line wit it via telnet: .die

Also, don't forget to replace botnick with the actual nick of the bot.
Once the game is over, the king and the pawn go back in the same box.
T
Treudenbauer

Post by Treudenbauer »

these commands which U gave...these are ment to use via DCC...

but I meant via console (real telnet...there are commands like .die unknown...)
M
MiKaL
Voice
Posts: 11
Joined: Fri Nov 29, 2002 1:23 pm

Post by MiKaL »

in telnet do this
type ps
find the pid number of the process you wish to die ie ./eggdrop/bot/bot.conf
then type kill -9 <pid number>
the bot should now be dead
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Actualy I've gave you 3 alternatives, and just one is from party line (dcc/telnet with it).
Once the game is over, the king and the pawn go back in the same box.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

caesar wrote:If you have owner right you can kill it in this ways:
1. /msg bonick die password
2. in bash of your box type: cat pid.botnick then kill -9 result_of_the cat
3. if you are in party line wit it via telnet: .die

Also, don't forget to replace botnick with the actual nick of the bot.
Tip of the day. Try using

Code: Select all

kill -9 `cat pid.<botnick>`
Replacing <botnick> of course.

Will save you needing to type the commands seperate, and does it in one simple step.
Last edited by ppslim on Mon Jun 23, 2003 5:27 am, edited 1 time in total.
User avatar
caesar
Mint Rubber
Posts: 3778
Joined: Sun Oct 14, 2001 8:00 pm
Location: Mint Factory

Post by caesar »

Thanks for the tip. One question: I see there two distinct things, one ` and one ' .. should be this to the same?
Once the game is over, the king and the pawn go back in the same box.
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Thanks for pointing that out. I have ammended the post.

It seems my browser likes to do fancy quoting, like you would see in a word processor.
Locked