Lost Q bot?

By LikWydd on Oct 10, 2005

For those going for Q bot in their channel. this is a automatic warning code that will message all channels letting people know that the users in your channel has fellen and need them to join

on 1:PART:#simplistic: { 
  set %users $nick($active,0)
  if (%users < 53) {
    amsg 4,1 USERS HAS FALLEN BELOW 53 IN7 $chan 15||4 GOING FOR 7Q4 AND NEED YOUR SUPPORT  
  }
}

Comments

Sign in to comment.
Noutrious   -  Jul 31, 2006

anyway,
set %users $nick($active,0)
if (%users < 53) {
could be replaced with
var %users = $nick($active,0)
if (%users < 53) {
the variable isn`t used later, so no need to set it.

 Respond  
QuickStep   -  Oct 12, 2005

no this snippet is for requesting qbot, and you need an x amount of people for that, once q is in your channel it wont leave anymor, so this snippet has very limited use

 Respond  
anthalus   -  Oct 12, 2005

Shouldn\'t it be just:

if ($nick(#,0) < 53) {
msg Q join #
}

?

 Respond  
LikWydd   -  Oct 11, 2005

kk thanx daemon. i only started scripting bout 2 weeks ago and this is my 1st port. thnx for ur help

 Respond  
xDaeMoN   -  Oct 10, 2005

You don\'t have to set a variable, you can just do it like this

if ($nick(#,0) < 53) {

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.