/*
Sendraw nick randomiser by SHAGGSTaRR
Usage:
/set %sendrand_network network-you\'re-an-oper-on
/set %sendrand_channel #logged-channel
/set %sendrand_status 1
*/
on 1:load:{
:begin
var %tmp $?!=\" $network $active - Run initial setup?\"
if (%tmp == $true) {
set %sendrand_network $network
set %sendrand_channel $active
set %sendrand_status 0
}
elseif (%tmp == $false) {
echo -a //set $chr(37) $+ sendrand_network $network
echo -a //set $chr(37) $+ sendrand_channel $active
echo -a //set $chr(37) $+ sendrand_status 0
}
else goto begin
}
alias puppet { sendraw $active :: $+ $1 PRIVMSG $active $2- }
on 1:input:#:{
if (($network == %sendrand_network) && (%sendrand_status > 0)) {
if (($active == %sendrand_channel) && ($left($1,1) != /)) {
puppet $nick($chan, $r(1,$nick($chan,0))) $1-
;Measure how many lines have been spoken with the script:
;inc %sendrand_status
halt
}
;else breakdance
}
}
I need help with this. It uses /who to find users with the selected hostmask ending. It's a modded version of a script a friend gave me. I want the /who replys in the status window (Not visable at all would be best, but only for this script, I need to be able to see /who replys any other time, and the echo of who has the host ending in the active window. feedback pleae.)