Results 1 to 14 of 14

Thread: Advanced IRC Guide

  1. #1

    Default Advanced IRC Guide

    Advanced IRC Guide


    This guide is for experienced IRC users, IRC Channel Owners and IRC Ops.
    The basic IRC Guide can be foundHere

    This guide covers the following topics

    • Creating a Channel
    • Fayntic overview
    • Channel Setup
    • Channel Admin setup
    • Chaninfo and Fayntic Access
    • Fayntic Modes
    • Op Commands
    • Nick Serv Commands
    • Chan serv Commands



    This Guide has been written based on MIRC. Commands and view may differ on other irc clients
    Last edited by mhudson; 05-24-2010 at 05:37 PM.

  2. #2

    Default

    Creating a new IRC channel


    Creating and registering the channel


    When logged in to IRC use the command /join #channel

    Where #channel is the name of the channel you wish to create.
    In my example’s the channel is called #ircguide



    You will then see the following screen:



    Once the new channel has been created the first thing to be done is to register it.
    Type /msg CHANSERV REGISTER channel password description




    Providing the channel registration is successful you will see the following



    Mode +r means the channel is registered and +q makes you the channel owner



    Getting a Fayntic Bot into your channel


    Once you have the channel set up you will then need a BOT to be able to administrate the channel
    There are two ways to get a fayntic bot into your channel. The First is from within IRC:

    Type the following commands into your channel
    /msg fayntic REQUEST #ircguide blodixy
    To get a bot in your channel, please do: /msg BOTNICK request CHANNEL BOTNICK. For the full botlist visit: http://traviangames.fayntic.com/bots/






    The second way is to go to http://traviangames.fayntic.com/bots/ and request a bot from online





    Once you have got a Fayntic bot you can then start to configure it for your channel

  3. #3

    Default

    An Overview of Fayntic Bots


    Ther are a large number of fayntic bots that can be used



    Only those with the folder image on the right can currently be requested. As and when the max number of users have requested a bot will requests be stoped. Those with the key image are reserved bots.


    What is Fayntic


    Fayntic Is: A modular PHP bot, check out the SVN for all available modules (%botnick% svn) - Supports: auto banexpire, badwords, stats, RBL lookups, calc/convert, seen, massvoice (read: autovoice on join), support for shoutcast streams, weather, restrict (similar as /cs set # restricted on), peak, and custom triggers

    A Fayntic bot can be used for the automated administration of your channel, It has to be set up and customised for your channel however once this has been done they are very low maintenance.

    There are a long lists of commands that are supported by bots including the following:
    JOIN, CHANINFO, LOGIN, COMMANDS, LOGOUT, PASSWORD, EMAIL, CHANSET, UPDATE, VERSION, MODULES, RESTART, QUIT, RELOAD, REMOVE, RAW, SAY, CALC, CONVERT, GETIP, INDICATOR, IRCD, BLACKLIST, RBL, PEAK, UNBAN, UNBANALL, ADDCRON, DELCRON, CRONEXISTS, CRONFREQ, STATS, RDP, RAAD, KICK, CHANGEBOT, TRIGGER, REGISTER, DELUSER, SEEN, RESETPASS, BADWORD, UPTIME, EXEC, VOICE, DEVOICE, HALFOP, HOP, DEHALFOP, DEHOP, OPERATOR, DEOP, DEOPERATOR, CP, PLAYER, ALLY, ALARM, ADD

    These commands, what they do and how to use them will be covered later

    To login to fayntic use /msg fayntic LOGIN username password
    For Fayntic questions join channel #Fayntic where the IRCOPS and admins hide out, normally you will receive an answer for any of your questions there.

  4. #4

    Default

    Channel Setup



    Now you have your channel you will want to set it up, personalise it and administer it.
    You can do this in any order however below is the way i always do it.


    Topic


    First thing I always do is setup the topic of the channel. This can be done in the following way:

    • Right click in the channel, This will allow you to see the channel modes









    • enter your topic and hit ok




  5. #5

    Default

    Setting up Administrative access


    There are a number of options to administer your channel and will briefly cover these below:

    Owner


    This gives you owner status if the channel. You can only set this if you have founder access on the channel.
    This command is usefull if you have created a channel for someone else and can be used to pass ownership to them
    Command: /msg chanserv OWNER #channel



    SOP


    This is the command to give someone SuperOperator status on the channel.
    SOP’s have all the privilages of AOP (below) but also are able to set autokicks, set badwords and send and read channel memos [size=”1”]these will be covered later[/size]

    Commands: (all prefixed with /msg chanserv)
    • SOP #channel ADD nick -- Adds given nick to SOP list and assigns permissions
    • SOP #channel DEL nick -- Removes nick from SOP list and Removes Permissions
    • SOP #channel LIST – Lists all users with SOP permissions on that channel
    • SOP #Channel CLEAR – Removed ALL SOP permissions and users

    Any user with Fayntic access level 5 or above can administer the SOP list

    AOP


    This command gives someone AutoOperator status on the channel
    The AOP list gives users the right to be auto-opped on your channel, to unban or invite themselves if needed, to have their greet message showed on join, and so on.
    Commands: (all prefixed with /msg chanserv)
    • AOP channel ADD nick
    • AOP channel DEL {nick | entry-num | list}
    • AOP channel LIST [mask | list]
    • AOP channel CLEAR

    Anyone on the SOP list can add users to the AOP list



    Setting your Fayntic Bot as SOP


    Use the command: /msg chanserv SOP #ircguide ADD Blodixy



    Once you have entered the command look in your status channel where you will see:



    Repeat this step using your own nick
    To confirm that your bot and yourself have been added do: /msg chanserv SOP #ircguide list



    You can set AOP's in the same way but using AOP #channel add nick

  6. #6

    Default

    Setting up channel Cont




    Set the fayntic bot command char.


    Use command /msg Blodixy CHANSET #channel commandchar !
    Upon completion of the command you will get a confirmation message:




    *[i]if your bot does not have OP (@) at this point use !cycle botnick





    Setting channel bot modes:


    The following commands can be set on the channel they are optional however
    • DONTKICKOPS To protect ops against bot kicks
    • DONTKICKVOICES To protect voices against bot kicks
    • FANTASY Enable fantaisist commands
    • SYMBIOSIS Allow the bot to act as a real bot

    Set the above command using the following:
    /msg botserv SET #channel DONTKICKOPS ON
    /msg botserv SET #channel DONTKICKVOICE ON
    /msg botserv SET #channel FANTASY ON
    /msg botserv SET #channel SYMBIOSIS ON


  7. #7

    Default

    Fayntic Access and chaninfo


    To view your current Fayntic bot settings as well as banlists badword lists and who has Fayntic control on a channel use command: !chaninfo
    This will then display the link to the online channel information page on the Fayntic website






    From that image you can see the only mode set on the channel is +support and that mhudson has access level 5 on the Fayntic access list

    Fayntic access


    So add users to the Fayntic access list use the following command:
    !ADDUSER nick level






    * note you can only set access levels below your level

    To remove a Fayntic user use the command
    !DELSUER nick


  8. #8

    Default

    Channel Fayntic Modes


    The Fayntic bots are able to control and provide a number of services, These services incluse

    • Badwords
    • Stats
    • Travian stats
    • translation services
    • Calcualtor service
    • Seen Service
    • Weather service
    • Peak
    • triggers




    Badwords


    The bot can be set to perform an action when someone swears or uses one of the configured bad words. In the #travian channel it’s the bad words settings that auto kick and ban users that swear in the channel. You can configure your Fayntic bot to do this by using the following commands

    To turn on badwords: !chanset +badwords
    To add words: !badword add word reason (e.g. !badword test please don’t do testing here)
    To remove a bad word: !badword del word reason

    Adding a badword

    Chaninfo badword display




  9. #9

    Default

    Stats


    You Fayntic bot is able to compile a list of statistics for your channel, listing howmany people were online, a list of quotes as well as some funny records set within the channel

    To enable states use the following command: !chanset +stats
    To view the channels stats use this command: !stats








    Travian


    Your Fayntic bot is capable or reading the statistics of any travian server giving number of villages, rank pop and alliance of a given player *note: stats are update every 24 hours

    To enable stats use the following command: !chanset +travian
    To view players stats use this command: !player world gamename
    (e.g) !player UKS4 Support or !player UKX Multihunter





    Translation service

    One of fayntics most recent addition is the translation service. It is able to translate most ascii based language’s some languages with letters not found on a US keyboard currently don’t work however more functionality is being added as time progresses

    To enable translation use !chanset +translate
    To use the translator use: !translate en text (to translate to English)


  10. #10

    Default

    Calculator


    Fayntic is also able to do simple calculations

    Enable command: !chanset +calc
    To use: !calc




    Seen


    This Fayntic command can be very usefull if you are trying to find someone or when they were last online

    To enable !chanset +seen
    To use: !seen nick
    In the screen shots I used !seen mhudson324 basic details were shown in the channel however futher information was also displayed in the status channel







    Weather


    Fayntic is able to find and display the weather for a given city or postcode

    To enable !chanset +weather
    To use !weather country city or !weather country post code


  11. #11

    Default

    Peak


    This is used to measure the maximum or highest number of users online in a channel over time

    Enable: !chanset +peak

    When a new peak is set it will be displayed in the channel





    Triggers


    Fayntic has the option to set triggers for the channel, these are often used for fun rather than a serious reason however they can at times be usefull

    Enable: !chanset +triggers
    Add trigger !trigger add word reason
    Remove !trigger del word reason



    Different vars can be used as followed

    Starting the trigger with ACTION will convert it to '/me' - % network % = %network%, % nick % = %nick%, % channel % = %channel%, (% 0 % = %0%, % 1 % = %1%), % text % = %text%, % botnick % = %botnick%

    I used ACTION for a /me command followed by %0% that will then slap the specified person:
    E.G !trigger add slap ACTION Slaps %0%
    This will then show when !slap mhudson324 is used as Blodixy slaps mhudson324

  12. #12

    Default

    Operators Commands and scripts


    There are many ways to carry out operator actions however the use of scripts makes it easyer.

    Here is a basic script that is usually found in the popup tab of the MIRC script editor

    Script

    The above script allow you to right click a user and then kick etc. them from the channel

    Basic Nicktracker



    Common Operator commands


    • !op -- premotes user to operator (also: !op nick)
    • !deop -- Removed Operator status (also !deop nick
    • !protect – protects you inn that channel (op required)
    • !voice -- sets mode +v
    • !devoice -- Sets mode –v
    • !kick [nick] [reason] -- Kicks using botserv
    • Fayntic Kick [nick] --Kick using Fayntic (need to be on Fayntic access list)
    • !kb -- Kick Ban using botserv

    • /mode #channel +b *!*@host -- Ban using Fayntic
    • /mode #channel –b *!*@host -- Remove ban
    • /mode #channel +b *!*@host 3d -- sets a 3day ban (use m for mins d for days)
    • /cs unban #channel -- Remove a ban on yourself (requires AOP or SOP on channel)
    • /mode #channel +b m:*!*@host --set a mute ban (user can see channel just not speak)
    • /mode #channel –b m:*!*@host –remove a mute ban

    • /msg nickserv info [nick] -- displays info on target nick
    • /msg ns identify username password – identifys you to your nick
    • /msg hostserv update – force update on hostserv (used to force update vhost)
    • /msg chanserv help – displays help for chanserv
    • /mode #channel +[mode] -- sets selected mode in channel
    • /mode #channel +J 20 – sets rejoin wait time to 20 seconds


    • /msg chanserv AOP #channel List -- Displays AOP list
    • /msg chanserv SOP #channel List – Displays SOP list
    • /msg chanserv AOP #channel ADD[nick] - Adds user to AOP
    • /msg chanserv AOP #channel DEL [nick] – removes user from AOP
    • /msg chanserv SOP #channel ADD[nick] – adds user to SOP
    • /msg chanserv SOP #channel DEL [nick] – removes User from SOP
    • !user ADD [nick [level] – adds user to Fayntic access list
    • !user DEL [nick] -- removes user from Fayntic list
    • !badword ADD [word] [warning text] Adds word to badwords list
    • !badword DEL [word] -- removes word from badwords list

  13. #13

    Default

    Nickserv commands


    The nickserv is resoponisble for issuing you with your nick or identifying you with your nick. It allows you to register your nick and prevents others from using it. For help type /msg ns help


    Register


    Using /msg nickserv REGISTER password [emil] enables you to register and reserve your nick.
    Registers your nickname in the NickServ database. Once your nick is registered, you can use the SET and ACCESS commands to configure your nick's settings as you like them. Make sure you remember the password you use when registering - you'll need it to make changes to your nick later. (Note that case matters! ANOPE, Anope, and anope are all different passwords!)

    Passwords should not be easily guessable. For example, using your real name as a password is a bad idea. Using your nickname as a password is a much worse idea and, in fact, NickServ will not allow it. Also, short passwords are vulnerable to trial-and-error searches, so you should choose a password at least 5 characters long. Finally, the space character cannot be used in passwords.

    Once you have already registered a nick using the command: /msg ns group nick password
    Will add your current nick to the group of your main nick (the one you registered).
    This command also creates a new group for your nickname, that will allow you to register other nicks later sharing the same configuration, the same set of memos and the same channel privileges.
    Use of /msg nickserv Drop will cancel the registration of that nick
    Use of /msg nickserv list -- will display all your nicks


    Confirm


    Syntax: CONFIRM passcode
    This is the second step of nickname registration process. You must perform this command in order to get your nickname registered with NickServ. The passcode (or called auth code also) is sent to your e-mail address in the first step of the registration process. For more information about the first stage of the registration process, type: /msg NickServ HELP REGISTER

    Resend


    This command will resend your passcode to the email address your nick is registered to


    Nickserv Set command


    Use /msg ns set [param]
    • DISPLAY Set the display of your group in Services
    • PASSWORD Set your nickname password
    • LANGUAGE Set the language Services will use when sending messages to you
    • URL Associate a URL with your nickname
    • EMAIL Associate an E-mail address with your nickname
    • ICQ Associate an ICQ number with your nickname
    • GREET Associate a greet message with your nickname
    • KILL Turn protection on or off
    • SECURE Turn nickname security on or off
    • PRIVATE Prevent your nickname from appearing in a/msg NickServ LIST
    • HIDE Hide certain pieces of nickname information
    • MSG Change the communication method of Services
    • AUTOOP Should services op you automatically.

    In order to use this command, you must first identify with your password

  14. #14

    Default

    Main Chanserv Command


    ChanServ allows you to register and control various aspects of channels. ChanServ can often prevent
    malicious users from "taking over" channels by limiting who is allowed channel operator privileges.

    Available commands are listed below; to use them, type /msg ChanServ command. For more information on a specific command, type /msg ChanServ HELP command.

    Register

    Register: Syntax:/MSG CHANSERV REGISTER #channel password description

    Registers a channel in the ChanServ database. In order to use this command, you must first be a channel operator on the channel you're trying to register. The password is used with the IDENTIFY command to allow others tomake changes to the channel settings at a later time. The last parameter, which must be included, is a general description of the channel's purpose.
    When you register a channel, you are recorded as the"founder" of the channel.

    The channel founder is allowed to change all of the channel settings for the channel; ChanServ will also automatically give the founder channel-operator privileges when s/he enters the channel.

    See the ACCESS command (/msg ChanServ HELP ACCESS) for information on giving a subset of these privileges to other channel users.

    NOTICE: In order to register a channel, you must have
    first registered your nickname. If you haven't, /msg NickServ HELP for information on how to do so.



    Set

    SET: Syntax:/MSG Chanserv SET channel option parameters

    Allows the channel founder to set various channel option and other information.

    Available options:
    • FOUNDER Set the founder of a channel
    • SUCCESSOR Set the successor for a channel
    • PASSWORD Set the founder password
    • DESC Set the channel description
    • URL Associate a URL with the channel
    • EMAIL Associate an E-mail address with the channel
    • ENTRYMSG Set a message to be sent to users when they enter the channel
    • BANTYPE Set how Services make bans on the channel
    • MLOCK Lock channel modes on or off
    • KEEPTOPIC Retain topic when channel is not in use
    • OPNOTICE Send a notice when OP/DEOP commands are used
    • PEACE Regulate the use of critical commands
    • PRIVATE Hide channel from LIST command
    • RESTRICTED Restrict access to the channel
    • SECURE Activate ChanServ security features
    • SECUREOPS Stricter control of chanop status
    • SECUREFOUNDER Stricter control of channel founder status
    • SIGNKICK Sign kicks that are done with KICK command
    • TOPICLOCK Topic can only be changed with TOPIC
    • XOP Toggle the user privilege system
    Type /msg ChanServ HELP SET option for more information on a particular option.


    From within chanserv it is possible to administer your channel using

    • SOP Modify the list of SOP users
    • AOP Modify the list of AOP users
    • HOP Maintains the HOP (HalfOP) list for a channel
    • VOP Maintains the VOP (VOicePeople) list for a channel
    • ACCESS Modify the list of privileged users
    • LEVELS Redefine the meanings of access levels
    • AKICK Maintain the AutoKick list

    these are all admin commands that are normaly found if you right click a user in MIRC or WEBChat

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •