Module:ns.wrap.php.lists
From NoxBot the modular PHP IRC bot
| Module: ns.wrap.php.lists | |
|---|---|
| Developer | Mark Sanders |
| Namespace | wrap.php |
| Authgroup | wrap_php |
| Commands | count unserialize |
| 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
count
- AuthGroup: wrap_php
- No aliases defined.
- Argument: many:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "count". See also http://php.net/count
This command is a wrapper for the PHP function count.
explode
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, optional:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "explode". See also http://php.net/explode
This command is a wrapper for the PHP function explode.
fill
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:positiveinteger, required:positiveinteger, required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "array_fill". See also http://php.net/array_fill
This command is a wrapper for the PHP function array_fill.
implode
- AuthGroup: wrap_php
- Alias: join
- Arguments: required:nonempty, many:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "implode". See also http://php.net/implode
This command is a wrapper for the PHP function implode.
in_array
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, many:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "in_array". See also http://php.net/in_array
This command is a wrapper for the PHP function in_array.
natcasesort
- AuthGroup: wrap_php
- No aliases defined.
- Argument: many:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "natcasesort". See also http://php.net/natcasesort
This command is a wrapper for the PHP function natcasesort.
natsort
- AuthGroup: wrap_php
- No aliases defined.
- Argument: many:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "natsort". See also http://php.net/natsort
This command is a wrapper for the PHP function natsort.
range
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, optional:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "range". See also http://php.net/range
This command is a wrapper for the PHP function range.
reverse
- AuthGroup: wrap_php
- No aliases defined.
- Argument: many:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "array_reverse". See also http://php.net/array_reverse
This command is a wrapper for the PHP function array_reverse.
rsort
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: optional:constant, many:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "rsort". See also http://php.net/rsort
This command is a wrapper for the PHP function rsort.
This is done so that the last argument is the list (array) for the command.
search
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, many:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "array_search". See also http://php.net/array_search
This command is a wrapper for the PHP function array_search.
serialize
- AuthGroup: wrap_php
- No aliases defined.
- Argument: many:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "serialize". See also http://php.net/serialize
This command is a wrapper for the PHP function serialize.
shuffle
- AuthGroup: wrap_php
- No aliases defined.
- Argument: many:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "shuffle". See also http://php.net/shuffle
This command is a wrapper for the PHP function shuffle.
sort
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: optional:constant, many:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "sort". See also http://php.net/sort
This command is a wrapper for the PHP function sort.
This is done so that the last argument is the list (array) for the command.
str_split
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, optional:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "str_split". See also http://php.net/str_split
This command is a wrapper for the PHP function str_split.
unique
- AuthGroup: wrap_php
- No aliases defined.
- Argument: many:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "array_unique". See also http://php.net/array_unique
This command is a wrapper for the PHP function array_unique.
unserialize
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "unserialize". See also http://php.net/unserialize
This command is a wrapper for the PHP function unserialize.
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 | |||||

