mIRC Home    About    Download    Register    News    Help

Print Thread
Mass PM #246152 25/05/14 09:24 AM
Joined: May 2014
Posts: 2
G
GerryNk Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
G
Joined: May 2014
Posts: 2
Hello , i would like someone to give me a Mass pm script for mIRC Client . I had one once before but after sometime it didn't work and i deleted it frown . I want for my channel , because i need to send mass pm's to the guys into my channel about events etc... It is really to send to 50 people by hand messages . Please someone help me smile

Re: Mass PM [Re: GerryNk] #246156 25/05/14 02:21 PM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Code:
menu nicklist {
  Add : masspm add $1
  Remove : masspm rem $1
}

menu status,channel {
  MassPM : masspm
  Change Message : masspm set
}

alias masspm { 
  var %file masspm.ini
  if ($1 == set) { .writeini %file message # $?="Input message here." | echo 3 -a MassPM message set }
  elseif ($1 == add) { if ($readini(%file,#,$2)) halt | .writeini -n %file # $2 1 | echo 3 -a $2 added to the masspm list }
  elseif ($1 == rem) { if (!$readini(%file,#,$2)) halt | .remini %file # $2 | echo 4 -a $2 removed from the masspm list. }
  else {
    var %h $ini(%file,#,0), %msg $readini(%file,n,message,#)
    if (%msg == $null) echo 4 -a Error, couldn't read message. 
    elseif (%h == $null) echo 4 -a Error, couldn't read userlist.
    else {
      while (%h) { 
        var %user $ini(%file,#,%h)
        .msg %user %msg
        dec %h
      }
    }
  }
}
Tested and working, multi channel enabled as well.
You do everything in the menus, so just right click in the channel or on an user and you'll understand what to do


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Re: Mass PM [Re: Nillen] #246245 30/05/14 11:52 AM
Joined: May 2014
Posts: 2
G
GerryNk Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
G
Joined: May 2014
Posts: 2
it says me this MassPM message set
Error, couldn't read userlist.

Last edited by GerryNk; 30/05/14 11:55 AM.
Re: Mass PM [Re: GerryNk] #246246 30/05/14 12:54 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
Are the people oped in the channel? If thats the case you can use /omsg <message> , only the people on your channel that are oped will get the message.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
Re: Mass PM [Re: GerryNk] #246247 30/05/14 01:05 PM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
You need to right click on all the users you want to add, so you can selectively pm the ones you want.
I figured that if you want to message EVERYONE in the channel you could have just left a channel message.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net