-
Notifications
You must be signed in to change notification settings - Fork 28
Time Intervals
Gocnak edited this page Dec 6, 2014
·
1 revision
Whenever a command requires a time interval, the time interval can be of the following format:
Xmin or Xm || X number of minutes || Example: "2min" or "2m" = 2 minutes, or 120 seconds
XminYsec or XmYs || X minutes, Y seconds || Example: "2min45sec" or "2m45s" = 2 minutes and 45 seconds or 165 seconds
X (in seconds) || X number of seconds || Example: "45" = 45 seconds
X (milliseconds) || X milliseconds || Example: "10000" = 10 seconds
Milliseconds are in the thousands, so doing any number from 0 to 999 will result in Botnak thinking you mean up to 999 seconds! It is better to just stick to minutes or seconds anyways, but if you want to include sub-seconds, it would be wise to use milliseconds then. (1500 milliseconds = 1.5 seconds)
The user poll command requires a time interval. So doing:
!startpoll 2m30s Half-Life 2]Portal]Left 4 Dead]Just Code
or
!startpoll 150 Half-Life 2]Portal]Left 4 Dead]Just Code
or
!startpoll 150000 Half-Life 2]Portal]Left 4 Dead]Just Code
will produce a poll that lasts 2 minutes and 30 seconds.