mIRC Home    About    Download    Register    News    Help

Print Thread
#46278 01/09/03 08:53 PM
Joined: Jan 2003
Posts: 48
O
oSaYaP Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Jan 2003
Posts: 48
I am from Argentina and i wanna do a remote that write nick and message sended to query. Eg:
on 1:text:*:?: { .write querys.txt $nick has send you a whisper at $time , Msg : (and here is where i don´t know who to continue)
I wanna do a remote that writes me, the nick who did query on me, time of query and message of query, eg: if nick "Lucy" send me a query and say "hi, how are you" i want that my remote save that msg ("hi, how are you")..
Thanks a lot !!!
From Argentina .. oSaYaP


-= Porque pese a todo Dios .. aún te tengo fé =-
#46279 01/09/03 08:56 PM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Well, you could of course, but why don't you simply turn on mIRC's built-in logging function? Just timestamp it, and it auto-saves all the information you mentioned. Just not in a fancy line.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#46280 01/09/03 08:56 PM
Joined: Aug 2003
Posts: 29
2
Ameglian cow
Offline
Ameglian cow
2
Joined: Aug 2003
Posts: 29
I assume that it would just be.

on *:text:*:?: {
write queries.txt $nick has send you a message at $time Msg : $1-
}

#46281 01/09/03 09:00 PM
Joined: Jan 2003
Posts: 48
O
oSaYaP Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Jan 2003
Posts: 48
Yeah .. but my idea is that when you are away, and you came back, i made an alias eg: /queries and open txt file with all nicks and msgs, thank you blush)


-= Porque pese a todo Dios .. aún te tengo fé =-
#46282 01/09/03 09:03 PM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Well, you could only log when you are away using 2big's code inside a if ($away) { code here } but again - using mIRC's logging would be easier.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#46283 01/09/03 09:06 PM
Joined: Jan 2003
Posts: 48
O
oSaYaP Offline OP
Ameglian cow
OP Offline
Ameglian cow
O
Joined: Jan 2003
Posts: 48
Thank you !!! it works good !
one more cuestion, what about if i want that the remote works the same way but when someone say my nick in a channel ?
Eg: if you say "oSaYaP" in #help , write another file or in the same one with nick, time and msg.
Thanks smile


-= Porque pese a todo Dios .. aún te tengo fé =-
#46284 01/09/03 09:09 PM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
if ($+(*,$me,*) iswm $strip($1-)) { logging here }


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#46285 01/09/03 09:09 PM
Joined: Jan 2003
Posts: 150
J
Vogon poet
Offline
Vogon poet
J
Joined: Jan 2003
Posts: 150
Code:
on *:TEXT:*:#:{
  if ($me isin $1-) { do your stuff }
}


Go ahead, jump. 100,000 lemmings can't be wrong.
#46286 01/09/03 09:45 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
on 1:TEXT:$( $+ $me $+ ):#Channel: {
commands
}

/help Remote Identifiers

#46287 02/09/03 04:08 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Both those codes do not anticipate people using controlcodes INSIDE the nick like some nick completers do, where mine does. If it's an issue - stick with mine.

Also -- Why did you (SladeKraven) specify a channelname? I assume the user would want to log stuff said to him no matter in which channel it was said.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius

Link Copied to Clipboard