User Tools

Site Tools


user:jhammo13:start

The bot was difficult. It had to be downloaded from the eggdrop website and then egghelp website helped to learn how to install it. I started by using ./configure to make sure the shell had the right tools. make config sets up what to configure.'make' compiles the eggdrop for use. make install DEST=~/botdir installs into a directory names botdir but you can name 'botdir' whatever you want.

After installing it the congif file had to be edited for our specific needs. There were 2 'Die“ lines that had to be changed to comments. There were one paragraph of lines that had to be undone from comments to be entered into the botchan channel. The port number had to be set to 6667. There are many lines to configure but you must read through the entire config file or it wont run. Hence the DIE lines.

After this it is just compiled, ran and then follow the run command.

Using the ps command can detect weather it is actually running or not.

Thus now GOD is up and running.

_ nc command The nc command lets you connect to somewhere by using hostname then port or ports. It also lets you listen for inbound by using nc -l -p port hostname. _

#!/bin/sh echo “Enter your name: ” read name echo “Your name is $name” echo “$name” | wc -L exit

</Script1.sh>

___ echo “enter first number: ” read num1 echo “enter second number: ” read num2 echo “enter third number: ” read num3 echo “enter fourth number: ” read num4

sum=`echo $num1+$num2+$num3+$num4 | bc` echo “The sum of the numbers is: $sum” product=`echo $num1*$num2*$num3*$num4 | bc` echo “The product of the numbers is: $product”

</script2.sh>

user/jhammo13/start.txt · Last modified: 2010/03/26 13:07 by jhammo13