This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Some questions..

Old posts that have not been replied to for several years.
Locked
m
minotaur
Voice
Posts: 19
Joined: Sun Jul 06, 2003 8:36 pm

Some questions..

Post by minotaur »

HI i have some script questions :)

1. What is the command for increase a unixstamp to the next 3 days ( Example: My Timestamp is from yesterday and i will check if it really is from yesterday)
2. How can i execute dcc commands from other script who react on that?
3. How can i increase a variable or decrease it? like +2 or -42

ok thats all :) i hope you can ask me this short questions :) Thx 4 all help :wink:
User avatar
Papillon
Owner
Posts: 724
Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no

Post by Papillon »

1/3. check out the expr command in the tcl manual
*hint... 60 * 60 * 24 == one day in seconds
2. huh?
Elen sila lúmenn' omentielvo
User avatar
strikelight
Owner
Posts: 708
Joined: Mon Oct 07, 2002 10:39 am
Contact:

Post by strikelight »

Alternative 3.: incr var 2 or incr var -42
Locked