Module:ns.wrap.php.info
From NoxBot the modular PHP IRC bot
| Module: ns.wrap.php.info | |
|---|---|
| Developer | Mark Sanders |
| Namespace | wrap.php |
| Authgroup | wrap_php |
| Commands | defined zend_version |
| 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
defined
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:regex(/^[a-z_]+$/i)
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "defined". See also http://php.net/defined
This command is a wrapper for the PHP function defined.
disk_free_space
- AuthGroup: wrap_php
- Alias: diskfreespace
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "disk_free_space". See also http://php.net/disk_free_space
This command is a wrapper for the PHP function disk_free_space.
disk_total_space
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "disk_total_space". See also http://php.net/disk_total_space
This command is a wrapper for the PHP function disk_total_space.
extension_loaded
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:regex(/^[a-z_]+$/i)
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "extension_loaded". See also http://php.net/extension_loaded
This command is a wrapper for the PHP function extension_loaded.
gc_enabled
- AuthGroup: wrap_php
- No aliases defined.
- No arguments
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "gc_enabled". See also http://php.net/gc_enabled
This command is a wrapper for the PHP function gc_enabled.
get_cfg_var
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "get_cfg_var". See also http://php.net/get_cfg_var
This command is a wrapper for the PHP function get_cfg_var.
get_current_user
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "get_current_user". See also http://php.net/get_current_user
This command is a wrapper for the PHP function get_current_user.
get_include_path
- AuthGroup: wrap_php
- No aliases defined.
- No arguments
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "get_include_path". See also http://php.net/get_include_path
This command is a wrapper for the PHP function get_include_path.
getenv
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "getenv". See also http://php.net/getenv
This command is a wrapper for the PHP function getenv.
gethostname
- AuthGroup: wrap_php
- No aliases defined.
- No arguments
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "gethostname". See also http://php.net/gethostname
This command is a wrapper for the PHP function gethostname.
getmygid
- AuthGroup: wrap_php
- No aliases defined.
- No arguments
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "getmygid". See also http://php.net/getmygid
This command is a wrapper for the PHP function getmygid.
getmypid
- AuthGroup: wrap_php
- No aliases defined.
- No arguments
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "getmypid". See also http://php.net/getmypid
This command is a wrapper for the PHP function getmypid.
getmyuid
- AuthGroup: wrap_php
- No aliases defined.
- No arguments
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "getmyuid". See also http://php.net/getmyuid
This command is a wrapper for the PHP function getmyuid.
memory_get_peak_usage
- AuthGroup: wrap_php
- No aliases defined.
- Argument: optional:boolean
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "memory_get_peak_usage". See also http://php.net/memory_get_peak_usage
This command is a wrapper for the PHP function memory_get_peak_usage.
memory_get_usage
- AuthGroup: wrap_php
- No aliases defined.
- Argument: optional:boolean
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "memory_get_usage". See also http://php.net/memory_get_usage
This command is a wrapper for the PHP function memory_get_usage.
php_egg_logo_guid
- AuthGroup: wrap_php
- No aliases defined.
- No arguments
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "php_egg_logo_guid". See also http://php.net/php_egg_logo_guid
This command is a wrapper for the PHP function php_egg_logo_guid.
php_logo_guid
- AuthGroup: wrap_php
- No aliases defined.
- No arguments
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "php_logo_guid". See also http://php.net/php_logo_guid
This command is a wrapper for the PHP function php_logo_guid.
php_sapi_name
- AuthGroup: wrap_php
- No aliases defined.
- No arguments
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "php_sapi_name". See also http://php.net/php_sapi_name
This command is a wrapper for the PHP function php_sapi_name.
phpversion
- AuthGroup: wrap_php
- No aliases defined.
- Argument: optional:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "phpversion". See also http://php.net/phpversion
This command is a wrapper for the PHP function phpversion.
sys_get_temp_dir
- AuthGroup: wrap_php
- No aliases defined.
- No arguments
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "sys_get_temp_dir". See also http://php.net/sys_get_temp_dir
This command is a wrapper for the PHP function sys_get_temp_dir.
uname
- AuthGroup: wrap_php
- No aliases defined.
- Argument: optional:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "php_uname". See also http://php.net/php_uname
This command is a wrapper for the PHP function php_uname.
zend_logo_guid
- AuthGroup: wrap_php
- No aliases defined.
- No arguments
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "zend_logo_guid". See also http://php.net/zend_logo_guid
This command is a wrapper for the PHP function zend_logo_guid.
zend_version
- AuthGroup: wrap_php
- No aliases defined.
- No arguments
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "zend_version". See also http://php.net/zend_version
This command is a wrapper for the PHP function zend_version.
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 | |||||

