Cstrike
07-10-2010, 06:59 PM
I'm making a new revolutionary script, a rune miner that will get a full load, bank (only a few spots for this though) and then return.
My problem is I don't know how to make a script read time and reset every 20 minutes. I have the code I need to mine, and the code to bank... but I don't know how to make it for example:
COMMENTS ARE STUFF I DONT KNOW HOW TO DO
Log into new world
record world as 'no ore' or 'ore found'
// store world if ore found after mining it -- use array?
// mark time X for world Y
//go to next world
Log in, repeat
// At ~20 minutes, restart cycle knowing ore is still there because of accuracy usually of time
Of course it's not flawless (ex: someone could mine your rock slightly before you come back...etc
But it's a start.
What commands should I get used to? is this possible? Thakns
My problem is I don't know how to make a script read time and reset every 20 minutes. I have the code I need to mine, and the code to bank... but I don't know how to make it for example:
COMMENTS ARE STUFF I DONT KNOW HOW TO DO
Log into new world
record world as 'no ore' or 'ore found'
// store world if ore found after mining it -- use array?
// mark time X for world Y
//go to next world
Log in, repeat
// At ~20 minutes, restart cycle knowing ore is still there because of accuracy usually of time
Of course it's not flawless (ex: someone could mine your rock slightly before you come back...etc
But it's a start.
What commands should I get used to? is this possible? Thakns