Hissing Worms
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Hissing Worms

Welcome all members.
 
HomeLatest imagesSearchRegisterLog in
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» IMPORTANT ANNOUNCEMENT
Beginners Guide to Scripting in mIRC EmptyMon Oct 26, 2020 6:45 pm by Darkprism

» KM / Mitsu's New site
Beginners Guide to Scripting in mIRC EmptySun Jan 05, 2014 2:56 am by Darkprism

» I'm back.
Beginners Guide to Scripting in mIRC EmptyWed Oct 09, 2013 2:54 am by Stadd

» So yeah
Beginners Guide to Scripting in mIRC EmptySun Jan 27, 2013 3:13 am by Darkprism

» Forummotion Chatbox on Every Page Guide!
Beginners Guide to Scripting in mIRC EmptyMon Jul 30, 2012 8:14 pm by Diggy

Top posters
Gr33n
Beginners Guide to Scripting in mIRC I_vote_lcapBeginners Guide to Scripting in mIRC I_voting_barBeginners Guide to Scripting in mIRC I_vote_rcap 
Mitsukaru
Beginners Guide to Scripting in mIRC I_vote_lcapBeginners Guide to Scripting in mIRC I_voting_barBeginners Guide to Scripting in mIRC I_vote_rcap 
Neverwinter XIII
Beginners Guide to Scripting in mIRC I_vote_lcapBeginners Guide to Scripting in mIRC I_voting_barBeginners Guide to Scripting in mIRC I_vote_rcap 
HaZe
Beginners Guide to Scripting in mIRC I_vote_lcapBeginners Guide to Scripting in mIRC I_voting_barBeginners Guide to Scripting in mIRC I_vote_rcap 
Zeph
Beginners Guide to Scripting in mIRC I_vote_lcapBeginners Guide to Scripting in mIRC I_voting_barBeginners Guide to Scripting in mIRC I_vote_rcap 
Scrubby
Beginners Guide to Scripting in mIRC I_vote_lcapBeginners Guide to Scripting in mIRC I_voting_barBeginners Guide to Scripting in mIRC I_vote_rcap 
Avogadro
Beginners Guide to Scripting in mIRC I_vote_lcapBeginners Guide to Scripting in mIRC I_voting_barBeginners Guide to Scripting in mIRC I_vote_rcap 
Darkprism
Beginners Guide to Scripting in mIRC I_vote_lcapBeginners Guide to Scripting in mIRC I_voting_barBeginners Guide to Scripting in mIRC I_vote_rcap 
Diggy
Beginners Guide to Scripting in mIRC I_vote_lcapBeginners Guide to Scripting in mIRC I_voting_barBeginners Guide to Scripting in mIRC I_vote_rcap 
LolICU
Beginners Guide to Scripting in mIRC I_vote_lcapBeginners Guide to Scripting in mIRC I_voting_barBeginners Guide to Scripting in mIRC I_vote_rcap 
SOTW WINNER(S)
SOTW #4 WINNER(S)

Winner: ZephyR

Partners
TheForumsNG NecroAccuracy PaidTheFastest

EWW


 

 Beginners Guide to Scripting in mIRC

Go down 
5 posters
AuthorMessage
Mitsukaru
Main Administrator
Mitsukaru


Admin '10 : Beginners Guide to Scripting in mIRC Admino10
GFX Crew '10 : Beginners Guide to Scripting in mIRC Gfxoft10
Recruiter '10 : Beginners Guide to Scripting in mIRC Recrui10
Posts : 1328
HWPoints : 1548
Join date : 2008-06-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptySun Jul 11, 2010 3:16 am

Beginners Guide to Scripting in mIRC Indexlogo

KiLLErMaN99's Beginners Guide to Scripting in mIRC

Welcome to my beginners guide to scripting in mIRC. You will learn the most basic formatting of scripting and you will get to make your own script! I hope you have a blast and learn a bunch when reading my guide. Thanks to all.


OverView
Ok. There are 2 types of script that all beginners must start out with. They are on TEXT and on INPUT. Each one works the same way but there are 2 distinctions that you must know.


Part 1: On TEXT

First off is a little explanation of what on TEXT is. You may be confused because you don't even know how to script. So what is on TEXT going to mean to you? Basically it is a
small identifier showing that whenever someone types something your script will perform whatever you say it will. So lets start with the basics to making it since this is really
difficult to explain well.


This is the basic setup for all on TEXT scripts. This setup is:

on *:TEXT:*:#: { }

Having "on" in the beginning is like saying when. So lets read the script in basic words to see if we can understand it.

on
When

*
on any window of mIRC

:TEXT:
someone says something

:*:
With any words

:#:
In any channel

{ }
Perform these commands


Now that's a little mixed up right? So lets put it in a sentence.

When someone says something with any words in any channel on any window of mIRC perform these commands.
Does that make sense now?

So lets start out with a very simple script. This will be an on TEXT script. What we want it to do is whenever someone says "hi" you want it to automatically say hi back.
So lets start out with our basic setup that I explained earlier.

on *:TEXT:*:#: { }

Now how are we going to set it so that whenever someone says hi it'll perform the commands??? Well look at the sentence above. We do this:
on *:TEXT:hi:#: { }

Another way you can put this is:

on *:TEXT:*:#: {
if ($1 == hi) { }
}

$1 is the first word in the message. So that means that $2 would be the 2nd word in the message. If you want it to be every word in the message you would use $$1-

So lets go with the first setup
on *:TEXT:hi:#: { }

We want it to say hi back correct? Lets try something with a /msg command.
on *:TEXT:hi:#: { msg $chan Hello! }

$chan makes it so that you will automatically send the message to whatever channel they say hi in. If you want it to say hi to the person who said hi you can do something
like this:

on *:TEXT:hi:#: { msg $chan Hello $nick }

Your result being:
<TheOnly1Left> Hi
<KiLLErMaN99> Hello!

Or if you used the second script:

<TheOnly1Left> Hi
<KiLLErMaN99> Hello TheOnly1Left

Congratulations! If you followed that whole thing you will be able to make an on TEXT script that will reply whenever someone says something that you specify!
You are now an official mIRC scripter Smile but it takes more than knowing this to be a good mIRC scripter. But we'll learn this stuff later since you are just now learning
how to script. Now we shall move on the the second part of scripting: on INPUT

Part 2: On INPUT

If you followed the first part of the guide like you are supposed to then you should be able to learn on INPUT very easily. On INPUT incorporates and messages sent by you and
performs the given commands. Like last time, lets start out with a the basic setup of an on INPUT script.

on *:INPUT:*: { }

Now wait! Where is the :#: at?!? Well with on INPUT scripts you don't need to have :#: at all. Because wherever you type something it will be in that channel and nowhere else!

So lets go over the sentence structure of an on INPUT script.

on
When

*
on any window of mIRC

:INPUT:
You say something

:*:
With any words

{ }
Perform these commands

Now it's also mixed up like last time. So lets put this in sentence format:
When you say something with any words on any window of mIRC perform these commands.

How much more similar can you get! You can make a script so easily like on TEXT with on INPUT. So why not start to make your very first one now? Lets go through it.

What we will do is make a script so that whenever you type !hi it will message the channel saying hello to the entire channel. If it doesn't make sense now lets just go over
it and make the script.


Now we start with out basic structure for an on INPUT script:

on *:INPUT:*: { }

We add it so that whenever you type !hi it will perform whatever you say.

on *:INPUT:!hi: { }

Another way you can put this is:

on *:INPUT:*: {
if (!hi == $1) { }
}

Lets work with the first setup as it is easier for a beginner to learn. So now that you have it all setup for the !hi command lets add the msg part of it.

on *:INPUT:!hi: { msg $chan Hello everyone in $chan }

Now wait! I just said that $chan will message the channel. So why would I have $chan at the end of the script?

Well whenever you have $chan in the script it will replace that WITH the channel that the script is being activated it. Now that was one heck of a sentence to understand. Lets
explain it with some examples.

People are talking in #Channel
You say !hi
<TheOnly1Left> So I was talking the other day...
<KiLLErMaN99> !hi
<KiLLErMaN99> Hello everyone in #Channel
<TheOnly1Left> WHOA THAT IS SO COOL!

Now people are talking in #TheForums
You say !hi
<TheOnly1Left> So I was posting the other day...
<KiLLErMaN99> !hi
<KiLLErMaN99> Hello everyone in #TheForums
<TheOnly1Left> WHOA THAT IS SO COOL!

It should make more sense now if you read it over carefully.



Congratulations! You have now learned the very basics of making on TEXT and on INPUT scripts! You should be proud of yourself now. It isn't that easy learning how to become
a scripter and it takes a lot of work too. There are many more things that you can learn but for this guide we will just stick with the basics. Thanks everyone for reading
and I hope you have a great time making those scripts!


CREDITS
TheOnly1Left: He wanted me to teach him some stuff which inspired me to make this guide. Thanks a lot!
FirstMate: I couldn't have done it without you teaching me a lot of what I know today. You where the one that got me started on scripting. Thanks Smile
Neo: You inspired me to learn more when you tell me to try and make it instead of you making it for me. That helped me a whole lot when I was learning thanks Very Happy
KiLLErMaN99: I couldn't have done it without myself of course. Some credit has to be given. THIS IS MADNESS!


~KiLLErMaN99
Back to top Go down
http://hissingworms.co.nr
Gr33n
Golden Gamer
Golden Gamer
Gr33n


Gaming Mod '10 : Beginners Guide to Scripting in mIRC Gaming10
Posts : 1513
HWPoints : 29439
Join date : 2008-06-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptySun Jul 11, 2010 3:19 am

Quite interested, but don't have time to read it ATM. I shall be your apprentice!
Back to top Go down
TheOnly1Left
•The Master•
TheOnly1Left


Retired Staff '10 : Beginners Guide to Scripting in mIRC Retire10
Posts : 490
HWPoints : 6528
Join date : 2010-07-10

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptySun Jul 11, 2010 4:15 pm

No me =[
Back to top Go down
IC3CRE4M
Earth Worm



Posts : 9
HWPoints : 75
Join date : 2010-07-11

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptySun Jul 11, 2010 4:20 pm

The hell .. you wasted your time .
Back to top Go down
Mitsukaru
Main Administrator
Mitsukaru


Admin '10 : Beginners Guide to Scripting in mIRC Admino10
GFX Crew '10 : Beginners Guide to Scripting in mIRC Gfxoft10
Recruiter '10 : Beginners Guide to Scripting in mIRC Recrui10
Posts : 1328
HWPoints : 1548
Join date : 2008-06-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptySun Jul 11, 2010 4:39 pm

IC3CRE4M wrote:
The hell .. you wasted your time .

Not really. I do a LOT of mIRC scripting and for the people that actually want to learn they can. TheOnly1Left learned very fast.
Back to top Go down
http://hissingworms.co.nr
TheOnly1Left
•The Master•
TheOnly1Left


Retired Staff '10 : Beginners Guide to Scripting in mIRC Retire10
Posts : 490
HWPoints : 6528
Join date : 2010-07-10

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptySun Jul 11, 2010 9:25 pm

I did learn some new scripts Smile
Back to top Go down
Gr33n
Golden Gamer
Golden Gamer
Gr33n


Gaming Mod '10 : Beginners Guide to Scripting in mIRC Gaming10
Posts : 1513
HWPoints : 29439
Join date : 2008-06-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptySun Jul 11, 2010 9:30 pm

I am planning on learning asap.
Back to top Go down
Mitsukaru
Main Administrator
Mitsukaru


Admin '10 : Beginners Guide to Scripting in mIRC Admino10
GFX Crew '10 : Beginners Guide to Scripting in mIRC Gfxoft10
Recruiter '10 : Beginners Guide to Scripting in mIRC Recrui10
Posts : 1328
HWPoints : 1548
Join date : 2008-06-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptySun Jul 11, 2010 10:39 pm

Well right now I'm teaching TheOnly1Left how to do things so yea.
Back to top Go down
http://hissingworms.co.nr
Gr33n
Golden Gamer
Golden Gamer
Gr33n


Gaming Mod '10 : Beginners Guide to Scripting in mIRC Gaming10
Posts : 1513
HWPoints : 29439
Join date : 2008-06-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptySun Jul 11, 2010 10:51 pm

NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO!!!!!!!!!!!!!!!!!
Back to top Go down
Gr33n
Golden Gamer
Golden Gamer
Gr33n


Gaming Mod '10 : Beginners Guide to Scripting in mIRC Gaming10
Posts : 1513
HWPoints : 29439
Join date : 2008-06-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptySun Jul 11, 2010 10:53 pm

Ok, so I understand the TEXT, haven't read INPUT, and have a single question. What kind of progran should I be scripting in?
Back to top Go down
Mitsukaru
Main Administrator
Mitsukaru


Admin '10 : Beginners Guide to Scripting in mIRC Admino10
GFX Crew '10 : Beginners Guide to Scripting in mIRC Gfxoft10
Recruiter '10 : Beginners Guide to Scripting in mIRC Recrui10
Posts : 1328
HWPoints : 1548
Join date : 2008-06-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptySun Jul 11, 2010 10:55 pm

mIRC :| Do you have teamviewer? If so I'll show you.
Back to top Go down
http://hissingworms.co.nr
Gr33n
Golden Gamer
Golden Gamer
Gr33n


Gaming Mod '10 : Beginners Guide to Scripting in mIRC Gaming10
Posts : 1513
HWPoints : 29439
Join date : 2008-06-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptySun Jul 11, 2010 10:57 pm

no, but I mean like do I have to download something or is it on my computer?
Back to top Go down
Mitsukaru
Main Administrator
Mitsukaru


Admin '10 : Beginners Guide to Scripting in mIRC Admino10
GFX Crew '10 : Beginners Guide to Scripting in mIRC Gfxoft10
Recruiter '10 : Beginners Guide to Scripting in mIRC Recrui10
Posts : 1328
HWPoints : 1548
Join date : 2008-06-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptySun Jul 11, 2010 10:58 pm

You can get a temp download for it. It's not big at all and if you get the quick version you don't even need to install. It'll be very useful.
Back to top Go down
http://hissingworms.co.nr
Gr33n
Golden Gamer
Golden Gamer
Gr33n


Gaming Mod '10 : Beginners Guide to Scripting in mIRC Gaming10
Posts : 1513
HWPoints : 29439
Join date : 2008-06-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptySun Jul 11, 2010 10:58 pm

kk. I'll look.
Back to top Go down
D3molish3R
♥ Pink ♥
D3molish3R


Posts : 338
HWPoints : 2053
Join date : 2010-07-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptyWed Jul 14, 2010 6:31 am

Great Guide! Smile
Back to top Go down
Mitsukaru
Main Administrator
Mitsukaru


Admin '10 : Beginners Guide to Scripting in mIRC Admino10
GFX Crew '10 : Beginners Guide to Scripting in mIRC Gfxoft10
Recruiter '10 : Beginners Guide to Scripting in mIRC Recrui10
Posts : 1328
HWPoints : 1548
Join date : 2008-06-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptyWed Jul 14, 2010 11:23 am

Thanks Very Happy it's always good to know that people are being helped by the stuff I make.
Back to top Go down
http://hissingworms.co.nr
Gr33n
Golden Gamer
Golden Gamer
Gr33n


Gaming Mod '10 : Beginners Guide to Scripting in mIRC Gaming10
Posts : 1513
HWPoints : 29439
Join date : 2008-06-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptyWed Jul 14, 2010 1:41 pm

When you have time Killerman, could you show me on teamviewer?
Back to top Go down
Mitsukaru
Main Administrator
Mitsukaru


Admin '10 : Beginners Guide to Scripting in mIRC Admino10
GFX Crew '10 : Beginners Guide to Scripting in mIRC Gfxoft10
Recruiter '10 : Beginners Guide to Scripting in mIRC Recrui10
Posts : 1328
HWPoints : 1548
Join date : 2008-06-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptyWed Jul 14, 2010 5:43 pm

Anytime that I'm online I can show you yes.
Back to top Go down
http://hissingworms.co.nr
Gr33n
Golden Gamer
Golden Gamer
Gr33n


Gaming Mod '10 : Beginners Guide to Scripting in mIRC Gaming10
Posts : 1513
HWPoints : 29439
Join date : 2008-06-14

Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC EmptyFri Jul 16, 2010 12:41 pm

Kthxbai
Back to top Go down
Sponsored content





Beginners Guide to Scripting in mIRC Empty
PostSubject: Re: Beginners Guide to Scripting in mIRC   Beginners Guide to Scripting in mIRC Empty

Back to top Go down
 
Beginners Guide to Scripting in mIRC
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Hissing Worms :: The Desk :: Tutorials and Guides-
Jump to:  
How to make a forum | ©phpBB | Free forum support | Report an abuse | Forumotion.com