Skip to content
MSN

Access List

A TG007 community discussion started by lostboyjoey.

Discussion 1 post
Page 1 of 1
Open
Topic #4842 · 1 published post · 335 views
on admin:TEXT:.access*:#:{
 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*
}

Howdy peeps, I was wondering if someone can help me to get this to whisper the results to the to the admin that triggers it...right now it floods the main room...and I tried everything I could think of to get it to whisper but its a no go.