mIRC Home    About    Download    Register    News    Help

Print Thread
#108870 23/01/05 10:08 AM
Joined: Jan 2005
Posts: 16
A
Pikka bird
OP Offline
Pikka bird
A
Joined: Jan 2005
Posts: 16
Is it possible to multi invite ppl into a channel ?

I want something like

/invitefriends /invite NICK1 NICK2 #chan

I can not seem to figure it out.

ty

#108871 23/01/05 10:36 AM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Ok well,

I'm going to assume that you only want to invite your friends, and not invite random people to join your channel. Massinviting is bad, and so is spamming your channel.

That aside, you could use this small snippet:

Usage: /minvite <#channel> <nick1 nick2 nick3...>

Code:
alias minvite {
  if $1 ischan {
    tokenize 32 $$2-
    invite $* $v1 
  }
}

Snippet meant for mIRC 6.16, lower versions should replace $v1 with $ifmatch.


Gone.
#108872 23/01/05 10:49 AM
Joined: Jan 2005
Posts: 16
A
Pikka bird
OP Offline
Pikka bird
A
Joined: Jan 2005
Posts: 16
Thanks for the swift response, I am fairly new to mIRC.

What I wanted to avoid was typing all the nick's in everytime I needed to get all my friends in the same place. This is why I wanted to use an alias to run it.

Could you possibly take pity on me and give me a fairly robust soloution that requires little or no effort on my part, with regards to implementing this.

Sorry to be a pain but i am trying hard to learn.

Cheers smile


edited: spelling and added a line.

Last edited by Angrycat; 23/01/05 10:57 AM.
#108873 23/01/05 10:57 AM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
I'm sorry but I rather not,

all it takes is writing a couple of nicks, I see where this is going: you'll probably want to invite a whole channel, or the nicks you selected in the nicklist.

Someone else will have to help you, sorry.


Gone.
#108874 23/01/05 11:07 AM
Joined: Jan 2005
Posts: 16
A
Pikka bird
OP Offline
Pikka bird
A
Joined: Jan 2005
Posts: 16
No please dont misunderstand me.

My situation is I am a MMPORPG player and we use irc2.peacefulhaven.net for all of our channels. Within our game we have multiple channels and the purpose of this script is to invite a FIXED friends list (i.e listed in the alias) into a seperate channel for meetings and such.

I don't want a wildcard invite, or random people - I just don't want to have to invite people individually or go chase them down in their respective channels.

Basically I have a list of 10 or so people that I constantly invite at the same time, and want to automate this for speed.

Hope this clears things up.

#108875 23/01/05 11:14 AM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Well you can add your fixed friend list to a variable like %friends:

//set %friends1 john jane jack jake jonathan joanne judy jill jamie joshua jason

//set %friends2 chris christine corey casey clark

These are global variables that stays unless you delete it, so you do:

//minvite #channel %friends1

or %friends2

or whatever fixed list of friends.

These variables can be seen in the variables list when you open the Scripts Editor and go to tab "variables" (alt+r->variables)

Greets


Gone.
#108876 24/01/05 05:20 PM
Joined: Jan 2005
Posts: 16
A
Pikka bird
OP Offline
Pikka bird
A
Joined: Jan 2005
Posts: 16
Thanks grin


Link Copied to Clipboard