#©hat

DALnet




mIRC Script Editor Iconconnect NEWBIE | INTRO | BASICS | POPUP | ALIAS | REMOTE | SHORTCUT | COLORS | COMMANDS | EXAMPLE | PNP

      Welcome to the web site for the DALnet IRC channel #©hat. It is very common to use the chat client (software) mIRC and connect to the "IRC chat network" via DALnet, however there are many other networks. This combination of an internet connection and a IRC client allows for global real time typed conversation between large groups of individual users. Chat channels usually have a Channel Operator present that helps to fend off lunatics. Keep in mind that Channel Op's are VOLUNTEERS.

      Regular users to IRC often want to establish an online identity, or Nick that no other user can utilize. NICKSERV helps in this regard by registering and protecting your Nickname. You can lose a Nick by telling someone your password, or by not connecting to the DALnet IRC Servers and identifying to your Nick with a password. (at least once a month) There are a number of DALnet servers a user can connect to, so if one does not respond, or is busy... try another.

      DALnet NICKSERV (nick registration services) is a two-step process. An email address has to be set for nicknames. Nickname registrations that have not been confirmed through email or IRC will expire within 24 hours. It is important to set a valid email address. To Register a Nick you must have your chat client on and be connected to a DALnet server. The command is shown below:

    /nickserv register yourpassword youremail@address

      Once this command has been accepted by NICKSERV, the registered nick can be "identified" by using the password you assigned. NICKSERV will automatically send an email to the emaill address you assigned to the nick registration. Once you recieve the auto email, there is a URL (link) included in that email (scroll down in the email) to validate your new registered nick. NEVER give your password to anyone. DALnet IRCops will NEVER ask for it, so it would be an imposter if someone ever would.

      DALnet has many channels that are maintained by channel operators (OPs) who are moderators that enforce channel rules, policies and control the channel demeanor. All channels have a unique set of rules so do not assume anything. Be aware that in some IRC channels "there are no rules" ... BUT if you are an Op for channels that strive to maintain some sanity with the high volumes of traffic, you should consider a script to fend off spammers, lamers and boneheads.

      If you are interested in being an Operator in a channel you will need to have a Registered Nick and earn the confidence of the Channel Founder and the current AOP's & SOP's through your willingness to maintain sanity (from spammers) and follow the channel guidelines as best as possible. You DO NOT get op'd by begging. That will get you banned in most channels.


pnp


KEYBOARD SHORTCUTS

  • F1 - Help
  • F10 - Activate menuline
  • CTRL+C - Copy marked text or graphics
  • CTRL+X - Cut marked text or graphics
  • CTRL+V - Paste marked text or graphics
  • CTRL+Z - Undo last operation
  • ALT+TAB - Change between open programs
  • ALT+UL - Opens menus by clicking Alt+Undescored letter
  • ALT+F4 - Close active window
  • CTRL+A - Mark all
  • CTRL+F4 - Close window
  • CTRL+ESC - Open start menu
  • CTRL+HOME - Fastest way to the beginning of a document
  • CTRL+END - Fastest way to the end of a document
  • WIN - Open Start menu
  • WIN+F1 - Windows help
  • WIN+E - Explorer
  • WIN+F - Starts Search for catalogs/files
  • WIN+M - Minimizes all windows
  • WIN+R - Opens Run dialogbox
  • WIN+TAB - Browses the toolbar.
  • WIN+BREAK - Open dialog box System Preferences.
  • SKIFT+WIN+M - Undo minimize all windows
  • CTRL/WIN+F - Dialogbox search for computer

    FOUNDER STATEMENT: Ø SPAM TOLERATED!

          There are many channels on DALnet. Some are quite interesting and others leave much to be desired. IRC is just like the the rest of the world-- there are normal things as well as abnormal activities. It is wise to learn what you are doing first, be courteous and DO NOT accept files that are sent (DCC) to you for some may be dangerous unless you are confident that you know the user-- and that alone is no guarantee that files sent are not corrupted or pathetic.

          Never accept files from people you don't know. Files with extensions of type .exe, .com, .ini, .bat, and others may contain a virus, even if the person is not aware that it is infected.

    Never type a command or code string that someone erratically sends you such as “type this code to gain operator status: If it contains /decode X or /write X... NEVER EVEN consider that.


    TOP OF PAGE


    NICKSERV

        Regular users to IRC often want to establish an online identity, or Nick that no other user can utilize. NICKserv helps in this regard by registering and protecting your Nickname. You can lose a Nick by telling someone your password, or by not loging into IRC and identifying to your Nick regularly. (over a month)

        DALnet nickname (nick) registration is a two-step process. An email address has to be set for nicknames. Nickname registrations that have not been confirmed through email or IRC will expire within 24 hours. It is important to set a valid email address.

        To Register a Nick you must have your chat client on and be connected to a DALnet server. The command is as follows.

    • /nickserv register password email address

        Occasionally there is what is known as 'lag" and you will get disconnected. When you reconnect there is occasionally a "Ghost" of the nick you are using that remained in the channel you were chatting in. To remove the "ghost" type in.
    • /nickserv GHOST (nickname) [password]

        To recover a nickname from another user that does not have authorization to utilize the nick.
    • /nickserv RECOVER (nickname) [password]


    Useful Network Services Commands

    • NICKserv
      /nickserv IDENTIFY password
      /nickserv GHOST nick password

    • CHANserv
      /chanserv INFO #channelname

    • MEMOserv
      /msg MemoServ@services.dal.net READ 1

    • Useful Op Commands
      /mode #channel +v nick
      /mode #channel +b nick address/nick

    TOP OF PAGE


    !RULES

    This is IRC. Y'know what to expect...


    BEGINNER GUIDE

    /join #©hat

    How the heck do I make that © thingy to /join #©hat   ???

    There are a few ways but the easiest is either of these methods:
  • Cut and paste [Ctrl C Ctrl V]
  • Use the charachter map that is on every PC. [Start / Programs / Accesories / System Tools / Charachter Map]

    What is IRC?

    Internet Relay Chat, or IRC, is a method of conversing with other internet users, in real time, using a chat software program called a "client". There are many different chat channels, or rooms, covering every subject imaginable.

    Rather than posting a message on a bulletin board, and reading other postings, you are able to type your message in a chat window, and watch others post their messages in real time.

    This makes for some lively dialogue, and a conversation that is much more enjoyable than simply reading messages. You will interact with other chat channel users, and also be able to send and recieve files, such as pictures, using the various IRC chat servers. Be forewarned, DCC sending is perhasp not a wise thing to do do to the risk of getting a virus-- but it is possible to send digital formats back and forth between users. NEVER accept files sent to you from a user you do not know.

    More about file transfers.... When you are in a chat channel, and someone tries to send you a file, a warning box will pop up on your screen, asking if you accept or reject the file transfer. Many internet viruses are transmitted this way, so if you are unsure of the person sending a file, reject it. The files are usually marked .exe or .ini. These are program files, and can contain a virus or a trojan. If someone is sending you a picture, be sure that the file is an .gif or .jpg file. These are extensions used for graphics. If in doubt, just reject the transfer, it won't hurt your computer unless you download and run (accept) the file.

    Be safe, have fun and remember that etiquette will pay off.

    How do I chat?

    First, you have to make sure an mIRC Client is installed on your system. If you do not have one you should ask your local system admin to install a client on your PC or local area network. If you have a stand-alone PC with internet acces you have to obtain and install a client yourself. (dont worry ..its easy!)

    The first time you run your IRC client program you have to fill in some information about yourself, such as, your Internet address and the IRC server with which you want to connect. Your client may also have a section for you to specify the Port, Password, Real name, Email address, Nickname(s), IP address and Local Host name. These options are usually found under the File/Options/ menu. Don't get overwhelmed by the massive amount of options most clients offer; just fill in these basics and it will work.

    With most windows IRC clients an extensive help file is included. Dont hesitate to try the /help command.

    IMPORTANT NOTE : ALL IRC COMMANDS START WITH A "/".

    The forward slash is the default command character. Commands on IRC are not case sensitive, and can be abbreviated to their first letters. Anything that does not begin with "/" is assumed to be a message to someone and will be sent to your current channel.

    /HELP shows general help or help on the given command.
    /JOIN to join a channel
    /PART to leave a channel (same as LEAVE)
    /QUIT exits your IRC session, (same as BYE and EXIT)
    /NICK changes your nickname
    /WHOIS displays information about someone
    /ME sends anything about you to a channel or QUERY
    TOP OF PAGE


    IRC TERMS

  • IRC = Internet Relay Chat, Typed Real Time Communication
  • CLIENT = Chat Software (example: mIRC)
  • NICK = A Username or Nickname
  • NICKserv = A Service that Reserves a users Nick
  • MEMOserv = A Service that sends internal messages to users
  • CHANserv = A Service that Reserves a channel
  • COMMANDS = Functions a User can enable or disable
  • FOUNDER = A User that Registers a Channel
  • OP = A Channel Operator / Moderator


    IRC Slang

  • AFK = Away From Keyboard
  • BBL = Be Back Later
  • BRB = Be Right Back
  • JK (J/K) = Just Kidding
  • LOL = Laughing Out Loud
  • NP = No Problem
  • ROFLMAO = Rolling On Floor Laughing My Ass Off
  • WB = Welcome Back
  • ATM = At The Moment
  • BBIAF = Be Back In A Few
  • BTW = By The Way
  • C U L8R = See You Later
  • C Ya = See You
  • EG = Evil Grin
  • IMO = In My Opinion
  • IMHO = In My Humble Opinion
  • IRL = In Real Life
  • LTNS = Long Time No See
  • OIC = Oh, I See
  • GMTA = Great Minds Think Alike
  • RL = Real Life
  • RTFM = Read The Flippin' Manual
  • WTF = What the F#%@
    TOP OF PAGE

    mIRC

    The Basics of Scripting

  • ALIAS performed with the keyboard
        KEYBOARD SHORTCUT: ALT+A

  • POPUP performed with the mouse
        KEYBOARD SHORTCUT: ALT+P

  • REMOTE executed automatically
        KEYBOARD SHORTCUT: ALT+R
  • To begin Scripting in mIRC click on the
    mIRC Script Editor Icon   mIRC Script Editor Icon
      HINT: It is wise to start a NEW file in the mIRC Script Editor when adding your own scripts to a chat client but DO NOT overwrite existing files. Save the new files with a title you will easily recognize.

    To load a new script utilizing the mIRC Script Editor
  • FILE / NEW
  • LOAD

    Read The Mirc Help Files!

    Keyboard Shortcut = F1

  • What is an mIRC script?

    mIRC scripting is a basic form of programming. This web site has examples of chat client scripting for mIRC and information about PnPv4.22.

    What is he difference between a program and a script? Programs are a compiled executable and can "run itself" while a script is a plain text ascii file (addon or snippet) which REQUIRES a program to process, run or function.


    You can use NOTEPAD to create and edit mIRC Scripts using these File Extensions:
  • .txt
  • .ini
  • .mrc

    The mIRC scripting language is extensive and powerful which makes the possibilities of what you can utilize it for almost unlimited. The main things IRC chatters use it for is to customize the way a client looks (themes) and functions and to automate repetitive tasks.


    What do I need to create an mIRC script?

    All you need to start scripting is the mIRC help file [Keyboard Shortcut = F1] that comes with the chat client and Microsoft NotePad. If you don't have the latest version of mIRC you should, because mIRC's scripting language is constanly changing and expanding. Once you get into more advanced scripting, you might need additional reference materials, tools and program extensions but to begin with all you need is NotePad, mIRC ... and READ the help file.


    How do I learn to write an mIRC script?

    READ THE HELP FILES IN mIRC! Chat Client Scripting isn't a short term project - it takes time, patience and READING. When learning to script, your best source of information is the mIRC help file. It contains the syntax and examples for all of the available commands, events and identifiers mIRC has to offer. Other places to obtain information about mIRC Scripting are search engines [google.com] or scripting channels on IRC [/list *script*] or... stop by our channel... [/join #mIRCscript]
    TOP OF PAGE


    Popup Menus ALT+P

    Scripting allows you to create Popup Menus in mIRC for the status window, the channel you are chatting in, the nicklist or even the "popdown" menu at the top of the software.

    [Right Mouse Click on this web page for an example of a Popup Menu] Back, Forward, etc...

    Popup menus can be scripted to perform many different commands that are activated by using the mouse. Popup menus can be scripted in two places: The Popups tab in mIRC's Script Editor (alt+p) or in the Remotes tab of the Script Editor (alt+r). mIRC's pre-made Popups are in the popups section The Remotes section popups are a little more flexible and easier to work with.

    (Popups can be created for use in: status, menubar, channel, nicklist, query). This scripting example is a Nicklist Popup. (As mentioned before, there are others but all use the same Scripting Syntax.)

    menu nicklist {
    Hello:{ msg $chan Hi $1 !! }
    }

    $chan refers to the active channel
    $1 refers to the user nick you clicked on.


    The first and last lines are simple - they define the start and end of the menu. The second line is what is seen in the menu and the commands that get executed. If you put this code in your remotes (ALT+R) and right click someones name in the nicklist, you will see "Hello" in the menu. Click "Hello" to execute the commands - The output in the channel is your nick saying Hi to the specified nick in the channel.

    menu nicklist {
    COMMENTS
    .Hello:{ msg $chan Hi $1 !! }
    .Goodbye:{ msg $chan Cya $1 !! }
    }

    The above example shows how to create sub-menus using the "." (fullstop) prefix. It's basically the same as the first example but instead of "Hello" appearing in the main menu it appears as a sub-menu under the menu "Stuff".


    EXAMPLES (POPUP) ALT+P

    You have the choice of placing these in:
  • STATUS
  • CHAT
  • CHANNEL
  • NICKLIST
  • MENUBAR

    COMMENTS
    .HI: /say Hi
    .TYT: /say tyt...
    .TC: /say Take care.
    INFO
    .TIME: /say $time
    .NICK®: /say To Register a Nick type: /nickserv register password email@address
    .GHOST: /say Ghost Kill type: /nickserv GHOST nick password
    .CHANINFO: /chanserv info $$?="enter message"
    .NICKINFO: /nickserv info $$?="enter message"
    .DNS: /dns $$?="enter message"
    .findmask: /echo -a Address belongs to: $ial( $$?="Enter the hostmask to match" ,1).nick
    .whowas $snick(#,1):/whowas $*

    By adding this script to the POPUP section in the mIRC Script Editor you would be able to use your mouse and simply click on those choices to "type" the selections.



    TOP OF PAGE


    Aliases ALT+A

    Aliases are basically 'custom commands' that allow you to make you own /commands from existing mIRC commands and are used mainly to shorten existing commands (e.g /j is short for /join) and to condense a few commands into one to save time. Like popup menus, aliases can be created in two different places: The Aliases tab in the scripts editor and the Remotes tab - again, I'll be showing you how to do it in the Remotes tab.

    alias hi {
    msg $chan Hi there $$1 !!
    }

    If you put that in remotes and type "/hi Bob" in a channel window, the output will be you saying "Hi there Bob !!" in the channel. $chan refers to the active channel and $$1 refers to the word you typed after "/hi" ("Bob"). Similarly, you can use $2 to refer to the second word and so on. To refer to ALL the words you can use $1- (note the added "-" at the end).

    alias hi2 {
    msg $chan Hi there $$1 !
    msg $chan How are you?
    }

    Another example which uses all the same commands but executes two commands instead of one. This demonstrates how you can use an alias to do a few things things in one go rather than typing each command out. To try it out, put the code in remotes and type "/hi2 Bob" in a channel window.


    EXAMPLES: (ALIAS) ALT+A


    Existing Aliases in PNP
    DO NOT use these letters for aliases
    /A AWAY
    /B BACK
    /C DCC REQ
    /J JOIN
    /K KICK
    /N NOTICE
    /O oNOTICE
    /P PART
    /Q QUERY
    /S DCC SEND

    Examples of what you could add...
    /1 /me is Back
    /2 /say :')
    /3 /say :-\
    /4 /say :-0
    /5 /say :-(
    /asl /me has been asked ASL 409,567 times | /say how about the weather.
    /bb /say BRB » $$?="enter message" «
    /f /say I am fine thanks...
    /g /say gotta go... take care... cya later folks...
    /nick /say [Register a Nick] type: /nickserv register password email@address
    /z /me zzzZZZZzzz


    For instance, with the above example loaded into Alias [ALT A]
    when you type:

    /g


    the mIRC client will automatically post:

    * gotta go... take care... cya later folks...

    in the channel you are in.
    TOP OF PAGE


    Remotes ALT+A

    The remote allows you to create scripts that react to IRC Server events, such as when a user joins a channel or sends you a message. This tool is the most complex part of mIRC and to use it you must already know how to use IRC Commands, how to create Aliases, and how to use Variables and Identifiers.

    The remote consists of three distinct sections:

    The Users section, where user addresses with assigned access levels are listed. Each User in your Users section can be assigned one or more levels. These access levels dictate which events a user will be able to access.

    The Variables section, where the currently active variables are listed.

    The Scripts section, where the scripts that you create are listed. You can load multiple scripts which work independently of each other. This means that a single IRC Server event can trigger events in one or more scripts. Scripts consist of events which can only be triggered by users who have the required access levels. You can also place Aliases in your scripts by using the alias prefix, and menus in your scripts by using the menu prefix.


    EXAMPLES (REMOTE) ALT+R

    With the script below added to the remote section of an mIRC client:

    on *:JOIN:#ChannelName: {
    /notice $nick welcome! enjoy your visit...
    /notice $nick To learn more about #©hat please visit: http://channels.dal.net/3w/
    }
    on *:PART:#ChannelName: {
    /notice $nick thanks for stopping by $chan
    }


    Users will see announcements and depart messages when they join or leave the channel that you are in.

    (Use with care. Some channels do not allow auto messages)

    TOP OF PAGE


    COLORS

    You can apply colors while on IRC...

  • Control + K is used for colored text
  • Control + B is used for Bold test
  • Control + U is used for underlined text
  • Control + R is used for reverse text *
  • Control + I is used for italics text **
  • Control + O returns your text back to plain black

    EXAMPLE: CtrlK2 YourText CtrlK

    mIRC Color Edit Icon   mIRC Client Colors Icon      
    EDIT mIRC SOFTWARE THEMES   Control Panel
       
  • 1 - Black
  • 2 - Navy Blue
  • 3 - Green
  • 4 - Red
  • 5 - Brown
  • 6 - Purple
  • 7 - Olive
  • 8 - Yellow
  • 9 - Lime Green
  • 10 - Teal
  • 11 - Aqua Light
  • 12 - Royal Blue
  • 13 - Hot Pink
  • 14 - Dark Gray
  • 15 - Light Gray
  • 16 - White
  • Changing mIRC Defaults    

        mIRC uses black text on a white background by default because this allows colored text to appear clearly and crisply. However, if you find the color scheme too bright, or if you want something a bit more fun, you can change the text and background, as well as other specific types of text eg. your own messages, to other colors.

        To change the color settings, select the Colors dialog from the Tools Menu. It will popup up and show you the different types of messages in their current color settings.

        To change the color of an item, just click on it and you'll see it's name appear in the listbox at the bottom. Then click on any of the colored squares, and you'll see the color of the text for that item change accordingly.

        To change the background color, just click on the background itself and select a color as usual. You can also click on the background of the editbox and the listbox to change their colors as well.

        If you don't like the changes you've made you can either click cancel or you can click the reset button which will reset the colors back to the default mIRC colors.

  • TOP OF PAGE


    Example Script

    mIRC Help File example script shows how to place related aliases, popups, and events
    in a single file making it easier to distribute an comprehensive script.

    ;XYZ Script v1.0 - contains XYZ related functions

    ;menu definition adds a submenu to your channel popup menu

    menu channel {
    XYZ
    .happily:/describe # XYZs are happy :)
    .woefully:/describe # XYZs are woeful :(
    .philosophically:/describe # XYZs are deep thinkers
    .colorfully:/describe # XYZs are colorful

    }

    ;add aliases for shortcuts to often used messages

    alias how /msg $1 Heard about XYZ?
    alias XYZ /sound XYZ.wav

    ;adds a ctcp command which reacts to a XYZ ctcp from someone

    ctcp 1:XYZ:*:/notice $nick Sorry, I'm all out of XYZs right now.

    ;add events which react to specific words said on a channel

    on 1:text:*XYZ*:#:/msg $chan okay, who knows XYZ?
    on 1:text:*grass*:#:/describe $chan XYZ is a widget or an example

    ;add join/part events which react to user joining/parting channel #XYZ

    on 1:join:#XYZ:{
    /msg $nick Welcome $nick to channel #XYZ!
    /msg $nick This is a XYZ channel, there are XYZers present!
    /msg $nick Please refrain from profaine XYZing and/or lameness.
    /msg $nick Idiots enaging in such acts will be promptly XYZ'd
    }

    on 1:part:#XYZ:/msg $nick Thanks for chatting with us on #XYZ!

    ;following line processed with channels list. It
    ;prints to the status window any channel name/topic that has XYZ

    raw 322:*XYZ*:/echo -s $2-




    mIRC
        ADDONS
    /^\
    Channel Operator Tools

    pnp
    PnPv4.22

    IRC PEST CONTROL        
    irc bugs pnp 4.22 PnP v4.22 by pai is an excellent script for channel @OPs to utilize as a channel maintenance tool. It is a very useful mIRC "addon" that /loads nicely, is very simple to understand (use the readme.txt) and the best news of all-- PnP is extremely functional with an intuitive GUI.

    PnP offers the ability to completely customize many channel protection features-- and if you are willing to tweak the configurations and options-- this addon is completely badass when it comes to dealing with loons, pervs and spammers. There are some updates to the script (AFTER it is installed) which offer better protection that can be downloaded here.

    Some users may prefer thier own scripts, and that is completely understandable-- but, hands down PnPv4.22 is one of the best mIRC script projects in existance. PnP is not glitzy, it is no nonsense design. If you are stuck in color popup hell & want neon lights and bells and whistles-- PnP might not be for you, BUT, if you want to kick/ban a serious bonehead automatically with scripted SHITLIST settings for every manner of lamertude-- PnP is a good choice. Settings galore!

    If you shine the light of reality on it... being an IRC channel operator is a dubious distinction. As an OP you VOLUNTEER to provide a... somewhat sane place for users to participate in chat and are thrown into a sea of wannab hacks, lamers and you take a stand at the front lines of the spam battleground. The fact remains that there are droves of nice folks on IRC and they do keep ya coming back. The measure of a good Op might be... someone who wants to provide a kewl place for nice folks to hang out. If you're an Op, you need help! [in more than one way ;^p] so if you need a channel maintenance tool designed for lunatic prevention, PnP is your friend. Your guard dog. Get some. /load this sucker...

    Do yourself a favor, Install PnP now.

    If you need more info visit the PnP Forum

      PnP v 4.22 Install Instructions: Addon / Plugin script for mIRC
    1. Download & install mIRC mIRC


    2. Download & install PnP pnp

    3. There are some updates to the script (after it is installed) that offer better protection that can be found here.
      Installing a new copy of P&P
    • Make sure no copies of mIRC are running.
    • If you like, make a backup of your mIRC directory.
    • Unzip or copy all files into your mIRC directory. Retain all directories. In otherwords, you should now have these four "sub-directories added within your MIRC directory."
      1. SCRIPT
      2. ADDONS
      3. THEMES
      4. SCHEMES
      If you do not, start over...
    • You should now have all of the above subdirectories, as well as mirc32.exe in the SAME directory. You may also have or want mirc.ini and servers.ini, but you can load the script without these.
    • Start mIRC.
    • In your status window... type   /load -rs script\first.mrc   (and press Enter)
    • Anytime mIRC asks if you'd like to run initialization commands, click "Yes".
    • mIRC may restart once or twice while updating some settings. Then you are ready to go!
    TOP OF PAGE


    Interested in being a #©hat Op?

    #©hat

    css
    ³w©