mIRC Home    About    Download    Register    News    Help

Print Thread
#195766 01/03/08 10:54 PM
Joined: Jan 2008
Posts: 44
J
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Jan 2008
Posts: 44
basically this command is to advertise the message like a relay bot.
Code:
 if ($1 == !advertise) {  
    if ($nick == $ial(*!*@jiig.users.quakenet.org,1).nick) || ($nick == $ial(*!*@gathermanager.alpha-networks.co.uk,1).nick) { 
      chanspam 
    }
    else { .notice $nick [Access Denied] You are Not a System Operator }
  }




Code:
on *:connect: { .timerspamchans 1 3600 spamchans }
alias -l udelad { return #Rap1d-F1re }
alias blacklist { return #help #feds #help.script #0,0 #warfinder #5on5 }
alias chanspam {
var %i = 1
while (%i <= $chan(0)) {
  if ($chan(%i) !isin $udelad) { msg $chan(%i) #ONSCREEN for 100+!  }
  inc %i
}
.timerspamchans 1 5 spamchans
}

i dont think spamchan is the right command and it does no things, its sposed to spam channels every 1 hour but does nothing, tad bit of help cheers.


#Plesh on QuaKenet
Jake Randall
Need help?
#Plesh - QuakeNet
Private Message Me Here!
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

Your timers are calling spamchans but the alias name is chanspam. Change the two times in the 2nd code to call chanspam.

RoCk #195768 01/03/08 11:14 PM
Joined: Jan 2008
Posts: 44
J
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Jan 2008
Posts: 44
Code:
if ($1 == !advertise) {  
    if ($nick == $ial(*!*@jiig.users.quakenet.org,1).nick) || ($nick == $ial(*!*@gathermanager.alpha-networks.co.uk,1).nick) { 
      chanspam 
    }


Code:
on *:connect: { .timerchanspam 1 3600 chanspam }
alias -l udelad { return #Rap1d-F1re }
alias blacklist { return #help #feds #help.script #0,0 #warfinder #5on5 }
alias chanspam {
var %i = 1
while (%i <= $chan(0)) {
  if ($chan(%i) !isin $udelad) { msg $chan(%i) #ONSCREEN for 100+!  }
  inc %i
}
.timerchanspam 1 5 chanspam
}

if you mean that i get it saying /CHANSPAM unknown command

would amsg work?


#Plesh on QuaKenet
Jake Randall
Need help?
#Plesh - QuakeNet
Private Message Me Here!
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

Sure /amsg would work, but it wouldn't check to see if each channel is blacklisted like your current /chanspam alias does.

RoCk #195770 02/03/08 12:53 AM
Joined: Jan 2008
Posts: 44
J
Ameglian cow
OP Offline
Ameglian cow
J
Joined: Jan 2008
Posts: 44
fixed thankyou

Last edited by jakerandall; 02/03/08 01:01 AM.

#Plesh on QuaKenet
Jake Randall
Need help?
#Plesh - QuakeNet
Private Message Me Here!

Link Copied to Clipboard