Skip to content
General IRCd

Find command in IRCD

A TG007 community discussion started by maria.

Discussion 2 posts
Page 1 of 1
Open
Topic #175 · 2 published posts · 1,464 views

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

Edited Mar 29, 2004 1:11 PM by maria

I reply to this msg within a year!

:) - I can't keep still :D

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

Edited Apr 9, 2004 7:16 PM by Neo-Ravencroft