Sunday 21 August 2011

Install And Configure Energy Mech (mIRC bot)

1. wget http://www.energymech.net/files/emech-2.8.5-freebsd-static.tar.gz

2. tar -zxvf emech-2.8.5-freebsd-static.tar.gz

3. mv emech-2.8.5-freebsd-static mech

4. cd mech

5. pico mech.set

Configure Script:

#ENTITY        shah
# Link Password: A password for linking. -436287423-
#LINKPASS      shah321

# Link Port: A port the bot will listen on for linking, telnet,
#            and pipeuser(http://www.energymech.net/docs/pipeuser.html)
#            This has to be above 1024, and some firewalls, noteably
#            IP Masquerade/NAT may block this.
#LINKPORT      49152

# An example link configuration, here you have an ENTITY called
``hismech''
# and its LINKPASS  is ``a1b2c3''. It is running on ``mech.host.net'' and
# it's LINKPORT is 49152.
#LINK          hismech a1b2c3 mech.host.net 49152

# Another example, the entity ``hermech'' is not listening on any port
# (missing or non-working LINKPORT in config), so it does not matter
# what host it is on as well, thus "0 0" at the end(-help LINK).
#LINK          hermech abcdefg 0 0

# Automatic Linking: Uncomment this to enable auto-linking. This will
#                    cause the mech to try and link to all bots in it's
#                    list, until all are present.
#AUTOLINK

##### Server List ####
# Some undernet servers to connect to... You can use server names is you
wish,
# but putting the IP's here instead of host names speeds up connects
(alot).
# Servers are global, all mechs in the same process uses the same server
list.
#
SERVER  irc.kampungchat.org  6667

##### Bot 1 Configuration #####
# In EnergyMech, you can have multiple bots on IRC from the same config
# file/process. Traditionaly, the spawn command was used, however, that
# command has been removed in 2.8.2 and above due to abuse. You can still
# specify more than one bot in the config file as shown.

# Nick for the bot.
NICK          sofea

# The file we use to store the userlist. Note you will have to generate
# this with a command such as ./genuser emech.users
USERFILE      a.users

# All commands begin with this character.
CMDCHAR      `

# Register on IRC with this username (emech@xxxxxxxx). Note that if your
# machine is running identd, it will always be your username.
LOGIN        sofea
IRCNAME      Emech By shah
MODES        +i-ws
VIRTUAL      fgfg.pl
# If you compiled with SEEN support and decide not to use it, uncomment
this.
#NOSEEN

# Channel-Independant toggles and sets. See the -REPORT command for a full
# listing.
HASONOTICE        # Yes for Undernet.
TOG CC          1      # We want the bot to require command character
TOG CLOAK      1      # Ignore CTCP's from non-users? Yes.
TOG SPY        1      # Tell who is executing what in the partyline.
SET OPMODES    6      # How many modes in a line? 6 on undernet...
SET BANMODES    6      # How many bans in a line? 6 on undernet...
SET CTIMEOUT    90      # Server connection timeout
SET CDELAY      30      # Delay between connection attempts

# Basic channel setup. You can have as many of these as your server
# supports. See the -REPORT command for a listing.
CHANNEL        #shah     # Channel name
TOG PUB        1      # Allow public(in-channel) commands? Yes.
TOG MASS        1      # Do mass-mode/kick/ban checks...
TOG SHIT        1      # Activate the shitlist for this channel
TOG PROT        1      # Activate protection of users
TOG ENFM        0      # Dont enforce channel modes.
SET MDL        7      # How many -o before killing the guy?
SET MKL        7      # How many kicks?
SET MBL        7      # And how many Bans?
SET MPL        1      # What to do with massmoders?
#                      0 = nothing,
#                      1 = kick the bastard,
#                      2 = kickban 'em,
#                      3 = kickban & shitlist them.
##### END BOT 1 #####
##### Bot 2 Configuration #####
NICK          beyol
USERFILE      a1.users  # No two bots can have the same user file.
CMDCHAR      `
LOGIN        WakJ
IRCNAME      Emech By shah
MODES        +i-ws
VIRTUAL      fgfg.pl
#NOSEEN

HASONOTICE
TOG CC        1
TOG CLOAK      1
TOG SPY        1
SET OPMODES    6
SET BANMODES  6
SET CTIMEOUT  90
SET CDELAY    30

CHANNEL        #shah
TOG PUB        1
TOG MASS      1
TOG SHIT      1
TOG PROT      1
TOG ENFM      0
SET MDL        7
SET MKL        7
SET MBL        7
SET MPL        1
##### END BOT 2 #####
##### Bot 3 Configuration #####
NICK          KampungChats
USERFILE      a2.users  # No two bots can have the same user file.
CMDCHAR      `
LOGIN        ini
IRCNAME      Emech By shah
MODES        +i-ws
VIRTUAL      fgfg.pl
#NOSEEN

HASONOTICE
TOG CC        1
TOG CLOAK      1
TOG SPY        1
SET OPMODES    6
SET BANMODES  6
SET CTIMEOUT  90
SET CDELAY    30

CHANNEL        #shah
TOG PUB        1
TOG MASS      1
TOG SHIT      1
TOG PROT      1
TOG ENFM      0
SET MDL        7
SET MKL        7
SET MBL        7
SET MPL        1
##### END BOT 3 #####
##### Bot 4 Configuration #####
NICK         BackDoor
USERFILE      a3.users  # No two bots can have the same user file.
CMDCHAR      `
LOGIN        back
IRCNAME      Emech By shah
MODES        +i-ws
VIRTUAL      fgfg.pl
#NOSEEN

HASONOTICE
TOG CC        1
TOG CLOAK      1
TOG SPY        1
SET OPMODES    6
SET BANMODES  6
SET CTIMEOUT  90
SET CDELAY    30

CHANNEL        #shah
TOG PUB        1
TOG MASS      1
TOG SHIT      1
TOG PROT      1
TOG ENFM      0
SET MDL        7
SET MKL        7
SET MBL        7
SET MPL        1
##### END BOT 4 #####
##### Bot 5 Configuration #####
NICK         nora
USERFILE      a4.users  # No two bots can have the same user file.
CMDCHAR      `
LOGIN        nora
IRCNAME      Emech By shah
MODES        +i-ws
VIRTUAL      fgfg.pl
#NOSEEN

HASONOTICE
TOG CC        1
TOG CLOAK      1
TOG SPY        1
SET OPMODES    6
SET BANMODES  6
SET CTIMEOUT  90
SET CDELAY    30

CHANNEL        #shah
TOG PUB        1
TOG MASS      1
TOG SHIT      1
TOG PROT      1
TOG ENFM      0
SET MDL        7
SET MKL        7
SET MBL        7
SET MPL        1
##### END BOT 5 #####
##### Bot 6 Configuration #####
NICK          fasha
USERFILE      a5.users  # No two bots can have the same user file.
CMDCHAR      `
LOGIN        fasha
IRCNAME      Emech By shah
MODES        +i-ws
VIRTUAL      fgfg.pl
#NOSEEN

HASONOTICE
TOG CC        1
TOG CLOAK      1
TOG SPY        1
SET OPMODES    6
SET BANMODES  6
SET CTIMEOUT  90
SET CDELAY    30

CHANNEL        #shah
TOG PUB        1
TOG MASS      1
TOG SHIT      1
TOG PROT      1
TOG ENFM      0
SET MDL        7
SET MKL        7
SET MBL        7
SET MPL        1
##### END BOT 6 #####
##### Bot 7 Configuration #####
NICK          Ladyana
USERFILE      a6.users  # No two bots can have the same user file.
CMDCHAR      `
LOGIN        intan
IRCNAME      Emech By shah
MODES        +i-ws
VIRTUAL      fgfg.pl
#NOSEEN

HASONOTICE
TOG CC        1
TOG CLOAK      1
TOG SPY        1
SET OPMODES    6
SET BANMODES  6
SET CTIMEOUT  90
SET CDELAY    30

CHANNEL        #shah
TOG PUB        1
TOG MASS      1
TOG SHIT      1
TOG PROT      1
TOG ENFM      0
SET MDL        7
SET MKL        7
SET MBL        7
SET MPL        1
##### END BOT 7 #####
##### Bot 8 Configuration #####
NICK          Mata
USERFILE      a7.users  # No two bots can have the same user file.
CMDCHAR      `
LOGIN        mata
IRCNAME      Emech By skyline
MODES        +i-ws
VIRTUAL      fgfg.pl
#NOSEEN

HASONOTICE
TOG CC        1
TOG CLOAK      1
TOG SPY        1
SET OPMODES    6
SET BANMODES  6
SET CTIMEOUT  90
SET CDELAY    30

CHANNEL        #shah
TOG PUB        1
TOG MASS      1
TOG SHIT      1
TOG PROT      1
TOG ENFM      0
SET MDL        7
SET MKL        7
SET MBL        7
SET MPL        1
##### END BOT 8 #####
##### Bot 9 Configuration #####
NICK          fauzana
USERFILE      a8.users  # No two bots can have the same user file.
CMDCHAR      `
LOGIN        fara
IRCNAME      Emech By shah
MODES        +i-ws
VIRTUAL      fgfg.pl
#NOSEEN

HASONOTICE
TOG CC        1
TOG CLOAK      1
TOG SPY        1
SET OPMODES    6
SET BANMODES  6
SET CTIMEOUT  90
SET CDELAY    30

CHANNEL        #shah
TOG PUB        1
TOG MASS      1
TOG SHIT      1
TOG PROT      1
TOG ENFM      0
SET MDL        7
SET MKL        7
SET MBL        7
SET MPL        1
##### END BOT 9 #####
##### Bot 10 Configuration #####
NICK          BrainWash
USERFILE      a9.users  # No two bots can have the same user file.
CMDCHAR      `
LOGIN        br
IRCNAME      Emech By shah
MODES        +i-ws
VIRTUAL      fgfg.pl
#NOSEEN

HASONOTICE
TOG CC        1
TOG CLOAK      1
TOG SPY        1
SET OPMODES    6
SET BANMODES  6
SET CTIMEOUT  90
SET CDELAY    30

CHANNEL        #shah
TOG PUB        1
TOG MASS      1
TOG SHIT      1
TOG PROT      1
TOG ENFM      0
SET MDL        7
SET MKL        7
SET MBL        7
SET MPL        1
##### END BOT 10 #####
##### Bot 11 Configuration #####
NICK          spyware
USERFILE      a10.users  # No two bots can have the same user file.
CMDCHAR      `
LOGIN        spy
IRCNAME      Emech By spy
MODES        +i-ws
VIRTUAL      fgfg.pl
#NOSEEN

HASONOTICE
TOG CC        1
TOG CLOAK      1
TOG SPY        1
SET OPMODES    6
SET BANMODES  6
SET CTIMEOUT  90
SET CDELAY    30

CHANNEL        #shah
TOG PUB        1
TOG MASS      1
TOG SHIT      1
TOG PROT      1
TOG ENFM      0
SET MDL        7
SET MKL        7
SET MBL        7
SET MPL        1
##### END Bot 11 #####
##### Bot 12 Configuration #####
NICK          luna
USERFILE      a11.users  # No two bots can have the same user file.
CMDCHAR      `
LOGIN        luna
IRCNAME      Emech By shah
MODES        +i-ws
VIRTUAL      fgfg.pl
#NOSEEN

HASONOTICE
TOG CC        1
TOG CLOAK      1
TOG SPY        1
SET OPMODES    6
SET BANMODES  6
SET CTIMEOUT  90
SET CDELAY    30

CHANNEL        #shah
TOG PUB        1
TOG MASS      1
TOG SHIT      1
TOG PROT      1
TOG ENFM      0
SET MDL        7
SET MKL        7
SET MBL        7
SET MPL        1
##### END Bot 12  #####
##### Bot 13 Configuration #####
NICK          ustazah
USERFILE      a12.users  # No two bots can have the same user file.
CMDCHAR      `
LOGIN        ustazah
IRCNAME      Emech By shah
MODES        +i-ws
VIRTUAL      fgfg.pl
#NOSEEN

HASONOTICE
TOG CC        1
TOG CLOAK      1
TOG SPY        1
SET OPMODES    6
SET BANMODES  6
SET CTIMEOUT  90
SET CDELAY    30

CHANNEL        #shah
TOG PUB        1
TOG MASS      1
TOG SHIT      1
TOG PROT      1
TOG ENFM      0
SET MDL        7
SET MKL        7
SET MBL        7
SET MPL        1
##### END Bot 13 Configuration #####
##### Bot 14 Configuration #####
NICK          farida
USERFILE      a13.users  # No two bots can have the same user file.
CMDCHAR      `
LOGIN        maria
IRCNAME      Emech By shah
MODES        +i-ws
VIRTUAL      fgfg.pl
#NOSEEN

HASONOTICE
TOG CC        1
TOG CLOAK      1
TOG SPY        1
SET OPMODES    6
SET BANMODES  6
SET CTIMEOUT  90
SET CDELAY    30

CHANNEL        #shah
TOG PUB        1
TOG MASS      1
TOG SHIT      1
TOG PROT      1
TOG ENFM      0
SET MDL        7
SET MKL        7
SET MBL        7
SET MPL        1
##### END Bot 14  #####
##### Bot 15 Configuration #####
NICK          linda
USERFILE      a14.users  # No two bots can have the same user file.
CMDCHAR      `
LOGIN        linda
IRCNAME      Emech By shah
MODES        +i-ws
VIRTUAL      fgfg.pl
#NOSEEN

HASONOTICE
TOG CC        1
TOG CLOAK      1
TOG SPY        1
SET OPMODES    6
SET BANMODES  6
SET CTIMEOUT  90
SET CDELAY    30

CHANNEL        #shah
TOG PUB        1
TOG MASS      1
TOG SHIT      1
TOG PROT      1
TOG ENFM      0
SET MDL        7
SET MKL        7
SET MBL        7
SET MPL        1
##### END Bot 15 Configuration #####

6.  ./genuser

7.  ./mech 

8. -End-

2 comments: