Jump to content

Find command in IRCD


maria

Recommended Posts

on Admin:TEXT:*`find*:#: { /whois $2 | /msg $comchan($nick,1) $2 }

 

just a idea How to find someone in IRCd lol but how can can i get it to messages me if the person is onlin

 

i done it with whois but can you get a Raw and send it back so you can find out ? and if it does not find a raw says the person is not on server

 

311 is the start off the whois

but no idea how to add it

Link to comment
Share on other sites

  • 2 weeks later...

Raw 401 is no nick, meaning they arn't on.

raw 319 shows what chans they are on.

raw 311 as u said tells us that we got a reply, meaning they are online.

 

so it would be:

on Admin:TEXT:*`find*:#: { var %whonick $2 | /whois $2 }

 

RAW 311:*: { /msg $chan %whonick is online! }

RAW 319:*: { /msg $chan %whonick is currently active in $3- }

RAW 401:*: { /msg $chan %whonick is offline :( }

 

Change to suit ur needs

 

Edit: made it use var, instead of set, keeps it from adding a global var, i hate those lol

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...