logs in -> *you must wait 10 minutes before speaking* -> *logsout*.
|
logs in -> *you must wait 10 minutes before speaking* -> *logsout*.
Don't work with 508+ though it can't be much difference between the code that would be used.
Just have it so upon first login a timer is created. Give the timer a number, (10 minutes = 600 seconds), and have it count down.
To stop them from typing, look for your chat method and have:
Code:if (timer >= 1) { sendMessage("You can't talk for "+timer+" more seconds."); return; }
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |