Module:ns.wrap.php.time
From NoxBot the modular PHP IRC bot
| Module: ns.wrap.php.time | |
|---|---|
| Developer | Mark Sanders |
| Namespace | wrap.php |
| Authgroup | wrap_php |
| Commands | checkdate time |
| Copyright | 2005-2009 Mark Sanders |
| License | GNU GPLv3 |
Description
This module is a generated module based on various functions in PHP.
The commands in here will act more or less identical to the functions in PHP although their argument handling is mostly checked before being passed to the actual function because of the way argument handling works.
Also the return values will always be a string and the incoming arguments the same. There is some magic performed around the return values to make them agreeable to the NoxScript way of dealing with them.
Errors are not captured or returned to the user although they may display in the console.
Some PHP functions may do things you would not want in a bot.
Use these commands at your own risk.
Commands
checkdate
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:positiveinteger, required:positiveinteger, required:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "checkdate". See also http://php.net/checkdate
This command is a wrapper for the PHP function checkdate.
date
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, optional:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "date". See also http://php.net/date
This command is a wrapper for the PHP function date.
gettimeofday
- AuthGroup: wrap_php
- No aliases defined.
- Argument: optional:boolean
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "gettimeofday". See also http://php.net/gettimeofday
This command is a wrapper for the PHP function gettimeofday.
gmdate
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, optional:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "gmdate". See also http://php.net/gmdate
This command is a wrapper for the PHP function gmdate.
gmmktime
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: optional:positiveinteger, optional:positiveinteger, optional:positiveinteger, optional:positiveinteger, optional:positiveinteger, optional:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "gmmktime". See also http://php.net/gmmktime
This command is a wrapper for the PHP function gmmktime.
gmstrftime
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, optional:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "gmstrftime". See also http://php.net/gmstrftime
This command is a wrapper for the PHP function gmstrftime.
idate
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, optional:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "idate". See also http://php.net/idate
This command is a wrapper for the PHP function idate.
microtime
- AuthGroup: wrap_php
- No aliases defined.
- Argument: optional:boolean
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "microtime". See also http://php.net/microtime
This command is a wrapper for the PHP function microtime.
mktime
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: optional:positiveinteger, optional:positiveinteger, optional:positiveinteger, optional:positiveinteger, optional:positiveinteger, optional:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "mktime". See also http://php.net/mktime
This command is a wrapper for the PHP function mktime.
strftime
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, optional:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strftime". See also http://php.net/strftime
This command is a wrapper for the PHP function strftime.
strtotime
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, optional:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strtotime". See also http://php.net/strtotime
This command is a wrapper for the PHP function strtotime.
time
- AuthGroup: wrap_php
- No aliases defined.
- No arguments
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "time". See also http://php.net/time
This command is a wrapper for the PHP function time.
Copyright and License
Copyright (C) 2005-2009 Mark Sanders
License: GNU GPLv3
User comments
|
Below you can find comments and annotations added by users. |
|
User comments can include false information. We are not responsble for the content posted by users. |
|
Useful links for NoxBot users | |||||
|
Browse through the functionality of NoxBot by | |||||
|
Useful links for NoxBot Developers and module writers | |||||

