TheWhistler   -  Dec 28, 2014

i'm looking for a onjoin set room gzline for my server for mass bots
menu menubar {
.Set Onjoin Gline
..Set Room Gline:/setrooms $chan
..remrooms:/remrooms $chan

}
or if anybody can fix this to work
would be grealty appricated
think napa did 1 but some how i lost it

on 1:JOIN:#:{
var %i = 1, %r = $$?="reason"
while $sline(#,%i) {
set -u20 %gline. $+ $ifmatch %r
userhost $ifmatch
inc %i
}
}

raw 302::{
var %a = $replace($2,
=-,!,=+,!,=-,!,=+,!), %n = $gettok(%a,1,33)
if %gline. [ $+ [ %n ] ] {
gline
@ $+ $gettok(%a,2,64) 30d : $+ $ifmatch
echo -at > Glined %n
unset %gline. $+ %n
}
}

Hawkee  -  Dec 29, 2014

You need to fence your code with ``` marks on their own lines.

Sign in to comment

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.