Internet Relay Chat script

Internet Relay Chat script

IRC scripts are a way of shortening commands and responding automatically to certain events while connected to an IRC Network. There are many different scripting languages for different types of

Basis

Aliases

Most IRC scripts contain one or more aliases. Aliases are used to bind some command to a set of commands, or give it parameters, to save time when typing such commands over and over. For example, a simple alias might allow the user to type "/j channel" instead of "/join #channel", saving exactly 5 keystrokes (counting Shift). Aliases can add new commands, replace commands built into the IRC client, or provide abbreviations for long commands or sequences of commands. Aliases can usually be used as functions to produce a value that is used elsewhere in the script. In some cases, an alias can be associated with a keyboard shortcut.

Event-based Scripting

Events, also known as remotes, allow a script to respond automatically when a particular type of message is received from the IRC server, or when a certain action is performed by the user, such as pressing a key or closing a window. Advanced event scripting usually requires knowledge of the IRC protocol, though basic events can usually be written without it.

Popups in Scripts

Scripts for graphical IRC clients may contain pop-ups, which extend or replace the menus built into the client. Many scripts contain nothing but long lists of pop-ups that send humorous or cute canned messages to the channel; many of those messages take the form of a "slap", ridiculing a victim chosen by the user.

Security concerns

Since IRC scripts are used to interface with a public network, they are a favourable target for attack. Event handling code must be careful when dealing with input received from other IRC users; a poorly written IRC script may leave the user vulnerable, allowing attackers to possibly read the user's passwords or private conversations, execute arbitrary commands in the user's IRC client, or access files on the user's hard disk.

IRC Scripts downloaded from public web sites or received from other IRC users may contain backdoors or similar malicious commands. Some users prefer to write their own IRC scripts to avoid the potential problems caused by a malicious or buggy script.

Similarities to Other Programming/Scripting Languages

IRC Scripts have many of the same concepts of other scripting or programming languages, such as variables, event-based execution, modification of core components and functions. IRC Scripts look similar to modular software configuration files, such as those used for some IRC daemons such as UnrealIRCd.

External links

* [http://www.mircscripts.us/ mircscripts.us] - Site which offers various mIRC resources such as Scripts, Addons, TCLs, DLLs and Snippets. Also has a tutorial download archive.
* [http://www.visualscripts.com/ VisualScripts.com] - Collection of scripts for Visual IRC.
* [http://www.mircscripts.org/ mircscripts.org] - Site for mIRC scripts, addons, themes and snippets.
* [http://www.mircscripts.com/ mIRC Scripts Dot Com] - One of the oldest sources of mIRC scripts & addons on the internet.

ee also

* IRC Client
* Scripting language
* mIRC
* IRC Daemon
* Internet Relay Chat
* IRC Services


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Internet Relay Chat — IRC redirects here. For other uses, see IRC (disambiguation). For IRC channels dedicated to Wikipedia, see Wikipedia:IRC Internet Relay Chat (IRC) is a protocol for real time Internet text messaging (chat) or synchronous conferencing.[1] It is… …   Wikipedia

  • Internet Relay Chat flood — Flooding or scrolling on an IRC network is a method of disconnecting users from an IRC server (a form of Denial of Service), exhausting bandwidth which causes network latency ( lag ), or just annoying users. Floods can either be done by scripts… …   Wikipedia

  • Internet Relay Chat services — AKill redirects here. For the creator of Akbot, whose online pseudonym is AKILL, see Owen Walker. Internet Relay Chat services (usually called IRC services) is a name for a set of features implemented on many modern Internet Relay Chat networks.… …   Wikipedia

  • Internet Relay Chat bot — An IRC bot performing a simple task. An IRC bot is a set of scripts or an independent program that connects to Internet Relay Chat as a client, and so appears to other IRC users as another user. An IRC bot differs from a regular client in that… …   Wikipedia

  • Internet Relay Chat operator — The line that appears in an IRC Operator s client when they oper up An IRC operator (often abbreviated as IRCop or oper) is a user on an Internet Relay Chat network who has privileged access. IRC operators are charged with the task of enforcing… …   Wikipedia

  • Comparison of Internet Relay Chat clients — This article is about Internet Relay Chat clients. For a comparison of instant messaging clients, see Comparison of instant messaging clients. For a comparison of mobile Internet Relay Chat clients, see Comparison of mobile Internet Relay Chat… …   Wikipedia

  • Comparison of Internet Relay Chat bots — This list is incomplete; you can help by expanding it. The following table contains general and technical information about a range of Internet Relay Chat bots (IRC bots). General IRC Bot Primary developers Software license Operating system… …   Wikipedia

  • Comparison of Internet Relay Chat daemons — This list is incomplete; you can help by expanding it. The following tables compare general and technical information including the differences in feature sets between popular IRC daemons. Grey entries in the list represent supposedly… …   Wikipedia

  • Comparison of Internet Relay Chat services — This list is incomplete; you can help by expanding it. The following tables compare general and technical information including the differences in feature sets between various IRC services packages. This article is neither all inclusive nor… …   Wikipedia

  • Comparison of mobile Internet Relay Chat clients — This list is incomplete; you can help by expanding it. The following tables compare general and technical information between a number of IRC client programs for mobile devices. Please see the individual products articles for further information …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”