mIRC Home    About    Download    Register    News    Help

Print Thread
#108847 22/01/05 10:43 PM
Joined: Jan 2005
Posts: 3
G
Self-satisified door
OP Offline
Self-satisified door
G
Joined: Jan 2005
Posts: 3
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!

#108848 22/01/05 10:47 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Errr, be more specific, do you mean the number of times you've been pm'd?

#108849 22/01/05 10:50 PM
Joined: Jan 2005
Posts: 3
G
Self-satisified door
OP Offline
Self-satisified door
G
Joined: Jan 2005
Posts: 3
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.

#108850 22/01/05 10:56 PM
Joined: Jan 2005
Posts: 3
U
Self-satisified door
Offline
Self-satisified door
U
Joined: Jan 2005
Posts: 3
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.

#108851 22/01/05 11:10 PM
Joined: Jan 2005
Posts: 3
G
Self-satisified door
OP Offline
Self-satisified door
G
Joined: Jan 2005
Posts: 3
A lot of people, at least in my channels, have one. Anyone have a solution?

#108852 22/01/05 11:20 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
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 
  }
}

#108853 23/01/05 02:15 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
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?)

Last edited by DaveC; 23/01/05 02:20 AM.

Link Copied to Clipboard