Hey all. I have an idea and I'd appreciate your help making this.
I want to be able to use say something like
!A var1 var2 var3
and then when I say
!B, it'll output "var1 var2 var3 - last updated 10 seconds ago"
The variables will be constantly changing/updating as whoever can do a !A command. Is this possible?
must the user type !A "Hello world you" ?
Please give some examples to make us understand better of what's var1/var2 you really mean, do you mean global variabls?, your description is poor.
I want to be able to input something like...
Me: !place 52 10 degrees store
and then someone can say
Someone: !location
and it'll output
Output: 52 10 degrees store
Any way to have this loop (in addition to calling it manually) every 10 seconds?
What exactly you mean? give some examples..
Your code works great. I want it to also be able to output the latest input every 10 seconds..
So like..
Manually call it with
Me: !place store
and then Someone can do
Someone: !location
Bot: store
Your script does this, but I want it to output "!location" every 10 seconds automatically without manually calling it. So after 10 seconds, it'll output
Bot: store
then 10 seconds later again
Bot: store
and then I can do !place job
and then 10 seconds later again it'll do
Bot: job
so on and so forth..
Now with multiple "!place"'s in which the !location can output them all. As again, on a 10 second timer and also can be called manually whenever.
Input
!place outside
!store gap
!color blue
!location
outside
gap
blue