Heya guys. Got a question I can't figure out...
How would I script the following:
Every 5 minutes, I have a Bot in a game type TIME. I was wondering if there was a way to have a player send him a tell (The syntax for tells are "Player tells you 'time'") and have the bot type TIME, and send back a parsed version of the following?
Typing time returns:
It is 2:44 am on Tuesday, August the 16th, year 1426.
The twin moons, Trigael and Marabah are in the phases:
Trigael: (new) Marabah: (gibbous waning)
Materia Magica has been up since: Sat Aug 2 09:47:40 2003.
The current system time is: Mon Aug 4 19:00:59 2003.
What I need sent back is "It is 2:44 am on Tuesday, August the 16th, year 1426."
I wouldn't have to gag the lines after though... Any thoughts or snippets of code that you know of that I could use?
Matt
How would I script the following:
Every 5 minutes, I have a Bot in a game type TIME. I was wondering if there was a way to have a player send him a tell (The syntax for tells are "Player tells you 'time'") and have the bot type TIME, and send back a parsed version of the following?
Typing time returns:
It is 2:44 am on Tuesday, August the 16th, year 1426.
The twin moons, Trigael and Marabah are in the phases:
Trigael: (new) Marabah: (gibbous waning)
Materia Magica has been up since: Sat Aug 2 09:47:40 2003.
The current system time is: Mon Aug 4 19:00:59 2003.
What I need sent back is "It is 2:44 am on Tuesday, August the 16th, year 1426."
I wouldn't have to gag the lines after though... Any thoughts or snippets of code that you know of that I could use?
Matt