mIRC Home    About    Download    Register    News    Help

Print Thread
#205261 18/10/08 04:53 AM
Joined: Oct 2008
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Oct 2008
Posts: 19
Hello..

Over the last few months i have been getting use to using mIRC.

I was wondering.. Can anyone tell me how people get this different scripts.. Like the slap one, I am sick of read I have slapped someone with a trout... yawn...LOL''

Is there anyway I can change it or add a new one or something.

Takes to long to use the /me command

Anyways.. I am using mIRC 6.32

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
A easy thing to do, ether you can search for it, one site that you maybe want to look at: here

or you can add them your self. Alt + R in mirc open up the script editor, use the tab popups, there go to view nick list, and add what you want there.

My slap:{ me slaps $1 around with a smelly fish }

$1 return the nick you highlighted in the nick list, or you can do:

My next slap:{ me slaps $1 around a bit with $?="What do you slap $1 with?" }

hope this help you a bit on your way smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #205284 19/10/08 12:15 AM
Joined: Oct 2008
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Oct 2008
Posts: 19
Hello.. Thanks for your reply...

I am not quite sure how to add it
do I just put this
me slaps $1 around with a smelly fish

do i need a /

and would I just right click the name and slap?

Sorry for the questions.

and what does this one do
me slaps $1 around a bit with $?="What do you slap $1 with?"

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
You need to right click yes. I make you one example.

Name of the slap:{ me slaps $1 around a bit with this example text. }

That goes in to your popup nick list, place it where you like in there. If you done it right the text "Name of the slap" should appear in the nick list, and you should be able to slap someone with the text

slaps russkris22 around a bit with this example text.

and the / aren't needed in the popups/remotes/aliases .

This make it possible for you to type in what you slap with on the fly. But you need to name the slap in the popups

Custom:{ me slaps $1 around a bit with $?="What do you slap $1 with?" }


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #205322 19/10/08 10:33 PM
Joined: Oct 2008
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Oct 2008
Posts: 19
OK.. Looks like I am a idiot..
But this is what I have done and it isn't in the nick list right click

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
that looks like the status windows popup, you should look at View, at the top of the editor, then browse down to Nick list instead smile


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #205333 20/10/08 12:44 PM
Joined: Sep 2008
Posts: 2
N
Bowl of petunias
Offline
Bowl of petunias
N
Joined: Sep 2008
Posts: 2
try to look mirc editor > popups > nick list
i'm using that:

-
Slap!:/me slaps $$1 around a bit with a large trout
UnixManual:/me slaps $$1 around with 50lb Unix Manual

cool

nsohbet #205367 21/10/08 02:47 AM
Joined: Oct 2008
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Oct 2008
Posts: 19
I see now..Awesome....

So can I add colour and images? you know small smileys etc

EDIT: Also, whats the difference between 1 dollar sign{$) and 2 dollar signs($)

Last edited by russkris22; 21/10/08 02:48 AM.
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Colours, limited to the 16 colours as displayed using Alt+K can be used, but images, to my knowledge, can not. Therefore smileys, such as smile can't be used, but a text similar smilie, such as (-: can

The difference between $ and $$ is that with $1 it's possible for the script to run even though information from $1 might not be available. Using the $$ forces mIRC to ensure that the information is available, otherwise the code doesn't run.

Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
ut oh, and another scripter is born...

cool


billythekid
Joined: Oct 2008
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Oct 2008
Posts: 19
Wicked.. Thanks..

Umm I am connected to OGameNet.

How do I get another channel that I can t find, all the info I have is
cruncher-junkies on IRC @ dalnet.

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
You have to connect to the DalNet network first.
If you want to maintain your current connection, type /server -m irc.dalnet.com
Aftter connecting to DalNet type /list to get a list of channels available, or type /j <channel name> if you already know it.

RusselB #205421 22/10/08 09:34 PM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Originally Posted By: RusselB
but images, to my knowledge, can not.

Yes you can, use a alias, then call it and replace it with the icon you want to see, but it's limited for you, no one else in the channel are able to see it..
alias smile {
return bla bla bla
}

and so on. seen it in other scripts, but i think it just looks messy, if i want that type of smileys, then i use msn whistle


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
from the help file:

The double $$ means that this command will only be executed if a parameter is specified. If you specify only one parameter in the above command it will not be executed. You can also do $$?1 or $?1 which means try to fill this value with parameter one if it exists. If parameter one doesn't exist, ask for it. In the first case the parameter is necessary for the command to be executed, in the second case it isn't.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
sparta #205525 24/10/08 11:35 PM
Joined: Oct 2008
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Oct 2008
Posts: 19
Wicked... OK.. I got to the channel.
OK. something wierd happens..
I type this in
/server -m irc.dalnet.com

and it connects to the dalnet.com
but then mIRC proceeds to open the same channels I have open on ogamenet.
and I am the only on there...Hmmm

OK so I have found the channel I was trying to access, and I forgot the #

Last edited by russkris22; 24/10/08 11:40 PM.
Joined: Jul 2006
Posts: 4,144
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,144
Quote:
but then mIRC proceeds to open the same channels I have open on ogamenet.
Go to mirc option, type alt + o > IRC and uncheck rejoin channel on connect


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #205532 25/10/08 03:34 AM
Joined: Oct 2008
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Oct 2008
Posts: 19
I tried that and the result is the same.. whatever channels I have open on the OGameNET server.. When I join the dalnet server, it automatically creates exactly the same channels I have open on OGameNET

Joined: Jun 2003
Posts: 994
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
It sounds like you have those channels in your favorites, and have them as join on connect, but do not have a network selected.

If this is true, in favorites, simply click edit, click Add (under network) and add ogamenet.


I refuse to engage in a battle of wits with an unarmed person. wink
Joined: Oct 2008
Posts: 19
Pikka bird
OP Offline
Pikka bird
Joined: Oct 2008
Posts: 19
I dont know whats going on.. I have given up.. I just close them...

So what do I need to do to add that server and channel open when I open mIRC

Joined: Nov 2008
Posts: 4
T
Self-satisified door
Offline
Self-satisified door
T
Joined: Nov 2008
Posts: 4
You could use an on *:Start: { script, which will b executed when you run mIRC.
Add the following script into your remotes (alt + r):

Code:
on *:start: { server irc.dalnet.com -j #cruncher-junkies }


That means that when mIRC loads, The command /server irc.dalnet.com -j #cruncher-junkies will be performed, and you will connect to the server and join the channel.


Link Copied to Clipboard