an urgent topic

01/28/2014 22:23 elprofessor#1
hey guys :D cheers
how are you today ?

i want some help ... just want my source to send a message every Thursday at 20:00 to tell the players that the Dis-city entrance is opened i want to do that i have tried to do that for several time but i failed so i am asking for elitepvpers help and that would be nice cuz i want to continue editing my source but i want to let that message to be sent at 20:00 every Thursday that would help me a lot :D
01/28/2014 22:37 Y u k i#2
[Only registered and activated users can see links. Click Here To Register...]
01/28/2014 23:12 abdoumatrix#3
DateTime.Now.Year
DateTime.Now.Month
DateTime.Now.DayOfYear
DateTime.Now.Day
DateTime.Now.Hour
DateTime.Now.Minute
DateTime.Now.Second
01/28/2014 23:21 Spirited#4
It would be best to implement a thread (if one doesn't already exist) that checks a switch statement every so often for events, switched by hour, minute, etc. If one does exist, then what exactly are you asking us for?

PS:
Urgent (noun): requiring immediate action: calling for immediate action or attention
Don't use extreme words... unless your building is burning down and this is your only way of contacting help, nothing here is going to be "urgent".
01/28/2014 23:21 turk55#5
And why was this urgent ?
01/29/2014 12:09 KraHen#6
As fang said, create a thread for this, you can manage time-based events from a single thread that way. You could also do it without a thread asynchronously but if you asked help on this one, you`re better off creating a separate thread, it will be much easier to do. :)