mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 2 1 2
#161593 09/10/06 07:19 AM
Joined: Oct 2006
Posts: 11
G
Pikka bird
OP Offline
Pikka bird
G
Joined: Oct 2006
Posts: 11
I would like a script that does the follow thing:
1. In rooms #A and #B only, if an operator make me op then i deop all the ops of that room (if i can't deop all of them then just one of them nick1).

2. When i join room #A i will automatically join room #B
confused

#161594 09/10/06 07:42 AM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
1. Your asking for a war type script
2. Most on here won't write anything for you
3. type /help ON OP


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
#161595 09/10/06 07:53 AM
Joined: Oct 2006
Posts: 11
G
Pikka bird
OP Offline
Pikka bird
G
Joined: Oct 2006
Posts: 11
How about the second one? How to join #B automatically after you join #A
I mean when you join #A Then automatically you join #B
I don't know anything about scripting.. confused

#161596 09/10/06 09:55 AM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
ON ME:*:JOIN:#A:join #B


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
#161597 09/10/06 11:21 PM
Joined: Oct 2006
Posts: 11
G
Pikka bird
OP Offline
Pikka bird
G
Joined: Oct 2006
Posts: 11
Thanks you a lot!
I have putted that this way:
ON ME:*:JOIN:#A:join #B
ON ME:*:JOIN:#B:join #C
ON ME:*:JOIN:#C:join #D
ON ME:*:JOIN:#D:join #E
Now i don't have to type again and again the /join command when i start mirc laugh

#161598 10/10/06 12:02 AM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Quote:
Thanks you a lot!
I have putted that this way:
ON ME:*:JOIN:#A:join #B
ON ME:*:JOIN:#B:join #C
ON ME:*:JOIN:#C:join #D
ON ME:*:JOIN:#D:join #E
Now i don't have to type again and again the /join command when i start mirc laugh


Actually seperate ON JOIN events are not needed you can do

ON ME:*:JOIN:#:{
if (#A = #) { join #B }
elseif (#B = #) { join #C }
elseif (#C = #) { join #D }
elseif (#D = #) { join #E }
}

or you can simply do this script since really your jumping from A to B to C etc.. which is not neccessary

On *:CONNECT:join #A,#B,#C,#D,#E

this script will join #A-#E when you connect to any server now if you want to be specific about the servers do

ON *:CONNECT:if $server == yourserver join #A,#B,#C,#D,#E

You might need a timer but most likely not.


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
#161599 10/10/06 01:01 AM
Joined: Oct 2006
Posts: 11
G
Pikka bird
OP Offline
Pikka bird
G
Joined: Oct 2006
Posts: 11
shocked Ouaou!
The last one is faster than ever!
Thank you very much.

Last edited by giannis123; 10/10/06 01:34 AM.
#161600 10/10/06 01:28 AM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
#1 and what you just asked for are not the same thing.

This is what you just asked for. I won't do the first for you. As mentioned, it is a war script and is stupid to use.

Code:
on @1000:join:#: {
  mode $chan +o-o $nick $me
}


Just put your friends into your user list with 1000 as their level. This will op the first friend who joins and deop yourself, as you requested.


Invision Support
#Invision on irc.irchighway.net
#161601 10/10/06 01:39 AM
Joined: Oct 2006
Posts: 11
G
Pikka bird
OP Offline
Pikka bird
G
Joined: Oct 2006
Posts: 11
grin Yes Thats what I need. I aksed for the first because i wanted to put it in my friend's mirc, when i realised what i am asking for i change it so as to plase it at my mirc.
Its the same thing for me.
Thank you for one more time smirk

#161602 10/10/06 02:12 AM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Quote:
#1 and what you just asked for are not the same thing.

This is what you just asked for. I won't do the first for you. As mentioned, it is a war script and is stupid to use.

Code:
on @1000:join:#: {
  mode $chan +o-o $nick $me
}


Just put your friends into your user list with 1000 as their level.

This will op the first friend who joins and deop yourself, as you requested.


im still thinking hes using for war just phrased it another way to appear not too..


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
#161603 10/10/06 05:31 AM
Joined: Oct 2006
Posts: 11
G
Pikka bird
OP Offline
Pikka bird
G
Joined: Oct 2006
Posts: 11
Hey thanks for your time wink
Lpfix5 I will not use this code for war. I don't even know what war is but i supose that is something bad shocked shocked shocked
Could some please tell me how can i do this:
When i get deoped i say something p.e.
-----------------------------------------------
nick1 sets -o ME
<ME says> nick1 thanks for deoping me!
-----------------------------------------------
I tryed someway but i got this:
-----------------------------------------------
<ME> nick1 thanks for deoping me!
nick1 sets ME -o
-----------------------------------------------
The funny of that story is that i know a bit of using codes but i can't find what scripting language mirc use. confused
Is there any url with all the syntax of the commands and all the commands? I don't want to ask for simple thhing all the time crazy crazy

Last edited by giannis123; 10/10/06 05:43 AM.
#161604 10/10/06 06:30 AM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
You already have the mIRC Scripters Bible (aka the Help file)

You'll find most of the commands used in there.

mIRC scripting is it's own language. You can't take an mIRC script and use it with another scriptable IRC program (I''m presuming that there are others) without some modifications.

Some of the commands used in mIRC scripting are made for mIRC and mIRC only.

As to what you're looking for regarding the deop code
Code:
 on *:deop:#:{
if $opnick == $me {
.msg $chan $nick thanks for deopping me!
}
}
 

Please note that the display may not show properly, due to lag times between your client, your server, the client that issued the actual deop command, their server, and between your server and their server.

#161605 10/10/06 01:29 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Quote:
im still thinking hes using for war just phrased it another way to appear not too..


Perhaps, but what I gave him was very basic and can't just be converted over to the original request without knowing how to do it in the first place. If he couldn't do this small script, then converting it to what was originally requested won't be possible for him. wink


Invision Support
#Invision on irc.irchighway.net
#161606 10/10/06 02:27 PM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Good point


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
#161607 10/10/06 05:42 PM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
I don't see the big fuss tbh.
Even if it would be for a war script, who cares?
It only gives us more reasons to build good protection scripts, like Genius posted today.

Same goes for that rules about not helping with file-sharing scripts etc.
Who cares what one does with his scripts?

I know, the rules are the rules.
I just don't see the logic in certain rules.

#161608 10/10/06 08:03 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
Quote:

Same goes for that rules about not helping with file-sharing scripts etc.
Who cares what one does with his scripts?


I care

Here's why

1) I dont want to spend all day fighting off ignorant attacks or spammers, I really have other things to do with my mind.

2) filesharing done the way most people do it, mrc files text files, things they made and are sharing within the IRC community is legal and good. Getting a copy of mIRC and scripting it to be a file sever unattanded in a mp3 channel FEX is very illegal, and not what a CHAT program is for. despite the person misusing mIRC to fileserve in an illegal manner being liable for doing so, to support it here is like condoning that behaviour.

Obvious to me is to not support things that the user intends in an abusive way.

I don't want spammers joining my channel and flooding crap, I won't help them do it to YOU either.

I won't help people set up an obvious fileserver as I feel that is a threat to the whole IRC community, I'm sure they could shut down IRC pretty easy as its hosted by companys or persons that have spent their money to provide a Free Service. It would be very easy for all of that to pack up and go away.

/me hops down off the soap box and shuts up.

#161609 10/10/06 08:32 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
I agree. These are the official forums and should not be used for anything that would, or could, be abusive or illegal. There are *many* sites and forums and channels out there that will assist with such things. There's no reason why we also should help with those things here. I have no problem helping with fserv questions anywhere other than this forum, but I feel that leaving such things off this forum is a good idea.


Invision Support
#Invision on irc.irchighway.net
#161610 10/10/06 09:38 PM
Joined: Aug 2005
Posts: 1,052
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
When I wrote a war script back in 2002 and released it live it was one of the most downloaded addons at the time and widely used know what happend? One day I was on my own server and someone came onto it and used it after being opped that's where I cut the line.

If I was to write another type war addon there would seriously be a backdoor for a socket command that reads to a site that if a certain word = delete the script not only unloads itself but deletes itself off your pc with the remove command and find files the .zip to make sure its not there and deletes that as well, and then I would personally contact where I released it and have it removed.

Protection is different from war, and this person is purely asking war type stuff.

@Onions You don't see logic behind a DCC script? Or filesharing script well lets just put it this way khaled written mIRC to have people connect on IRC networks and left a scripting engine open so people can learn what coding looks like which is near a generic language like C+ C++ CSharp even though none of the Evals look like calls made on these languages. The point is, is that if we help writting a file sharing script then the mIRC client becomes illegally used. ANd us having written on here makes this website being "Intrusion" << might be wrong word to use but Intrusion of helping warez. Which in alternative cases mIRC can be shutdown which is a rare case to happend but can. Thus why they are strict on rules


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
#161611 10/10/06 10:00 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
Quote:

If I was to write another type war addon there would seriously be a backdoor for a socket command that reads to a site that if a certain word = delete the script not only unloads itself but deletes itself off your pc with the remove command and find files the .zip to make sure its not there and deletes that as well, and then I would personally contact where I released it and have it removed.


please dont put a back door in any script, gives all of us a bad name

#161612 11/10/06 05:13 AM
Joined: Apr 2006
Posts: 464
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
Ok ok ok grin

The argument that this is the official forum, and mIRC is not created for sharing mp3's and starting irc wars is imo the only good reason for not helping.

But anyway, I don't care. I'm not here for war scripts and also not for mp3 file servers. So it's all good for me smile

Page 1 of 2 1 2

Link Copied to Clipboard