* mIRC Scripts, Addons, Snippets *

IRC General Help and Support
HomeHome  ­FAQFAQ  ­SearchSearch  ­RegisterRegister  ­Log inLog in  
Share | 
 

 Seen System

View previous topic View next topic Go down 
AuthorMessage
Laurentiu
Guru
Guru


Male
Number of posts: 35
Localizare: Bucuresti
Registration date: 2009-01-17

PostSubject: Seen System   Thu Jan 22, 2009 7:59 pm

Un simplu snippet ce răspunde la comanda !seen * şi afişează când nickul căutat a fost ultima oară pe canal Smile


Pentru a putea rula acest code snippet trebuie sa-i copiati codul intr-un document text dupa aceea sa-l salvati in format .mrc

Dupa salvare copiati-l in directorul unde aveti mIRC-ul instalat.

Se porneste cu comanda: /load -rs "patch\to\script.mrc"


Code:
on *:JOIN:#:writeini -n seen.ini seen $nick $ctime
on *:TEXT:*:*:if ($1 = !seen) && ($2) { $iif($chan,notice,msg) $nick $iif($chan && $2 ison $chan,$2 este chiar aici.,$iif($readini(seen.ini,seen,$2),Seen $2 before $duration($calc($ctime - $v1),1),Nu-mi amintesc sa-l fi vazut pe $2 aici !)) }
Back to top Go down
View user profile http://mirc.clictopic.com
 

Seen System

View previous topic View next topic Back to top 
Page 1 of 1

Permissions of this forum:You cannot reply to topics in this forum
* mIRC Scripts, Addons, Snippets * :: mIRC Scripting :: Snippets-