Module:ns.wrap.php.text

From NoxBot the modular PHP IRC bot

Jump to: navigation, search
Module: ns.wrap.php.text
DeveloperMark Sanders
Namespacewrap.php
Authgroupwrap_php
Commandsaddcslashes

addslashes

chr

chunk_split

escapeshellarg

escapeshellcmd

fnmatch

lcfirst

levenshtein

ltrim

metaphone

nl2br

number_format

ord

quotemeta

rtrim

similar_text

soundex

sprintf

str_ireplace

str_pad

str_repeat

str_replace

str_rot13

str_shuffle

str_word_count

strcoll

strcspn

strip_tags

stripcslashes

stripos

stripslashes

stristr

strlen

strpbrk

strpos

strrchr

strrev

strripos

strrpos

strspn

strstr

strtolower

strtoupper

strtr

substr

substr_compare

substr_count

substr_replace

trim

ucfirst

ucwords

version_compare

wordwrap
Copyright2005-2009 Mark Sanders
LicenseGNU 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

This command is a wrapper for the PHP function addcslashes.


addslashes

This command is a wrapper for the PHP function addslashes.


chr

This command is a wrapper for the PHP function chr.


chunk_split

This command is a wrapper for the PHP function chunk_split.


escapeshellarg

This command is a wrapper for the PHP function escapeshellarg.


escapeshellcmd

This command is a wrapper for the PHP function escapeshellcmd.


fnmatch

This command is a wrapper for the PHP function fnmatch.


lcfirst

This command is a wrapper for the PHP function lcfirst.


levenshtein

This command is a wrapper for the PHP function levenshtein.


ltrim

This command is a wrapper for the PHP function ltrim.


metaphone

This command is a wrapper for the PHP function metaphone.


nl2br

This command is a wrapper for the PHP function nl2br.


number_format

This command is a wrapper for the PHP function number_format.


ord

This command is a wrapper for the PHP function ord.


quotemeta

This command is a wrapper for the PHP function quotemeta.


rtrim

This command is a wrapper for the PHP function rtrim.


similar_text

This command is a wrapper for the PHP function similar_text.


soundex

This command is a wrapper for the PHP function soundex.


sprintf

This command is a wrapper for the PHP function sprintf.


str_ireplace

This command is a wrapper for the PHP function str_ireplace.


str_pad

This command is a wrapper for the PHP function str_pad.


str_repeat

This command is a wrapper for the PHP function str_repeat.


str_replace

This command is a wrapper for the PHP function str_replace.


str_rot13

This command is a wrapper for the PHP function str_rot13.


str_shuffle

This command is a wrapper for the PHP function str_shuffle.


str_word_count

This command is a wrapper for the PHP function str_word_count.


strcoll

This command is a wrapper for the PHP function strcoll.


strcspn

This command is a wrapper for the PHP function strcspn.


strip_tags

This command is a wrapper for the PHP function strip_tags.


stripcslashes

This command is a wrapper for the PHP function stripcslashes.


stripos

This command is a wrapper for the PHP function stripos.


stripslashes

This command is a wrapper for the PHP function stripslashes.


stristr

This command is a wrapper for the PHP function stristr.


strlen

This command is a wrapper for the PHP function strlen.


strpbrk

This command is a wrapper for the PHP function strpbrk.


strpos

This command is a wrapper for the PHP function strpos.


strrchr

This command is a wrapper for the PHP function strrchr.


strrev

This command is a wrapper for the PHP function strrev.


strripos

This command is a wrapper for the PHP function strripos.


strrpos

This command is a wrapper for the PHP function strrpos.


strspn

This command is a wrapper for the PHP function strspn.


strstr

This command is a wrapper for the PHP function strstr.


strtolower

This command is a wrapper for the PHP function strtolower.


strtoupper

This command is a wrapper for the PHP function strtoupper.


strtr

This command is a wrapper for the PHP function strtr.


substr

This command is a wrapper for the PHP function substr.


substr_compare

This command is a wrapper for the PHP function substr_compare.


substr_count

This command is a wrapper for the PHP function substr_count.


substr_replace

This command is a wrapper for the PHP function substr_replace.


trim

This command is a wrapper for the PHP function trim.


ucfirst

This command is a wrapper for the PHP function ucfirst.


ucwords

This command is a wrapper for the PHP function ucwords.


version_compare

This command is a wrapper for the PHP function version_compare.


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

Add a comment

Below you can find comments and annotations added by users.

Comments

No comments added yet. Be the first to add a new comment. Be sure that you understand the guidelines of commenting.

Add a comment

User comments can include false information.

We are not responsble for the content posted by users.

Comments

Useful links for NoxBot users

Documentation home

Live Support

Credits

Licensing

Known bugs

Requested features

Browse through the functionality of NoxBot by

Modules

Commands

Validators

Namespaces

AuthGroups

Developers

Useful links for NoxBot Developers and module writers

Api reference

SVN repository

Trac timeline

Roadmap

Active tickets

Create ticket

Personal tools