]>
jfr.im git - irc/quakenet/newserv.git/commit
Sample node search module.
at the moment, only 1 output format is implemented and 2 commands - users/nick
[15:43:41] <mmmmmm> nodesearch (eq (users) 1)
[15:43:41] <NP> 127.0.1.3 [1]
[15:43:41] <NP> 127.0.1.4 [1]
[15:43:41] <NP> 127.0.1.5 [1]
[15:43:41] <NP> --- End of list: 3 matches
[15:43:54] <mmmmmm> nodesearch -s 127/8 (eq (users) 1)
[15:43:54] <NP> 127.0.1.3 [1]
[15:43:54] <NP> 127.0.1.4 [1]
[15:43:54] <NP> 127.0.1.5 [1]
[15:43:54] <NP> --- End of list: 3 matches
Nick is fairly pointless and should probably be something to use against match etc
[15:43:16] <mmmmmm> nodesearch -s 127/0 (nick mmmmmm)
[15:43:16] <NP> 192.168.0.48 [1]
[15:43:16] <NP> --- End of list: 1 matches
[15:43:20] <mmmmmm> nodesearch -s 127/24 (nick mmmmmm)
[15:43:20] <NP> --- End of list: 0 matches