ever wanted to change the default message such as simon says: rehashing (while you delete psybnc user) and changing server (while you use /jump ?)
here is the tricks..
edit psybnc/lang/english.lng and find the appropriate words to change
you will need to compile your psybnc again by using make or gmake in order for the changes to take effects
cheers
Showing posts with label psybnc. Show all posts
Showing posts with label psybnc. Show all posts
Sunday, January 27, 2008
Sunday, September 2, 2007
::crontab for psybnc::
sometimes the psybnc process killed or crashed, so if you're not around you'll not be able to run your psybnc without defining cronjob
there's a file in your psybnc folder called psybncchk to check that your psybnc is running and if it is not running, the crontab will initialize the process again
crontab for psybnc 2.3.2-7
1. edit the psybncchk file:
---
#!/bin/sh
# This is the crontab script for psybnc.
#
# Please change the following path to your psybnc-directory.
PSYBNCPATH=/path-to-your/psybnc
# the rest should be kept as is
if test -r $PSYBNCPATH/psybnc.pid; then
PSYPID=$(cat $PSYBNCPATH/psybnc.pid)
if $(kill -CHLD $PSYPID >/dev/null 2>&1)
then
exit 0
fi
fi
cd $PSYBNCPATH
./psybnc &>/dev/null
---
2. chmod 700 psybncchk
#this will change permission to the psybncchk file
3. then define the crontab using command: crontab -e
0,10,20,30,40,50 * * * * /path-to-your/psybnc/psybncchk >/dev/null 2>&1
#to list your cronjob, check using crontab -l
http://pastebin.ca/678613
there's a file in your psybnc folder called psybncchk to check that your psybnc is running and if it is not running, the crontab will initialize the process again
crontab for psybnc 2.3.2-7
1. edit the psybncchk file:
---
#!/bin/sh
# This is the crontab script for psybnc.
#
# Please change the following path to your psybnc-directory.
PSYBNCPATH=/path-to-your/psybnc
# the rest should be kept as is
if test -r $PSYBNCPATH/psybnc.pid; then
PSYPID=$(cat $PSYBNCPATH/psybnc.pid)
if $(kill -CHLD $PSYPID >/dev/null 2>&1)
then
exit 0
fi
fi
cd $PSYBNCPATH
./psybnc &>/dev/null
---
2. chmod 700 psybncchk
#this will change permission to the psybncchk file
3. then define the crontab using command: crontab -e
0,10,20,30,40,50 * * * * /path-to-your/psybnc/psybncchk >/dev/null 2>&1
#to list your cronjob, check using crontab -l
http://pastebin.ca/678613
Subscribe to:
Posts (Atom)