Module:ns.wrap.php.net
From NoxBot the modular PHP IRC bot
| Module: ns.wrap.php.net | |
|---|---|
| Developer | Mark Sanders |
| Namespace | wrap.php |
| Authgroup | wrap_php |
| Commands | checkdnsrr long2ip |
| 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
checkdnsrr
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:host, optional:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "checkdnsrr". See also http://php.net/checkdnsrr
This command is a wrapper for the PHP function checkdnsrr.
gethostbyaddr
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:ip
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "gethostbyaddr". See also http://php.net/gethostbyaddr
This command is a wrapper for the PHP function gethostbyaddr.
gethostbyname
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:host
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "gethostbyname". See also http://php.net/gethostbyname
This command is a wrapper for the PHP function gethostbyname.
gethostbynamel
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:host
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "gethostbynamel". See also http://php.net/gethostbynamel
This command is a wrapper for the PHP function gethostbynamel.
getprotobyname
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "getprotobyname". See also http://php.net/getprotobyname
This command is a wrapper for the PHP function getprotobyname.
getprotobynumber
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:integer
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "getprotobynumber". See also http://php.net/getprotobynumber
This command is a wrapper for the PHP function getprotobynumber.
getservbyname
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "getservbyname". See also http://php.net/getservbyname
This command is a wrapper for the PHP function getservbyname.
getservbyport
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:integer, required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "getservbyport". See also http://php.net/getservbyport
This command is a wrapper for the PHP function getservbyport.
inet_ntop
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:ip
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "inet_ntop". See also http://php.net/inet_ntop
This command is a wrapper for the PHP function inet_ntop.
inet_pton
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:host
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "inet_pton". See also http://php.net/inet_pton
This command is a wrapper for the PHP function inet_pton.
ip2long
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:ipv4
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "ip2long". See also http://php.net/ip2long
This command is a wrapper for the PHP function ip2long.
long2ip
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "long2ip". See also http://php.net/long2ip
This command is a wrapper for the PHP function long2ip.
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 | |||||

