Skip to content
MSN

Access scanner

A TG007 community discussion started by SpAzZ.

Discussion 15 posts
Page 1 of 1
Open
Topic #1255 · 15 published posts · 1,569 views

according to the list of raw events on techgear, raw numbers 801, 802, 803, 804, 805, 820, 908, and 914 have to do with access, im guessing 908 works with the specs to, cuz thats what i have with my spec kick, but i only listed it cuz i think that it wud also serv if ur not a host on the chan and u try to get the access. Well anyways, i just want to know if these are what i need to make an access scanner. Thanks,

--SpAzZ--

add this code in your script and then open your access list and watch the raws

 

raw *:*: { echo -a $numeric $1- | halt }

My code does NOT have bugs. It just develops random features.

lol i dont ahve an access list thats what i want to make an access scanner, so i can turn taht into a scanner/dialog combo

well get a script with vincula in and open access list

My code does NOT have bugs. It just develops random features.

lol sorry ozzy, but i dont use vincula. i hate it. tongue.gif

well it was only so you could watch what each raw does, but if you want to do it the hard way , i wont bother helping again

My code does NOT have bugs. It just develops random features.

What's your reason for hating Vincula? approximately 98% of the decent scripters use it so it can't be all that bad.

lol_sign.gif

"Be more concerned with your character than your reputation

because your character is who you really are while your reputation is merely what others think of you."

 

DesolateMx 8.0

yea thats true, but I find that its not all that stable. And it doesn't allow the amsg and ame commands to work properly, which i use often.

well thats fair enough but you can easy use the /amsg command if you know how lol_sign.gif

"Be more concerned with your character than your reputation

because your character is who you really are while your reputation is merely what others think of you."

 

DesolateMx 8.0

how can u use amsg and ame when each room is connected on a different server/status window ??? tongue.gif

well anyways, back to my question. I want to make my access scanner so that everytime sumbody adds access it lets me know, along with everytime sumbody clears access. Is this possible, or wud i have to set it on a timer to echo it to me?

Just look at Vincula whether you like it or not. Vincula properly displays the raws. So, look at it.

the server won't tell send information when someone changes the access list. you have to scan the list, save it somehow, and then set a timer to scan it again every 10 seconds or so and look for any changes. you can find out who it was that added new entries because that information is stored in entries that are made, but it won't tell you who deleted or cleared entries.

bfush.PNG

to work properly it must scan the access every 1-3 seconds wich lags badly

on me:*:join:#:hop #

This is my old access protection scanner.. post long time ago in tg addon section happy.gif . u can edit and use it .just give credit ..i add some prots there. lol_sign.gif

 

menu status,channel {
 Â°Access Checker° ( $+ $group(#accesscheck) $+ )
 .$iif($group(#accesscheck).status == on,$style(2),$style(0)) Turn On: .enable #accesscheck | accesscheck | echo -a Acces List Checker Is Now Active
 .$iif($group(#accesscheck).status == on,$style(0),$style(2)) Turn Off: .disable #accesscheck | .timerchecktimer off | echo -a Acces List Checker Is Now Disable
}

#accesscheck on

alias accesscheck {
 set %access.chan $chan
 checktimer
}

alias checktimer {
;change the timer here
 .timerchecktimer 0 2 /checkaccess
}

alias checkaccess {
 //access %access.chan list
}

raw 804:*: {
if ($group(#accesscheck).status == on) { 
;This is for remove auto access for ppl other then u .. u can remove this if u don wan :P
 if ($remove($address($me,1),*!*,@GateKeeperPassport) !isin $4) { if ($3 != DENY) { access $2 delete $3 $4  } }
;Kick user when they add *!*@*$* on access
 if (*!*@*$* isin $4) && (> !isin $4) && ($3 == DENY) { access $2 delete $3 $4 | access $2 add deny $ial($+(*,$6,*),1).nick | kick $2 $ial($+(*,$6,*),1).nick :Dont Add Deny *!*@*$* On Access . }
;Kick user when they add *!*@*$* on owner,host,voice or grant on access
 if (*!*@*$* isin $4) && ($3 != DENY) { access $2 delete $3 $4 | access $2 add deny $6 | kick $2 $ial($+(*,$6,*),1).nick Dont Add Auto $3 Access. }
;Protect u from ppl who adding silent deny on ya :P
 if ($me isin $2) || ($remove($address($me,1),*!*,@GateKeeperPassport) isin $4) { if ($3 == DENY) { access $2 delete $3 $4 | access $2 add deny $6 | kick $2 $ial($+(*,$6,*),1).nick : Dont Silent Ban ME :@:@  } }
}
}

on *:OWNER:#: {
 if ($group(#accesscheck).status == on) { 
   if ($opnick == $me) { /accesscheck }
}
}

on *:DEOWNER:#: {
 if ($group(#accesscheck).status == on) { 
   if ($opnick == $me) { .timerchecktimer off }
}
}
#accesscheck end

 

my advise it change the timer so u don lags so much. poster_stupid.gif