|
|
Joined: Jan 2003
Posts: 48
Ameglian cow
|
OP
Ameglian cow
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é =-
|
|
|
|
Joined: Mar 2003
Posts: 1,271
Hoopy frood
|
Hoopy frood
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
|
|
|
|
Joined: Aug 2003
Posts: 29
Ameglian cow
|
Ameglian cow
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- }
|
|
|
|
Joined: Jan 2003
Posts: 48
Ameglian cow
|
OP
Ameglian cow
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 )
-= Porque pese a todo Dios .. aún te tengo fé =-
|
|
|
|
Joined: Mar 2003
Posts: 1,271
Hoopy frood
|
Hoopy frood
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
|
|
|
|
Joined: Jan 2003
Posts: 48
Ameglian cow
|
OP
Ameglian cow
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
-= Porque pese a todo Dios .. aún te tengo fé =-
|
|
|
|
Joined: Mar 2003
Posts: 1,271
Hoopy frood
|
Hoopy frood
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
|
|
|
|
Joined: Jan 2003
Posts: 150
Vogon poet
|
Vogon poet
Joined: Jan 2003
Posts: 150 |
on *:TEXT:*:#:{
if ($me isin $1-) { do your stuff }
}
Go ahead, jump. 100,000 lemmings can't be wrong.
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
on 1:TEXT:$( $+ $me $+ ):#Channel: { commands }
/help Remote Identifiers
|
|
|
|
Joined: Mar 2003
Posts: 1,271
Hoopy frood
|
Hoopy frood
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
|
|
|
|
|
|