home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
napalm.napnet.hu
/
2015-02-12.napalm.napnet.hu.tar
/
napalm.napnet.hu
/
programok
/
kommunikacio
/
mpp700.exe
/
massmsg.smarticq-plugin.mrc
< prev
next >
Wrap
Text File
|
2003-04-04
|
2KB
|
71 lines
;name ICQ MASS MESSAGER!@#.
;version 5.1 LIMITED GOLD EDITION
;author A0L Curpuration Ltd.
;email billgates@a0l.c0m
alias _icq.massmsg {
if ($window(@icq.mass)) { window -a @icq.mass | return }
window -zel15k0 @icq.mass @icq.mass $iif($version > 6.02,dat\flower.ico)
dll $_icq.dllf ICQ_Titlebar $window(@icq.mass).hwnd ICQ MASS MESSAGER!@#. C0OPYLEFt (L) 1993 A0L Curpuration Ltd.
!echo @icq.mass ! mass messager console initiated.
!echo @icq.mass ! getting your contacts..
var %c = 1
while (%c <= $line(@smarticq-group,0,1)) {
!aline -l @icq.mass $+ $gettok($line(@smarticq-group,%c,1),2,1) $+ @ $+ $gettok($line(@smarticq-group,%c,1),3,1)
inc %c
}
!echo @icq.mass ! $line(@smarticq-group,0,1) contacts found.
!echo @icq.mass ! type !help for help.
}
on *:input:@icq.mass:{
if ($1 == !help) {
!echo @icq.mass help select the contacts, in the sidebox list, that you wish to send a message to.
!echo @icq.mass help and than just enter your message in the editbox and press [enter].
halt
}
if ($_icq.status == offline) {
!echo @icq.mass ! can't send because you're offline!
halt
}
var %s = $sline(@icq.mass,0)
var %delay = $int($calc(%s /4))
!echo @icq.mass msg $1-
!echo @icq.mass ! sending to %s contacts..
!echo @icq.mass ! it will take $duration($calc(%s * %delay))
_icq.massmsg.doit 1 %delay $1-
halt
}
alias _icq.massmsg.doit {
var %c = $1, %delay = $2
if (%c > $sline(@icq.mass,0)) { !echo @icq.mass ! finished! | return }
_icq.msg $gettok($sline(@icq.mass,%c),-1,64) $3-
!echo @icq.mass ! sending to $strip($sline(@icq.mass,%c))
inc %c
.timer_icq.massmsg 1 %delay _icq.massmsg.doit %c %delay $3-
}
on *:close:@icq.mass:{
.timer_icq.massmsg off
}
on *:signal:smarticq.menu:{
if ($2 == on) { .enable #_icq.massmsgmenu }
if ($2 == off) { .disable #_icq.massmsgmenu }
}
#_icq.massmsgmenu off
menu @smarticq {
Mass Messager:_icq.massmsg
}
#_icq.massmsgmenu end