Messages between 10 secons
#1

I want to make a command like: "/text [message]" and when i type this for 3 times in a row messages appear at a distance of 10 seconds of each other ...

Exemple:

[00:00:00]: I type /text message1 ... /text message2 ... /text message3
[00:00:00]: Message 1
[00:00:10]: Message 2
[00:00:00]: Message 3
Reply
#2

Heeelp
Reply
#3

1>take a variable like
new IsTenSecCompleted=0;
2>and then inside the command (/text)
if(IsTenSecCompleted==0)
{
//command codes
IsTenSecCompleted=1;
}
and now make a simple 10 second timer to make it back to 0
like
if(IsTenSecCompleted==1)
{
IsTenSecCompleted=0;
}
Reply
#4

he dont wants to repeat the same message in 10 sec but if you spawned /text (but with diffrent texts both time :P) it just dont send the message of the 2nd /text but send the message after 10 sec
,if you get what i mean lol its confuseing.
or he wants what you gave him ??
Reply
#5

I want to type /text message1 (save "message1" in a temporary memory) message2 (save .....) message3 (save...) messagex(save..) and i want to display message1, message2 between 10 seconds (when i stay afk)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)