With this script you can select up to 10 people (otherwise you'll flood) to send a message to.
You can choose to send the message by /msg, /notice, both or both + a highlight in the channel.
Also check out my DICE-game: http://www.hawkee.com/snippet/5690/
Enjoy!
;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;;;;;;
;:;:[ MULTIPLE ];:[ made by ]:;:;[ select up to 10 (flood) people ];:;:
;:;:[ MESSAGE ];:[ koekbliq ]:;:;[ to send a msg, notice or both ];:;:
;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;:;;;;;;
menu channel,nicklist {
-
[multiMSG]: multiMSG
-
}
alias multiMSG {
[multiMSG]: {
set %msg1 $?="Message:"
if (%msg1 == $null) {
echo (multiMSG) ERROR: please type a message.
unset %msg1
halt
}
else {
var %nbr = $snick($chan,0)
var %i = 1
while (%i <= %nbr) {
var %nicks = %nicks $+ $snick($chan,%i) $+ $chr(44)
inc %i
}
set %method $?="Type 1 for /msg, 2 for /notice, 3 for both & 4 for both + highlight in channel:"
if (%method == 1) && (%nicks != $null) {
msg %nicks %msg1 (multiMSG)
echo | echo (multiMSG) Done, " $+ %msg1 $+ " sent to: %nicks | echo
unset %msg1 %nicks %method
}
elseif (%method == 2) && (%nicks != $null) {
notice %nicks %msg1 (multiMSG)
echo | echo (multiMSG) Done, " $+ %msg1 $+ " sent to: %nicks | echo
unset %msg1 %nicks %method
}
elseif (%method == 3) && (%nicks != $null) {
msg %nicks %msg1 (multiMSG)
notice %nicks %msg1 (multiMSG)
echo | echo (multiMSG) Done, " $+ %msg1 $+ " sent to: %nicks | echo
unset %msg1 %nicks %method
}
elseif (%method == 4) && (%nicks != $null) {
msg %nicks %msg1 (multiMSG)
notice %nicks %msg1 (multiMSG)
msg $active %nicks (multiMSG)
echo | echo (multiMSG) Done, " $+ %msg1 $+ " sent to: %nicks | echo
unset %msg1 %nicks %method
}
elseif (%nicks == $null) {
unset %msg1 %method
echo (multiMSG) ERROR: select someone from the nicklist.
halt
}
else {
unset %msg1 %nicks
echo (multiMSG) ERROR: type 1 for /msg, 2 for /notice, 3 for both & 4 for both + highlight in channel.
halt
}
}
}
}