mIRC Home    About    Download    Register    News    Help

Print Thread
#124180 03/07/05 07:07 AM
Joined: Apr 2004
Posts: 218
P
Fjord artisan
OP Offline
Fjord artisan
P
Joined: Apr 2004
Posts: 218
We have /amsg, why not /apm? ;O Send a message to all private message windows open. :|


Code:
apm { 
  var %x = 1
  while (%x <= $query(0)) { msg $query(%x) $1- |  inc %x  }
}


Live to Dream & Dream for Life
#124181 03/07/05 08:06 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
basicly becuase its as simple as that, or this...

apm { var %i = 1 | while ($query(%i)) { msg $v1 $1- | inc %i } }


Or you could even do this...

alias apm { var %i = 1 | while ($query(%i)) { msg $replace($v1 $query($calc(%i + 1)) $query($calc(%i + 2)) $query($calc(%i + 3)) $query($calc(%i + 4)) $query($calc(%i + 5)) $query($calc(%i + 6)) $query($calc(%i + 7)) $query($calc(%i + 8)) $query($calc(%i + 9)) $query($calc(%i + 10)) $query($calc(%i + 11)) $query($calc(%i + 12)) $query($calc(%i + 13)) $query($calc(%i + 14)) $query($calc(%i + 15)),$chr(32),$chr(44)) $1- | inc %i 16 } }

* I dont know the max number of msg recivers you can have, it might just be a combination of recievers and message cant be over a certian length I dont know, but that sends to up to 16 querys at a time

#124182 03/07/05 02:14 PM
Joined: Feb 2005
Posts: 681
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Feb 2005
Posts: 681
/help /qmsg

#124183 07/07/05 01:48 AM
Joined: Jul 2005
Posts: 15
B
Pikka bird
Offline
Pikka bird
B
Joined: Jul 2005
Posts: 15
Legal sua idéia... Eps, in English = Like this idea


Link Copied to Clipboard