[RESOLVED] realname - 23/06/07 09:15 PM
I'm trying to ban from my chan those who use a certain Name on their script
Like
»»»» /whois list for: «nick»
»»»» address: blahblah@yournetwork
»»»» name: Lord
»»»» services: registered
»»»» channels: ...
»»»» server: ...
»»»» end of /whois list for: «nick»
So, in this case, imagine I wanted to auto ban everyone using the name "Lord" in the real name field. How do I do that remote?
It would be something like
On *:JOIN:#ChannelName: {
if (realname == name) {
ban -k etc....
}
Any suggestions?
Like
»»»» /whois list for: «nick»
»»»» address: blahblah@yournetwork
»»»» name: Lord
»»»» services: registered
»»»» channels: ...
»»»» server: ...
»»»» end of /whois list for: «nick»
So, in this case, imagine I wanted to auto ban everyone using the name "Lord" in the real name field. How do I do that remote?
It would be something like
On *:JOIN:#ChannelName: {
if (realname == name) {
ban -k etc....
}
Any suggestions?