?? mirclecture.html
字號:
<BR><reptile> ;)
<BR>* freakOVER lays on couch...
<BR><freakOVER> :)
<BR><N0_Nick> i got dc
<BR><Mikkkeee> okay so just keep on going
<BR>* Mikkkeee will spend the week end fixing the logs
<BR>*** N0_Nick is now known as _N0_Nick-
<BR><N> www.pairc.com best mIRC scripting tutorials about :)
<BR><[PhaLanX]> yes
<BR><freakOVER> "This log has been edited for content. It has been formatted
to this screen."
<BR><Mikkkeee> lol
<BR><[PhaLanX]> pairc.com is good, i learned a great deal from there
<BR><freakOVER> :)
<BR>*** _N0_Nick- is now known as N0_Nick
<BR><[PhaLanX]> but the best place is your own mirc.hlp
<BR><N> aye
<BR>*** idiocy|idle has joined #bsrf
<BR><N> got loads in there
<BR><N> and other scripts, just download a few and read them :)
<BR><AZTEK[coding]> later guys
<BR>*** AZTEK[coding] has quit IRC (Quit: "Software is like sex: its better
when its free" -Linus Torvalds)
<BR>* reptile nods
<BR><reptile> k should i go on???or should i juzt........
<BR><Mikkkeee> go on
<BR><freakOVER> like
<BR><freakOVER> it's ur lecture
<BR><freakOVER> ur 15 minutes of fame
<BR><freakOVER> keep goin'
<BR><freakOVER> ;)
<BR><N0_Nick> well who will mail me the whole log coz i got disconnected
in b/w a couple of time
<BR><N0_Nick> yeah its good
<BR><Mikkkeee> hehe
<BR><TCL> lol, go on
<BR><N> lol
<BR><N> it will appear on bsrf site no :)
<BR><Mikkkeee> yup
<BR>*** Mikkkeee sets mode: +m
<BR><freakOVER> ya
<BR><freakOVER> a famous lecture
<BR><freakOVER> on mirc scrippin'
<BR><freakOVER> :)
<BR><Mikkkeee> lol
<BR><reptile> ok
<BR><reptile> moving on
<BR><SpiderMan> be sure to have a lot of spelling and grammar errors
so it takes Mikkkeee longer to edit :D
<BR><freakOVER> lol
<BR><freakOVER> poor Mikkkeee
<BR><reptile> :-DDD
<BR><Mikkkeee> the content will be teh same just the spelling
<BR><Mikkkeee> will be corrected
<BR><freakOVER> hehhe
<BR><[PhaLanX]> lol
<BR><freakOVER> oopss
<BR><reptile> o_O
<BR><freakOVER> danm
<BR><reptile> heh
<BR><freakOVER> bad fingers
<BR><freakOVER> lol
<BR><SpiderMan> haha make the words look really bad
<BR><[PhaLanX]> raelyl ym spelilng wlil be correctd?
<BR><SpiderMan> mess the spell checker up
<BR>*** Baek has joined #bsrf
<BR><Mikkkeee> plz no l33t talk
<BR><freakOVER> lol
<BR><freakOVER> ok ok
<BR><freakOVER> go on
<BR><reptile> now goign no ithw ym lektuer no crmi scriptgni
<BR><[PhaLanX]> raelly, lest moev on
<BR><TCL> lol
<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><SpiderMan> :)
<BR><reptile> yako
<BR><reptile> Using the $# identifiers to perform an action on someone.
$1 will be replaced by 1st parameter and $2 will be replaced by 2nd.
<BR><reptile> Alias Code: /kiss me kisses $1 right on the $2 Usage:
Type /kiss zippy lips in a window to see the message.
<BR><reptile> Using the $+ identifier to join 2 strings. $+ puts anything
before and after it together (removes the space) This is useful when you
need to join things such as $1 to an ! or something. This example makes
$2 join a ? and $1 join an !. So if $1 is "Reptile $+ !",
<BR>*** idiocy|idle has left #bsrf
<BR><reptile> the string becomes "Reptile!"
<BR><freakOVER> haha
<BR><freakOVER> who'd knew?
<BR><[PhaLanX]> side note: never, and i mean never put and identifier
and anothe char together
<BR><reptile> Alias Code: /kiss2 me kisses $1 right on the $2 $+ ! Did
you enjoy that $1 $+ ? Usage: Type /kiss2 zippy lips in a window to see
the message
<BR>*** piksel has quit IRC (Quit: )
<BR>*** NeLiX has joined #bsrf
<BR><freakOVER> :)
<BR>*** NuLLx has quit IRC (Ping timeout: 180 seconds)
<BR>*** N0_Nick has quit IRC (Ping timeout: 180 seconds)
<BR><reptile> LOL
<BR><[PhaLanX]> lol
<BR><reptile> ok try a few
<BR>* reptile is dloadin mandrake 8
<BR><reptile> over 3 gb
<BR><mezzano> few a try okay? <----- yoda ;)
<BR>*** Mikkkeee sets mode: -m
<BR><reptile> btw i used the mandrake isntall partition to resize my
fat partition and now ive lost all my mp3s
<BR><Mikkkeee> shit i wasted my saturday holding lectures
<BR><Mikkkeee> lol
<BR><reptile> in my mp3 dir
<BR>*** optimum has joined #bsrf
<BR><reptile> lol
<BR><[PhaLanX]> any questions?
<BR>* N kisses reptile right on the forhead
<BR>* [PhaLanX] feels special for being assistan lecturer
<BR><reptile> ;)
<BR>*** whoareyuo has joined #bsrf
<BR>*** {LG} has joined #bsrf
<BR><whoareyuo> hello
<BR>*** makzee has joined #BSRF
<BR><whoareyuo> it's a letter
<BR><TCL> lol
<BR><freakOVER> did the lecture end?
<BR><N> lol
<BR><reptile> freakOVER no
<BR><N> nahh
<BR><freakOVER> oh ok
<BR><freakOVER> kuz the environment is relaxed
<BR><freakOVER> that's not supposed tohappen
<BR><freakOVER> it's a lecture dammit!!
<BR><N> no chicks in here 2 kiss is there ? :)
<BR><freakOVER> :)
<BR><Mikkkeee> yah like a skewl lecture
<BR><whoareyuo> wat lecture?
<BR><reptile> nops
<BR>*** {LG} is now known as BrimStone
<BR><reptile> DAMNIT
<BR>*** makzee is now known as _makzee-
<BR>*** Timmmm has joined #bsrf
<BR><Mikkkeee> reptile continue
<BR><_makzee-> can i get the log file of today's lecture ?
<BR><Mikkkeee> are you going to do the other one
<BR>*** _makzee- is now known as makzee
<BR><reptile> Mikkkeee yeah but only if the people want me to
<BR><reptile> i can finish mirc scriptin
<BR><N> mIRC scripting
<BR><reptile> and start vb
<BR><reptile> if they want
<BR><freakOVER> yea
<BR><freakOVER> c'mon
<BR><Mikkkeee> so your done with mirc?
<BR><freakOVER> let's go
<BR><freakOVER> i want to expand my mind
<BR><freakOVER> :)
<BR><reptile> NOOOOO
<BR>*** Mikkkeee sets mode: +m
<BR><reptile> i still have a bit
<BR><reptile> lets get on with it
<BR><reptile> What is a Remote Event? A remote event is one which happens
when a certain event occurs, such as when someone joins a channel. This
is where identifiers are used a lot. Press alt + R or Tools>Remotes to
open the remote event edit window. Events are written in this format: on
1:event: Things after the : depends on the event. But at the end you use,
commands and alises.
<BR>*** _N0_Nick- has joined #bsrf
<BR>*** SySt3mShk has quit IRC (Ping timeout: 180 seconds)
<BR><[PhaLanX]> events are the hardest thing to grasp in mirc scripting
<BR><[PhaLanX]> they can create really complex scripts
<BR><reptile> like hexbot
<BR><[PhaLanX]> and, remotes are powerful enuff to generate aliases
and popups (ask later)
<BR><reptile> ;)
<BR><reptile> The join event. This triggers when someone joins a channel
you are on. $nick returns to the nick of the user who joined. $chan returns
to the channel they joined. # means the event will occur for every channel.
You can specify a specific channel such as #mIRC though. Alias Code: on
1:JOIN:#:echo $nick just came into $chan Effect: Now when someone joins
a channel, a message will be shown in the active window.
<BR><[PhaLanX]> hehe hexbot rulz
<BR>*** Baek has quit IRC (Quit: )
<BR><Mikkkeee> okay finish this one and we can hold the next lecture
tomorrow or next week
<BR>*** _N0_Nick- has quit IRC (Ping timeout: 180 seconds)
<BR><[PhaLanX]> next week, let them practice their l33t0 scripting skillz
for a few days
<BR><[PhaLanX]> =]
<BR><freakOVER> hehe
<BR><Mikkkeee> no the vb one next week
<BR><Mikkkeee> we had two today
<BR><Mikkkeee> already
<BR><[PhaLanX]> yeah
<BR><freakOVER> yea
<BR><freakOVER> my brain is hurting
<BR>*** Outlaw has quit IRC (Quit: )
<BR><SpiderMan> heh
<BR>*** rabonne has joined #bsrf
<BR><[PhaLanX]> [reptile]: keep going
<BR><freakOVER> kinda like trying to stick a ball down a straw
<BR><freakOVER> :P
<BR><Mikkkeee> reptile so finish teh mirc one
<BR><Mikkkeee> today
<BR><Mikkkeee> and vb will be next week
<BR><freakOVER> it'll give me enuff time to get a copy of VB
<BR><freakOVER> :P
<BR><reptile> :D
<BR><reptile> back
<BR><freakOVER> he was gone?!
<BR><[PhaLanX]> lol
<BR><reptile> The text event. This triggers when someone says something
on a channel you are on. $nick returns to the nick of the user who said
something. $chan returns to the channel they said it on. # means the event
will occur for every channel. You can specify a specific channel such as
#mIRC though. Alias Code: on 1:TEXT:hello *:#:msg $chan $nick $+ : $+ hi
Effect: Now when someone says "hello" at the start of the sentance it will
message the chan saying hi Ok t
<BR><[PhaLanX]> note: for a full lists of all events, check thr remotes
scripts section in mirc.hlp
<BR>*** TCL has quit IRC (Quit: Client Exiting)
<BR><reptile> Storing someones name. The $?= is an identifier which
asks the user for input. %name would be set to whatever they type in. Alias
Code: /getname set %name $?="Enter name:" Usage: type /getname
<BR><reptile> Storing someones name, then showing it. Alias Code: /getname2
{ set %name $?="Enter name:" echo Your name is: %name } Usage: type /getname2
So with what we know of variables we can: Set a variable return a variable
value Clear a variable Lets put it all in one alias
<BR><freakOVER> wow u type fast
<BR><freakOVER> ;)
<BR>*** whoareyuo has left #bsrf
<BR><reptile> tankies
<BR><reptile> Storing variable, showing it, and then unsetting it. Alias
Code: /getname3 { set %name $?="Enter name:" echo Your name is: %name unset
%name } Usage: type /getname3 Were getting to know quite a lot now, soon
we'll be making more complex aliases and remotes. Ok try a few of your
own, then we'll move onto Basic Commands. Basic Commands: What are the
basic commands used? This section is list of basic commands which you wouldnt
often use outside a script. S
<BR><[PhaLanX]> thats what variables are in mIRC
<BR><reptile> that shoudl be all
<BR><reptile> ;)
<BR>*** Mikkkeee sets mode: -m
<BR><[PhaLanX]> their syntax is: /set %varname value
<BR><Mikkkeee> so any questions
<BR><reptile> read the mirc.hlp file for anything else
<BR><reptile> ;)
<BR><[PhaLanX]> let me take over for a while
<BR><reptile> just one more thing
<BR><[PhaLanX]> have a few things to add
<BR><reptile> Using goto's The goto command tells mIRC to "jump" to
a specific point in your script (known as a label), bypassing anything
inbetween. A label looks like this: :LabelName Its useful when you want
to repeat a section of code a few times. You generally have to use an If-Then-Else
statment when using a goto. Heres a simple example, which has no real use.
Alias Code: /tgoto { goto skip echo This will never happen! :skip echo
The command above will never be
<BR><freakOVER> ahh!
<BR><reptile> np
<BR><freakOVER> too much stuff!
<BR>* freakOVER is cramming
<BR><reptile> Any questions?
<BR><reptile> The VB lecture will be next week
<BR><freakOVER> cool
<BR><freakOVER> i think i might enjoy that better
<BR><freakOVER> :)
<BR><Mikkkeee> okay so ----------END OF LECTURE-----------
<BR>Session Close: Sat Aug 04 16:33:34 2001
<BR>
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -