?? mirclecture.html
字號:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="GENERATOR" CONTENT="Mozilla/4.04 [en] (Win95; I) [Netscape]">
<TITLE>Mirc Scripting Lecture</TITLE>
</HEAD>
<BODY>
<HR SIZE=1 NOSHADE WIDTH="60%">
<CENTER><B>Mirc Scripting Lecture</B></CENTER>
<CENTER><B>by</B></CENTER>
<CENTER><B>Reptile</B></CENTER>
<CENTER><A HREF="http://blacksun.box.sk">http://blacksun.box.sk</A></CENTER>
<CENTER>
<HR SIZE=1 NOSHADE WIDTH="80%"></CENTER>
<P><reptile> ok lets start
<BR><freakOVER> :)
<BR><freakOVER> o well
<BR><reptile> So u just got Mirc ur thinking damn this client sucks
i wish i could switch to xchat
<BR><reptile> (well u can xchat is there for iwndows also u know)
<BR><Mikkkeee> so mirc scripting?
<BR><reptile> yeah
<BR><Mikkkeee> -------------MIRC SCRIPTING LECTURE------------------
<BR><reptile> but anyways
<BR><reptile> there are a few + points to mirc
<BR><reptile> theres a built in scriptin language!
<BR><reptile> Now u wanna ask the basic question
<BR>*** idiocy|idle has joined #bsrf
<BR><reptile> What is mIRC scripting? mIRC scripting is a very powerful
way of customising mIRC. It allows you to control the way in which it does
things. Scripting is similar to programming, but I would say its easier
to pick up because there are so many built in functions. Scripting is mainly
used as a way to perform lots of commands with little effort. now what
exactly makes a script? Commands - General commands like /join /part etc
Aliases - Groups of Commands Po
<BR><reptile> that was huge
<BR><reptile> ;)
<BR><reptile> lucky i typed this out
<BR><reptile> ;)
<BR><Mikkkeee> kewl
<BR>*** BaGeL has joined #bsrf
<BR><reptile> now ill take a 2 second break to allow u to read through
that
<BR><freakOVER> hehe
<BR><freakOVER> already did
<BR><freakOVER> ;)
<BR><reptile> done
<BR><reptile> now lets go on
<BR><reptile> lets start with Aliases
<BR>*** ICE-T has joined #bsrf
<BR><reptile> What is an Alias? An alias is simply a collection of commands
<BR>*** _ciR_ has quit IRC (Quit: )
<BR>*** piksel has joined #bsrf
<BR><reptile> Any command you use in the edit box of a window which
starts with a / can be used in an alias. To edit aliases press alt + A
in mIRC or goto Tools>Aliases, this will bring up the alias editing window.
<BR><reptile> Alias are written in this format: /aliasname command |
command The /aliasname is what you will type in the normal edit box when
chatting (cannot have spaces).
<BR>*** piksel is now known as _piksel-
<BR>*** {LG} has joined #bsrf
<BR><reptile> Try to give it a meaningful name, so it is easier to rememeber
what it does. The command is a command such as /join (you dont need the
/ in an alias).
<BR>*** _piksel- has left #bsrf
<BR><SpiderMan> j #bread5
<BR>*** {LG} has left #bsrf
<BR>*** rabonne has joined #bsrf
<BR><reptile> lol
<BR><Mikkkeee> lol
<BR>* freakOVER is typing...
<BR>* freakOVER click click
<BR><reptile> The | breaks up the commands, so mIRC knows what to do.
<BR><reptile> u can use 2 commands on the same line usin the |
<BR><reptile> 0_0 WHAT A WONDER
<BR><reptile> ;)
<BR><freakOVER> can u use more than one?
<BR><Mikkkeee> yup
<BR><freakOVER> i mean
<BR><freakOVER> more than 2
<BR><reptile> lol sure
<BR>*** piksel has joined #bsrf
<BR><reptile> ;)
<BR>*** rabonne is now known as _rabonne-
<BR><reptile> u can use as many as u can
<BR><freakOVER> oh ok
<BR><freakOVER> whew...
<BR><reptile> now heres a example
<BR><reptile> Echo a message to the current window /Echo is a
mIRC command to show text in a window, only you can see it. Format: /echo
text Alias Code: /e echo This is echod to the current window. Usage: type
/e in a window to display the message.
<BR>*** Lone[Star] has quit IRC (Quit: I've learned so much but at the
end I've learn so little... knowledge never ends... - Lone[Star])
<BR><reptile> thats juz a simple example
<BR><reptile> aliases can be used for much more difficult things
<BR><reptile> not exactly difficult
<BR><reptile> i mean time consuming
<BR><reptile> ;)
<BR><freakOVER> hehe
<BR><reptile> Joining a channel /Join is a command which joins a channel.
Format: /join channelname Alias Code: /j join #hex Usage: type /j in a
window to join #hex
<BR>*** _acid519- has joined #bsrf
<BR>*** MASTURB4TION has joined #bsrf
<BR><reptile> when u use /echo only u can see the msg
<BR>*** d3molisher has quit IRC (Ping timeout: 180 seconds)
<BR>*** ICE-T has quit IRC (Quit: cya)
<BR>*** perry has joined #bsrf
<BR>*** _rabonne- has quit IRC (Quit: Im Using Tracer Script v1.22- http://www.tracerscript.net
Wasted: 4mins 30secs Online)
<BR><reptile> so does everybody understand so far?
<BR>*** _rabonne- has joined #bsrf
<BR><freakOVER> ya
<BR><freakOVER> :)
<BR><reptile> Joining 2 channels Alias Code: /j2 join #hex | join #bsrf
Usage: type /j2 in a window to join #hex and #bsrf
<BR><reptile> and another
<BR>*** _rabonne- has left #bsrf
<BR>*** perry has quit IRC (Not enough time connected)
<BR><reptile> Performing an action /me is a command which performs an
action on a channel/nick. Format: /me action Alias Code: /happy me is so
happy cos, s/he can make an alias! Usage: type /happy in a channel window
to perform the action Aliases can also be put on multiple lines, making
them easier to read. This is done using the curly brackets ({ and }). The
{ basically says to mIRC "code start" The } basically says to mIRC "code
end" For every { you have you must
<BR>*** Mikkkeee sets mode: +v [PhaLanX]
<BR><reptile> Multiple lines in an Alias Here we'll make the Join 2
Channels alias multi line. Notice how each command is on a seperate line,
and there are no |. A new line is the same as a |. Alias Code: /tjoin2
{ join #hex join #bsrf } Usage: type /tjoin2 in a window to join #hex and
#bsrf Try making a few of your own and then we'll move onto popups.
<BR>*** _acid519- has quit IRC (Quit: Leaving)
<BR><[PhaLanX]> side note:
<BR><[PhaLanX]> aliases can be made using the /alias command
<BR><[PhaLanX]> ex: /alias happy /me is happy
<BR><[PhaLanX]> this will create the /happy command
<BR><reptile> tankies [PhaLanX]
<BR><[PhaLanX]> no prob
<BR><reptile> any questions?
<BR>*** BaGeL has quit IRC (Ping timeout: 180 seconds)
<BR>*** DigitalFallout has joined #bsrf
<BR>*** ChanServ sets mode: +o DigitalFallout
<BR><divinator> anyone know what this is? :
<BR><divinator> "GET /default.ida?XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<BR>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<BR>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<BR>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
<BR>XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX%u9090%u6858%
<BR>ucbd3%u7801%u9090%u6858%ucbd3%u7801%u9090%u6858%ucbd3%u7801%
<BR>u9090%u9090%u8190%u00c3%u0003%u8b00%u531b%u53ff%u0078%u0000%u00=a
HTTP/1.0" 404 870 "" ""
<BR><Mikkkeee> df just in time for thE mirc one
<BR><DigitalFallout> One sec, I need to reboot--------
<BR>*** DigitalFallout has quit IRC (Read error: 104 (Connection reset
by peer))
<BR><divinator> i get plenty of connections with this query everyday
on my httpd
<BR><Mikkkeee> maybe the .ida buffer overflow attack sploit
<BR><reptile> hummn
<BR><divinator> code red possibly
<BR><reptile> maybe if it exceeded sme characters
<BR><reptile> anyways
<BR><reptile> shall we move onto popups?
<BR>*** idiocy|idle has quit IRC (Ping timeout: 180 seconds)
<BR><Mikkkeee> k
<BR>*** DigitalFallout has joined #bsrf
<BR>*** ChanServ sets mode: +o DigitalFallout
<BR><DigitalFallout> Well I just woke up :)
<BR><reptile> What is a Popup? Popups are custom menus. To edit popups
press alt + P in mIRC or Tools>Popups, this will bring up the popup editing
window. Popups are generally used as a quick way to perform an alias (Remember
an alias is a group of commands). Popups appear in order on the menu in
the same order they are written. Popups are written in this format: Popupname:command
| command The Popupname is what will appear on the menu (Can have spaces).
The command
<BR><reptile> heres a example Performing an action using a popup In
the channel popup editing window (on the menu: view...channel in the popup
editing window) put the code. Popup Code: Happy: me is so happy cos, s/he
can make a popup! Usage: right click in a channel window and select "Happy"
to perform the action
<BR><freakOVER> The command
<BR><freakOVER> <reptile> heres
<BR><freakOVER> ?
<BR><freakOVER> u missed stuff didn't u?
<BR><reptile> no its juz ur lag
<BR><reptile> ;)
<BR><reptile> The command is a command such as /join the same as an
alias.
<BR><freakOVER> o ok
<BR><freakOVER> lag
<BR><freakOVER> bah!
<BR><freakOVER> :)
<BR><reptile> Using a popup to run an alias Here we will use a popup
to run the alias we made in Example 4 Popup Code: Happy2:tme Usage: right
click in a channel window and select "Happy2" to perform the action
<BR><[PhaLanX]> side note, to make items under a menu, you use periods
<BR><[PhaLanX]> ex:
<BR><[PhaLanX]> Happy
<BR><[PhaLanX]> .Happy1:/happy1
<BR><[PhaLanX]> .Happy2:/happy1
<BR><[PhaLanX]> that would create Happy in the menu with items happy1
and happy2
<BR><[PhaLanX]> the parent cannot have a command (Happy doesnt have
a command, yet happy1 and happy2 do)
<BR><freakOVER> cool
<BR>*** honkhonk has joined #bsrf
<BR><freakOVER> 2 ppl giving the lecture
<BR><freakOVER> :)
<BR><reptile> Telling a channel about yourself Here we will use a popup
to tell a channel about yourself. (Change the information to suit yourself)
Notice the return of multiple lines. Popup Code: About me:{ me is male,
14 yrs of age, from India } Usage: right click in a channel window and
select "About me" to tell the channel about yourself on 3 lines. Ok try
a few of your own, then we'll move onto identifiers. What is an Identifier?
An identifier is a command which
<BR><reptile> about this later. So $1 would be the first parameter,
$2 the second and so on. To list all the parameters use an - after the
$1 e.g $1- would mean all parameters, $2- would mean all parameters after
parameter 1 ($1).
<BR>*** idiocy|idle has joined #bsrf
<BR><freakOVER> hey can u try sending less text?
<BR><freakOVER> What is an Identifier? An identifier is a command which
<BR><freakOVER> <reptile> about this later.
<BR><freakOVER> :(
<BR>*** idiocy|idle has quit IRC (Not enough time connected)
<BR><reptile> k ill type that aprt again
<BR><freakOVER> tnx
<BR><reptile> ]returns a value. All identifiers start with a $ character.
One of the most commonly used identifiers is $me. It returns your current
nickname. To use an identifier in an alias you just put its name and mIRC
will replace it with the applicable value when the alias is run. Identifiers
with just a number such as $1 return the parameters passed to the alias/popup.
For an alias its anything you type after the /aliasname in the window.
For a popup it depends
<BR>*** k1mus4b1 has joined #bsrf
<BR><reptile> So $1 would be the first parameter, $2 the second and
so on. To list all the parameters use an - after the $1 e.g $1- would mean
all parameters, $2- would mean all parameters after parameter 1 ($1).
<BR>*** N has joined #bsrf
<BR><reptile> Using the $me identifier $me will be replaced by your
nickname. Alias Code: /whoami echo You current nickname is $me Usage: Type
/whoami in a window to see your current nickname.
<BR><[PhaLanX]> side note: in popups, the nicklist specifically, $1
$2 etc are the selections
<BR><[PhaLanX]> therefore if the popup is:
<BR><[PhaLanX]> Happy:/me is happy and $1 too
<BR>*** k1mus4b1 has quit IRC (Quit: )
<BR><[PhaLanX]> $1 would be the first nick selected
<BR><reptile> Using the $# identifier $1- will be replaced by all parameters
from $1 onwards. Alias Code: /saythis echo You typed $1- Usage: Type /saythis
I can use identifiers! in a window to see the message.
<BR><reptile> any questions so far?
<BR>*** Mikkkeee sets mode: -m
<BR>*** N0_Nick has quit IRC (Ping timeout: 180 seconds)
<BR><freakOVER> hmm
<BR><freakOVER> no interaction yet
<BR><reptile> any questions?
<BR><SpiderMan> I think everyone is tired :)
<BR>*** N0_Nick has joined #bsrf
<BR><freakOVER> hehe
<BR><N0_Nick> hm
<BR><reptile> cmon it cant be soooo bad
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -