Difference between revisions of "Speccats"

From Scriptwiki
Jump to: navigation, search
m
m
 
(35 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<ncl style=compact headings=bullet headstart=2 showcats=1 showarts=0>Category:Other_Identifiers</ncl>
+
= Agents =
 +
{{Category:Agents}}
 +
<categorytree mode=categories depth=1 style="column-count:3;-moz-column-count:3;-webkit-column-count:3">Agents</categorytree>
 +
 
 +
= DDE =
 +
{{Category:DDE}}
 +
<categorytree mode=pages depth=1 style="column-count:3;-moz-column-count:3;-webkit-column-count:3">DDE</categorytree>
 +
 
 +
= mIRC Help =
 +
{{Category:MIRC Help}}
 +
<categorytree mode=categories depth=1 style="column-count:3;-moz-column-count:3;-webkit-column-count:3">MIRC Help</categorytree>
 +
 
 +
= Script Archives =
 +
{{Category:Script Archive}}
 +
<categorytree mode=pages depth=1 style="column-count:3;-moz-column-count:3;-webkit-column-count:3">Script Archive</categorytree>
 +
 
 +
= Tutorials =
 +
{{Category:Tutorials}}
 +
<categorytree mode=pages depth=1 style="column-count:3;-moz-column-count:3;-webkit-column-count:3">Tutorials</categorytree>
 +
 
 +
= Basic IRC commands =
 +
{{Category:Basic IRC commands}}
 +
<categorytree mode=pages depth=1 style="column-count:3;-moz-column-count:3;-webkit-column-count:3">Basic IRC commands</categorytree>
 +
 
 +
= Oper commands =
 +
{{Category:Oper commands}}
 +
<categorytree mode=pages depth=1 style="column-count:3;-moz-column-count:3;-webkit-column-count:3">Oper commands</categorytree>
 +
 
 +
= Quakenet =
 +
{{Category:Quakenet}}
 +
<categorytree mode=pages depth=1 style="column-count:3;-moz-column-count:3;-webkit-column-count:3">Quakenet</categorytree>
 +
 
 +
= Raws =
 +
{{Category:Raws}}
 +
<categorytree mode=pages depth=1 style="column-count:3;-moz-column-count:3;-webkit-column-count:3">Raws</categorytree>

Latest revision as of 21:20, 30 April 2017

Agents

A Microsoft Agent is the technical name for the little animated characters that Microsoft some times uses to help you with an application. For example, the little wizard when setting up Windows XP, or the paper clip in Microsoft Word. mIRC offers some commands to manipulate the Microsoft Agents for use in a script.


DDE

The following commands and identifiers allow you to communicate with other DDE-enabled applications.

DDE
  $dde
  Dde


mIRC Help

mIRC Help is based on mIRC's own help file.

It basically covers everything what can be found from the original help, but is commented and expanded with wiki staff members' knowledge, tutorials and scripting examples.

Syntax used in the help pages (and generally in all scripting/coding in the world):

  • [ ] mean an optional parameter.
  • < > mean a required parameter.
  • a|b means either a or b (sometimes / is used aswell).
  • -abc mean the possible switches

Before adding or modifying anything in here, read the general editing guidelines.


Script Archives

The Script Archive's purpose is to provide examples of how to use certain mIRC or ircd features. Before you try to use those scripts you should read them and make sure that you understand how they work. The comments in these scripts should help you with that.


Tutorials

Our tutorials aim to provide a step-by-step introduction to various mIRC scripting related topics.


Basic IRC commands

 

  Away
  Ison
  Join
  Kick
  List
  Me
  Mode
  Motd
  Nick
  Part
  Pong
  Quit
  Who


Oper commands

  Kill
  Map
  Oper


Quakenet

QuakeNet is an IRC network, built around the gaming community, and is an organisation that facilitates the communication of many teams and online organisations. Though originally founded as a chat network for gamers, by gamers, QuakeNet welcomes everyone to chat about anything (within its rules). QuakeNet is also currently the largest chat network in the world, with a peak usercount each week of around 180,000 to 190,000 users (as listed by http://irc.netsplit.de/networks/).

IRC stands for 'Internet Relay Chat', and is a means for people to talk together in a text-based, real-time environment on the internet.

It has proven itself more popular than other chat systems, and more sophisticated, due in part to the ability to allow people to set up and keep their own rooms, or 'channels'. Almost all IRC server software is open source, therefore even servers are available to anyone to set up. IRC networks are comprised of many linked servers, this means that when talking on the chat network, you can select a server closest to you and still talk to someone connected to a server on the other side of the world (as long as those servers are part of the same network, such as QuakeNet).Due to the nature and availability of IRC software and the protocols, IRC is controlled by no one person or organisation.

Whilst the vast majority of users on QuakeNet are gamers, QuakeNet is not limited to gaming-related topics, and we welcome all users who abide by our rules.

It's very simple to join in the fun. All you need is an IRC 'client' (such as mIRC from www.mirc.com), you can then reach QuakeNet by selecting "QuakeNet: random server" from the server list, or by connecting directly to a server listed at http://www.quakenet.org/servers.

  Dana
  L
  Q


Raws

When the IRC server send you information it contains either a command or a RAW numeric. The numerics are a supplement to the normal events (NOTICE/PRIVMSG/MODE/etc.) not a replacement. Because raw events receive the information from the server in its native form, they give you maximum flexibility in regards to how you choose to use it or present it to the user of your script.


To read more about the IRC RFC, look here: RFC 1459

Syntax

To actually react on numeric-raws, you have to use:

raw [$]<numeric>:<matchtext>:{ commands }

Note that raw-events are just like "normal" events, like On Text or On Notice. That means that you can't use them in an alias or in another event. If you are using $ infront of the numeric, you have to use a regex-based matchtext.

Example

For example you get several numeric raws when you join a channel:

  • 332 - containing the topic of the channel (like when using /topic)
  • 333 - containing the one who has set the topic and when it was set
  • 353 - containing the names on the channel (like when using /names)
  • 366 - containing the message that the list of names has ended
  • 324 - containing the modes that are currently set (like when using /mode)
  • 329 - containing the creation date of the channel

If you e.g. want to echo the creation date of the channel to your status window, you would have to use:

; raw 329 returns: <yournick> <#channel> <creation time in unix format>
raw 329:*: {
 echo -a $2 was created at: $asctime($3)
}


If you want to halt mIRC's default output in connection with a raw-event, you can use /haltdef. For example:

raw 332:*: {
 haltdef
}

This example would make mIRC not show the topic of a channel you have joined.

Raws
  Raw