Module:ns.wrap.php.text
From NoxBot the modular PHP IRC bot
| Module: ns.wrap.php.text | |
|---|---|
| Developer | Mark Sanders |
| Namespace | wrap.php |
| Authgroup | wrap_php |
| Commands | addcslashes wordwrap |
| 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
addcslashes
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "addcslashes". See also http://php.net/addcslashes
This command is a wrapper for the PHP function addcslashes.
addslashes
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "addslashes". See also http://php.net/addslashes
This command is a wrapper for the PHP function addslashes.
chr
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:integer
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "chr". See also http://php.net/chr
This command is a wrapper for the PHP function chr.
chunk_split
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, optional:positiveinteger, optional:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "chunk_split". See also http://php.net/chunk_split
This command is a wrapper for the PHP function chunk_split.
escapeshellarg
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "escapeshellarg". See also http://php.net/escapeshellarg
This command is a wrapper for the PHP function escapeshellarg.
escapeshellcmd
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "escapeshellcmd". See also http://php.net/escapeshellcmd
This command is a wrapper for the PHP function escapeshellcmd.
fnmatch
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, optional:constant
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "fnmatch". See also http://php.net/fnmatch
This command is a wrapper for the PHP function fnmatch.
lcfirst
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "lcfirst". See also http://php.net/lcfirst
This command is a wrapper for the PHP function lcfirst.
levenshtein
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, optional:integer, optional:integer, optional:integer
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "levenshtein". See also http://php.net/levenshtein
This command is a wrapper for the PHP function levenshtein.
ltrim
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, optional:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "ltrim". See also http://php.net/ltrim
This command is a wrapper for the PHP function ltrim.
metaphone
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, optional:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "metaphone". See also http://php.net/metaphone
This command is a wrapper for the PHP function metaphone.
nl2br
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, optional:boolean
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "nl2br". See also http://php.net/nl2br
This command is a wrapper for the PHP function nl2br.
number_format
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:number, optional:positiveinteger, optional:nonempty, optional:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "number_format". See also http://php.net/number_format
This command is a wrapper for the PHP function number_format.
ord
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "ord". See also http://php.net/ord
This command is a wrapper for the PHP function ord.
quotemeta
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "quotemeta". See also http://php.net/quotemeta
This command is a wrapper for the PHP function quotemeta.
rtrim
- AuthGroup: wrap_php
- Alias: chop
- Arguments: required:nonempty, optional:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "rtrim". See also http://php.net/rtrim
This command is a wrapper for the PHP function rtrim.
similar_text
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "similar_text". See also http://php.net/similar_text
This command is a wrapper for the PHP function similar_text.
soundex
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "soundex". See also http://php.net/soundex
This command is a wrapper for the PHP function soundex.
sprintf
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, any:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "sprintf". See also http://php.net/sprintf
This command is a wrapper for the PHP function sprintf.
str_ireplace
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, required:nonempty, optional:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "str_ireplace". See also http://php.net/str_ireplace
This command is a wrapper for the PHP function str_ireplace.
str_pad
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:integer, optional:nonempty, optional:constant
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "str_pad". See also http://php.net/str_pad
This command is a wrapper for the PHP function str_pad.
str_repeat
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "str_repeat". See also http://php.net/str_repeat
This command is a wrapper for the PHP function str_repeat.
str_replace
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, required:nonempty, optional:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "str_replace". See also http://php.net/str_replace
This command is a wrapper for the PHP function str_replace.
str_rot13
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "str_rot13". See also http://php.net/str_rot13
This command is a wrapper for the PHP function str_rot13.
str_shuffle
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "str_shuffle". See also http://php.net/str_shuffle
This command is a wrapper for the PHP function str_shuffle.
str_word_count
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, optional:positiveinteger, optional:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "str_word_count". See also http://php.net/str_word_count
This command is a wrapper for the PHP function str_word_count.
strcoll
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strcoll". See also http://php.net/strcoll
This command is a wrapper for the PHP function strcoll.
strcspn
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, optional:integer, optional:integer
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strcspn". See also http://php.net/strcspn
This command is a wrapper for the PHP function strcspn.
strip_tags
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, optional:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strip_tags". See also http://php.net/strip_tags
This command is a wrapper for the PHP function strip_tags.
stripcslashes
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "stripcslashes". See also http://php.net/stripcslashes
This command is a wrapper for the PHP function stripcslashes.
stripos
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, optional:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "stripos". See also http://php.net/stripos
This command is a wrapper for the PHP function stripos.
stripslashes
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "stripslashes". See also http://php.net/stripslashes
This command is a wrapper for the PHP function stripslashes.
stristr
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, optional:boolean
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "stristr". See also http://php.net/stristr
This command is a wrapper for the PHP function stristr.
strlen
- AuthGroup: wrap_php
- No aliases defined.
- Argument: optional:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strlen". See also http://php.net/strlen
This command is a wrapper for the PHP function strlen.
strpbrk
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strpbrk". See also http://php.net/strpbrk
This command is a wrapper for the PHP function strpbrk.
strpos
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, optional:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strpos". See also http://php.net/strpos
This command is a wrapper for the PHP function strpos.
strrchr
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strrchr". See also http://php.net/strrchr
This command is a wrapper for the PHP function strrchr.
strrev
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strrev". See also http://php.net/strrev
This command is a wrapper for the PHP function strrev.
strripos
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, optional:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strripos". See also http://php.net/strripos
This command is a wrapper for the PHP function strripos.
strrpos
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, optional:positiveinteger
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strrpos". See also http://php.net/strrpos
This command is a wrapper for the PHP function strrpos.
strspn
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, optional:integer, optional:integer
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strspn". See also http://php.net/strspn
This command is a wrapper for the PHP function strspn.
strstr
- AuthGroup: wrap_php
- Alias: strchr
- Arguments: required:nonempty, required:nonempty, optional:boolean
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strstr". See also http://php.net/strstr
This command is a wrapper for the PHP function strstr.
strtolower
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strtolower". See also http://php.net/strtolower
This command is a wrapper for the PHP function strtolower.
strtoupper
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strtoupper". See also http://php.net/strtoupper
This command is a wrapper for the PHP function strtoupper.
strtr
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "strtr". See also http://php.net/strtr
This command is a wrapper for the PHP function strtr.
substr
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:integer, optional:integer
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "substr". See also http://php.net/substr
This command is a wrapper for the PHP function substr.
substr_compare
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, required:integer, optional:integer, optional:boolean
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "substr_compare". See also http://php.net/substr_compare
This command is a wrapper for the PHP function substr_compare.
substr_count
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, optional:integer, optional:integer
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "substr_count". See also http://php.net/substr_count
This command is a wrapper for the PHP function substr_count.
substr_replace
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, required:integer, optional:integer
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "substr_replace". See also http://php.net/substr_replace
This command is a wrapper for the PHP function substr_replace.
trim
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, optional:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "trim". See also http://php.net/trim
This command is a wrapper for the PHP function trim.
ucfirst
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "ucfirst". See also http://php.net/ucfirst
This command is a wrapper for the PHP function ucfirst.
ucwords
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "ucwords". See also http://php.net/ucwords
This command is a wrapper for the PHP function ucwords.
version_compare
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, required:nonempty, optional:nonempty
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "version_compare". See also http://php.net/version_compare
This command is a wrapper for the PHP function version_compare.
wordwrap
- AuthGroup: wrap_php
- No aliases defined.
- Arguments: required:nonempty, optional:positiveinteger, optional:nonempty, optional:boolean
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "wordwrap". See also http://php.net/wordwrap
This command is a wrapper for the PHP function wordwrap.
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 | |||||

