PDA

View Full Version : Day check OpCode


Daan1302
21st Oct 2005, 01:44 PM
Whats the opcode to check if it's Friday, or Monday?
I'd really appreciate knowing that! It's essential to my new hack!

Thanks in advance!

Inge Jones
21st Oct 2005, 01:50 PM
I found this [prim 0x0002] Expression (Global 0x0022 (Day Of Week) == literal 1)

But I am not sure which day is represented by which number - whether it starts from 0 or 1 or whether Sunday or Monday

02: 22 00 03 00 00 02 06 07

Daan1302
21st Oct 2005, 02:57 PM
Thanks! My older OpCode I created myself was based on an InSIMinator code to change the day, which I made to check if it IS that day. I'll try both!
Also, weekday that starts in TS2 is Monday, with the hex number being 0x0

Thanks!