|
msnbot
Let msn.class.php work as bot
IntroductionLet msn.class.php always online, work as a bot. Details
mkdir /var/spool/msnbot mkdir /var/spool/msnbot/log mkdir /var/spool/msnbot/spool mkdir /var/spool/msnbot/backup
chmod 777 /var/spool/msnbot/spool chmod o+t /var/spool/msnbot/spool
chmod +x /var/spool/msnbot/msnbot.php
// your MSN login account
$msn_acct = 'YOUR_MSN_ACCOUNT';
// your MSN password
$msn_password = 'YOUR_MSN_PASSWORD';
// your alias name for MSN
$msn_alias = 'YOUR_MSN_ALIAS';
// notify list when someone add us to their list or remove us from their list
// after domain, you can assign @n to specify the network of this email,
// where @1 is for MSN (yes, if no @1, also for MSN)
// @32 is for Yahoo
$aNotifyUser = array('MSN_ACCOUNT1@1',
'MSN_ACCOUNT2',
'YAHOO_ACCOUNT@32');
#! /bin/sh
#
# MSN bot
#
NAME=msnbot
DESC="MSN bot"
set -e
case "$1" in
start)
echo -n "Starting $DESC: $NAME"
/var/spool/msnbot/msnbot.php
echo "."
;;
stop)
echo -n "Stopping $DESC: $NAME"
MSNPID=`cat /var/spool/msnbot/log/msnbot.pid`
kill $MSNPID
echo "."
;;
restart|force-reload)
$0 stop
sleep 1s
$0 start
;;
*)
N=/etc/init.d/$NAME
echo "Usage: $N {start|stop|restart|force-reload}" >&2
exit 1
;;
esac
exit 0
TO: someone@hotmail,somone@yahoo.com@32 Your message here 2nd line end here |
Sign in to add a comment
sd
hi our server (dreamhost) is not support pnctl (fork and signal) i need this code.. what can i do? can u help us
how can I logout?
is it possible to use msnbot trough the browser? I mean, I don't have SSH access to the server...
why do i get: Starting MSN bot: msnbotExtension '/var/spool/msnbot/msnbot.php' not present.
Hi, i would like to know if it was possible to stream .avi as a webcam thanks to the bot ?? :p