how can i delete deni for gate by short command and that gate isnot in da room?
Ex:
>remove 584C7D
then in this gate in da access list as deny script will remove it ..
A TG007 community discussion started by samooh_2003.
how can i delete deni for gate by short command and that gate isnot in da room?
Ex:
>remove 584C7D
then in this gate in da access list as deny script will remove it ..
code a normal remote command like;
on <level> TEXT:!remove:#: { access # delete deny $2- }
on me:*:join:#:hop #
thnx for ur replay but i mean shortgate
Ex:
!remove 125c8D
the script check the access list then tell u if there is any deny for that full gate then delete it if found or tell u cant find it if there isnot any deny on that gate .
did u get it ?
then u'll have to write a code, triggering raws to check the access.
well, it's raw 804 as far as i can remember. happy coding
on me:*:join:#:hop #
loooooooool wooow how is useful thnx alot for ur code LOL nice work man plz any more help?
You would actually have to check the access list to do exactly as you wanted, as stated above. The only other way to do it is to remotely delete the entire deny (eg: `dd [email protected]).
Never tried it before tho, sorry
on admin:TEXT:`check*:#:{
set %access $iif($2 == $null, all, $2)
set %access2 0
set %accesschan $chan
enable #access2
access $chan
timer 1 2 disable #access2
timer 1 2 getaccess
}
#access2 off
raw 804:*:{
if (%access == all) {
privmsg %accesschan $3 $4 $5 Reason: $7-
inc %access2
}
else {
if (%access == $3) {
privmsg %accesschan $3 $4 $5 Reason: $7-
inc %access2
}
}
}
#access2 end
alias getaccess {
if (%access2 == 0) { privmsg %accesschan The $iif(%access == all, whole, %access) access list was cleaned out before i got there. }
if (%access2 != 0) { privmsg %accesschan There were %access2 thing's found on %access access list. }
unset %access*
}
k read access of the room or groups but i cant edit it well there is a mistake in reading for some body but it is good to read access of da room so can u fix to read if there is any deny on any gate or any nick
on admin:text:`ub*:#: { set %target $2 | accesscheck }
alias accesscheck {
set %access.chan $msn.get($cid,fullroom)
checkaccess
}
alias checkaccess {
//access %access.chan list
}
raw 804:*: {
if (%target isin $4) && ($3 == DENY) { access $2 delete $3 $4 | msg $comchan($me,1) $4 was found and removed
.timerendofall 1 3 unset %target
}
}
should do the trick , you can use it both ways like this,
`ub 78377
`ub nick
partial nick and partial gate ..
have fun..
Sign in to reply or start a new topic where your account has permission.