Saraid - sajoin n times.

By NIGathan on Aug 20, 2008

/saraid is for IRCops to sajoin someone to n channels.
Use: /saraid [-a] [channel]
The []'s are not necessary but if you call the "a" switch You will need to include a channel prefix.
When specifying the channel do not include the #.

Example:
/saraid nick 30
This will sajoin nick to all channels from #1 to #30

/saraid -a nick faggot 300
This will sajoin nick to all channels from #faggot1 to #faggot300

Installation:
Copy to remote (alt+r), save and/or click ok.

alias saraid {
  if ($1 == help) {
    linesep
    echo -a /saraid is for IRCops to sajoin someone to n channels.
    echo -a Use: /saraid [-a] <nick> [channel] <n>
    echo -a The bold is not necessary but if you call the "a" switch You will need to include a channel prefix.
    echo -a When specifying the channel do not include the $chr(35) $+ .
    linesep
    halt
  }
  set %s 1
  if ($left($1,1) == -) {
    if ($mid($1,2-) == a) {
      if (($3) && ($4 isnum)) {
        :one
        set %chan $chr(35) $+ $3 $+ %s
        sajoin $2 %chan
        if (%s < $4) { inc %s | goto one }
      }
      else { linesep | echo -a * /saraid: Invalid nick or sajoins | linesep }
    }
    else { linesep | echo -a * /saraid: Invalid switches: $1 | linesep }
    halt
  }
  else {
    if (($1) && ($2 isnum)) {
      :two
      set %chan $chr(35) $+ %s
      sajoin $1 %chan
      if (%s < $2) { inc %s | goto two }
    }
    else { linesep | echo -a * /saraid: Invalid nick or sajoins | linesep }
  }
}

Comments

Sign in to comment.
athena80   -  Mar 01, 2012

i want one that kills people

 Respond  
NIGathan   -  Aug 08, 2009

lol @ people still commenting on this fail script..

If youre interested, heres an update I wrote ages ago:

alias saraid {
  var %x $3, %y $1
  tokenize 32 $regsubex($str(-,$2),/(.)/g,$iif(%x,$v1,$chr(35)) $+ \n $+ $chr(32))
  .raw sajoin %y $*
}
 Respond  
Spanky   -  Jul 28, 2009

Lol wtf sauce i rated this 4 x.x I Suck ><
changed rating >
>

 Respond  
Paul_1337noob   -  Aug 21, 2008

lol thats pwnsive

 Respond  
NIGathan   -  Aug 21, 2008

Meh, I wrote it in about 4 minutes. It doesnt really matter.

 Respond  
Soulkeeper   -  Aug 21, 2008

Yes.

I've done it myself in about 4 lines. >:|

 Respond  
NIGathan   -  Aug 21, 2008

Soulkeeper: Im sure you've seen scripts like this but can they sajoin them to a specific channel?

 Respond  
Spanky   -  Aug 21, 2008

rating four

 Respond  
Soulkeeper   -  Aug 21, 2008

Seen it too many times. 3/10

 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.