This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

permident add

Old posts that have not been replied to for several years.
Locked
User avatar
duofruo
Halfop
Posts: 94
Joined: Thu Oct 23, 2003 3:17 pm
Location: Ploiesti@.ro
Contact:

permident add

Post by duofruo »

Code: Select all

     if {([matchattr $nick $authflag] == 0)} {
   puthelp "privmsg $nick :Sorry dar nu esti autentificat"
   return 0
}
how do i add if the users has permident ( --XTRA permident *!bla@bal.com) the test will pass..
Embrace The Inevitable
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

Code: Select all

if {![string match [getuser $handle XTRA permident] $uhost]&&\
	 ![matchattr $nick $authflag]} { 
	puthelp "privmsg $nick :Sorry dar nu esti autentificat"
	return 0 
}
Have you ever read "The Manual"?
Locked