mIRC Homepage
Posted By: golfer_88 Automatic Response - 22/01/05 10:43 PM
Does anyone have a script that will simply say "You are number # on my pm reply list.", etc. when someone sends an initial private message? Thanks!
Posted By: SladeKraven Re: Automatic Response - 22/01/05 10:47 PM
Errr, be more specific, do you mean the number of times you've been pm'd?
Posted By: golfer_88 Re: Automatic Response - 22/01/05 10:50 PM
What I want is for the script to simply automessage back, to anyone who /msg's me, a message. The specific message I want in this case is:

"You are currently number # on my PM reply list."

Of course, # is replaced by the number of currently pending pm's that I have coming in.
Posted By: userloggedin Re: Automatic Response - 22/01/05 10:56 PM
He wants all privates to be queued b4 he replies i think.
Sorry dude, dunno the solution,just wanted to contribute to make things a bit clearer.
Posted By: golfer_88 Re: Automatic Response - 22/01/05 11:10 PM
A lot of people, at least in my channels, have one. Anyone have a solution?
Posted By: SladeKraven Re: Automatic Response - 22/01/05 11:20 PM
Ok, the only thing I can suggest which is most probably wrong. I'm quite dense at night, infact I'm going to bed any minute now.

Try this:

Code:
on *:Open:?:*: {
  pm $nick
  if ($read(pmqueue.txt,w,$nick)) { 
    msg $nick You are currently number $readn on my PM reply list.
  }
}

alias pm {
  if ($read(pmqueue.txt,w,$1)) { 
    return
  }
  else {
    write pmqueue.txt $1 
  }
}
Posted By: DaveC Re: Automatic Response - 23/01/05 02:15 AM
on *:OPEN:?:*: { msg $nick You are number $query(0) on my pm reply list. }

[edit]
Quote:
Of course, # is replaced by the number of currently pending pm's that I have coming in.


The above is close, it tells the user what pm window number they are, it cant take into account other pm windows you migth open yourself as it cant tell the difference between no pending and pending ones, (you could do that in scripts but then whats a non pending one, one u have seen?, one u have answered?, one u have finished with?)
© mIRC Discussion Forums