i was wondering is it possible to make a auto kick for who ever adds all owner or adds all denied because i could really use this in my room i tried making one but it fails to do the job so can anyone please reply back with a working code id highly appreciate it thanks
umm can i get the code? lol
just use the raw and make an alias that triggeres the raw to check access, then what you do is make a timer to check every 15 seconds and if *@* is owner access or *@* is in deny access or * or @* then u kick the $6, but of course ull need the code to get the nick so =], i dont have it with me, cus im at school lol
i know that but i cant make the code lmao
i dont have a computer anymore, but my scripts on my External hard drive.. lol the code will be something like this * NOTE: NOT SAYING IT IS *
alias checkaccess {
.timercheck 0 15.1 /checkaccess2
}
alias checkaccess2 {
.access $chan
}
raw 804:*: {
if (*@* isin $4) && (!%checkflood) { /echo -a Warning: GateKeeper: $6 Added <Dunno what one> Access to All | /sockwrite -n <channel socket> kick $chan <The Code To Get $6's NAME> Adding <<Dunno what Number>> To all
inc -z %checkflood 5
}
Minus the fact that u have to add your clears and props
using *@* is not enough because he also should use *!*@* , *!*@*$* because there are many ways of adding deny or owner for all and also you can protect your self by adding $me , $$ial($me).addr , $address($me,6) .........................
because the bot can delete only the entry, for example if you have gatekeeper: *!*458445@gatekeeperpassport You can not delete it by typing access $chan delete deny *!*5@gatekeeperpassport while * means anything before the 5.
You can delete the exact entry and remember that there are many ways of adding access to all such as *@* or *!*@* or *!*@*$* so you need to let the bot find the exact entry and delete it sure in case if you plan to delete that entry or the code would be USELESS IF U DIDNT DELETE THE ENTRY and kicked the one who added it.
well true, but dosent that factor depend on the connection;)?
which factor are you talking about?
if you are talking about the deleting command and raw, NO it does not depend on the connection because raw 804 is msn server thing and command: access $chan delete deny ........... does not depend also on the connection unless if you are using sockets.
well, my connection * or @* would match an entire.. or inother words if an access is *!*@*$* as u say it uses * or @* as an access to "everything" i.e owner to all, host to all, voice to all (but yes, ur right aswell, so thats about it) im going with my way and urs for the simple fact, it depends on the connection and the code
no need to keep arguing if were both right
well, my connection * or @* would match an entire.. or inother words if an access is *!*@*$* as u say it uses * or @* as an access to "everything" i.e owner to all, host to all, voice to all (but yes, ur right aswell, so thats about it) im going with my way and urs for the simple fact, it depends on the connection and the code
no need to keep arguing if were both right
menu menubar {
«–Access Checker–» ( $+ $group(#accesscheck) $+ )
.$iif($group(#accesscheck).status == on,$style(2),$style(0)) Turn On: .enable #accesscheck | accesscheck | msg # [-Access Checker Now Active-]
.$iif($group(#accesscheck).status == on,$style(0),$style(2)) Turn Off: .disable #accesscheck | .timerchecktimer off | msg # [-Access Checker Now Disable-]
}
#accesscheck on
alias accesscheck {
set %access.chan $msn.get($cid,fullroom)
checktimer
}
alias checktimer {
.timerchecktimer 0 2 /checkaccess
}
alias checkaccess {
//access %access.chan list
}
;raw 805:*: {
;if (*!*@*$* isin $4) && (> !isin $4) && ($3 == OWNER) { access $2 delete $3 $4 | access $2 clear Owner | access $2 clear voice | kick $2 $ial($+(*,$6,*),1).nick Don't Add Auto $3 Access. $cr prop $comchan($me,1) ownerkey password $+ RuLeZ~MSN }
;if (*!*@gatekeeper$* isin $4) && (> !isin $4) && ($3 == OWNER) { access $2 delete $3 $4 | access $2 clear Owner | access $2 clear voice | kick $2 $ial($+(*,$6,*),1).nick Don't Add Auto $3 Access. $cr prop $comchan($me,1) ownerkey password $+ RuLeZ~MSN }
;if (*!*@gatekeeperpassport$* isin $4) && (> !isin $4) && ($3 == OWNER) { access $2 delete $3 $4 | access $2 clear Owner | access $2 clear voice | kick $2 $ial($+(*,$6,*),1).nick Don't Add Auto $3 Access. $cr prop $comchan($me,1) ownerkey password $+ RuLeZ~MSN }
;if (*!*@*$* isin $4) && ($3 != Owner) { access $2 delete $3 $4 | access $2 clear Owner | access $2 clear voice | kick $2 $ial($+(*,$6,*),1).nick Don't Add Auto $3 Access. $cr prop $comchan($me,1) ownerkey password $+ RuLeZ~MSN }
;if (*!*@gatekeeper$* isin $4) && ($3 != Owner) { access $2 delete $3 $4 | access $2 clear Owner | access $2 clear voice | kick $2 $ial($+(*,$6,*),1).nick Don't Add Auto $3 Access. $cr prop $comchan($me,1) ownerkey password $+ RuLeZ~MSN }
;if (*!*@gatekeeperpassport$* isin $4) && ($3 != Owner) { access $2 delete $3 $4 | access $2 clear Owner | access $2 clear voice | kick $2 $ial($+(*,$6,*),1).nick Don't Add Auto $3 Access. $cr prop $comchan($me,1) ownerkey password $+ RuLeZ~MSN }
;}
raw 804:*: {
if ($4 == *!*@*$*) && ($3 == OWNER) { access $2 delete $3 $4 | access $2 clear Owner | kick $2 $ial($+(*,$6,*),1).nick Don't Add Auto $3 Access. $cr prop $comchan($me,1) ownerkey password $+ RuLeZ~MSN | mode $2 +q $me | unset %Aop | unset %Host }
if ($4 == *!*@GATEKEEPER$*) && ($3 == OWNER) { access $2 delete $3 $4 | access $2 clear Owner | kick $2 $ial($+(*,$6,*),1).nick Don't Add Auto $3 Access. $cr prop $comchan($me,1) ownerkey password $+ RuLeZ~MSN | mode $2 +q $me | unset %Aop | unset %Host }
if ($4 == *!*@GATEKEEPERPASSPORT$*) && ($3 == OWNER) { access $2 delete $3 $4 | access $2 clear Owner | kick $2 $ial($+(*,$6,*),1).nick Don't Add Auto $3 Access. $cr prop $comchan($me,1) ownerkey password $+ RuLeZ~MSN | mode $2 +q $me | unset %Aop | unset %Host }
if ($4 == *!*@*$*) && ($3 == HOST) { access $2 delete $3 $4 | access $2 clear owner | access $2 clear Host | kick $2 $ial($+(*,$6,*),1).nick Don't Add Auto $3 Access. $cr prop $comchan($me,1) ownerkey password $+ RuLeZ~MSN | mode $2 +q $me | unset %Aop | unset %Host }
if ($4 == *!*@*$*) && ($3 == VOICE) { access $2 delete $3 $4 | access $2 clear owner | access $2 clear Host | access $2 clear voice | kick $2 $ial($+(*,$6,*),1).nick Don't Add Auto $3 Access. $cr prop $comchan($me,1) ownerkey password $+ RuLeZ~MSN | mode $2 +q $me | unset %Aop | unset %Host }
if ($4 == *!*@*$*) && ($3 == DENY) { access $2 delete $3 $4 | msg # $2 $ial($+(*,$6,*),1).nick WTF :@ You Added Deny Access *!*@*$* AnyWay Its Deleted 8-) }
}
if ($4 == *!*@GATEKEEPERPASSPORT$*) {
if ($3 == VOICE) || ($3 == GRANT) || ($3 == HOST) {
/access $2 delete $3 $4 | access $2 clear owner | access $2 clear Host | kick $2 $ial($+(*,$6,*),1).nick Don't Add Auto $3 Access. $cr prop $comchan($me,1) ownerkey password $+ RuLeZ~MSN
if ($ial($+(*,$6,*),1).nick != $me)
}
}
if ($4 == *!*@GATEKEEPER$*) {
if ($3 == VOICE) || ($3 == GRANT) || ($3 == HOST) {
/access $2 delete $3 $4 | access $2 clear owner | access $2 clear Host | kick $2 $ial($+(*,$6,*),1).nick Don't Add Auto $3 Access. $cr prop $comchan($me,1) ownerkey password $+ RuLeZ~MSN
if ($ial($+(*,$6,*),1).nick != $me)
}
}
}
on *:OWNER:#: {
if ($opnick == $me) { /accesscheck }
}
on *:DEOWNER:#: {
if ($opnick == $me) { .timerchecktimer off }
}
#accesscheck end
The above coding should work for access checks coding is not mine
sorry to say that you are wrong and not both are right plus I am not argueing, Yes *@* would add access to all but you can not delete it from access list using * or *** and you can ONLY DELETE IT AS IT GOT EDITED so if the access has been added such as *!*@*, you should delete it like *!*@* EXACTLY or if it got added like *@*, you should delete it like *@* exactly too
Try the previous code and test it if you don't believe me and anyway you are free, I was just helping
Sign in to reply or start a new topic where your account has permission.