mIRC Home    About    Download    Register    News    Help

Print Thread
#241972 06/06/13 09:02 AM
Joined: May 2013
Posts: 26
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: May 2013
Posts: 26
lets say u set a user to say $date(mmmm/dd/yyyy)
and then 30 days afer that u wants the script to popup a notice that the 30 days is up how would u go about checking that info or comparing it if anyone knows how to do this would greatly aprec it smile

Joined: Dec 2008
Posts: 1,515
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
I had not understand excaclty what you want, describe a little bit more..

try this maybe you want this

Code:
var %d = $date(mmmm/dd/yyyy)
if ($gettok(%d,2,47) == 30) { echo ok }


- Thanks!


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
westor #241981 06/06/13 09:07 PM
Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
It looks like he want somthing like "register" when 30 days have past. Or somthing like that. So i guess install date + 30 days will do somthing.


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }
westor #241982 06/06/13 09:23 PM
Joined: May 2013
Posts: 26
D
Ameglian cow
OP Offline
Ameglian cow
D
Joined: May 2013
Posts: 26
ty that i beleive will do what im looking for smile
i will add it in the script and see if it works basically i am adding names to a hash table with a date and when 30 days pass i want the script to notify me when someone in list 30 days is up
it will give me a notice about the persons 30 days passing

Last edited by DaRkCaSTLe1974; 06/06/13 09:27 PM.

Link Copied to Clipboard