mass sajoin ircd

By H3xable on Dec 14, 2010

All it does if your an ircoper in Unrealircd is mass join someone to how many room you want :D If you think i should change something or a way to make it better let me know

####################################################################
####################################################################
######################### H3x-iRc By Malcolm #######################
####################################################################
####################################################################
menu channel {
  mass:/mass_sajoin
}

alias mass_sajoin {
  var %x $$?="how many rooms?:"
  var %y $$?="name of victim:"
  var %i 1
  while (%i <= %x) {
    sajoin %y #H3x-irc $+ $rand(1,9999)
    inc %i 1
  }
}

Comments

Sign in to comment.
chachin   -  Feb 26, 2012

can we have a script that makes people stay on a selected chan like:

on *:part:#blackhole:{ sajoin $nick | notice $nick the blackhole demands you to stay. }

 Respond  
Known   -  Dec 16, 2010

You might want to change #H3x-irc since not everyone wants to have the targets only sajoined to that channel.

 Respond  
Jethro   -  Dec 14, 2010

The sajoin command may, depending on your network, support multiple targets, which means every channel can be separated with a comma. E.g. > /sajoin <channel,channel2,channel3,etc..>This way you won't forcibly join a user in a vertical fashion. It is less flood prone this way.

Here is the rewrite of what I mean:

alias mass_sajoin {
  $iif($isfile(sajoin.txt),write -c sajoin.txt)
  var %x $$?="How many rooms?",%y $$?="Name of victim:", %i 1
  while %i <= %x { write -n sajoin.txt $+(#H3x-irc,$r(1,9999)) | inc %i }
  var %z $regsubex($read(sajoin.txt,1),/(\43)/g,$+($chr(44),\1))
  sajoin %y $regsubex(%z,/^\54/,)
}
 Respond  
MixXeduP   -  Dec 14, 2010

Its nice, but also very annoying.
Also u get flooded by snotices with something like "Nick used sajoin to make victim join #channel".

 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.