Module:ns.wrap.php.bcmath
From NoxBot the modular PHP IRC bot
| Module: ns.wrap.php.bcmath | |
|---|---|
| Developer | Mark Sanders |
| Namespace | wrap.php |
| Authgroup | wrap_php |
| Commands | add sub |
| 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.
The extensions are: bcmath.
Commands
add
- AuthGroup: wrap_php
- Alias: +
- Arguments: required:bignumber, required:bignumber, optional:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "bcadd". See also http://php.net/bcadd
This command is a wrapper for the PHP function bcadd.
bcscale
- AuthGroup: wrap_php
- No aliases defined.
- Argument: required:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "bcscale". See also http://php.net/bcscale
This command is a wrapper for the PHP function bcscale.
comp
- AuthGroup: wrap_php
- Alias: =
- Arguments: required:bignumber, required:bignumber, optional:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "bccomp". See also http://php.net/bccomp
This command is a wrapper for the PHP function bccomp.
div
- AuthGroup: wrap_php
- Alias: /
- Arguments: required:bignumber, required:bignumber, optional:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "bcdiv". See also http://php.net/bcdiv
This command is a wrapper for the PHP function bcdiv.
mod
- AuthGroup: wrap_php
- Alias: %
- Arguments: required:bignumber, required:bignumber
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "bcmod". See also http://php.net/bcmod
This command is a wrapper for the PHP function bcmod.
mul
- AuthGroup: wrap_php
- Alias: *
- Arguments: required:bignumber, required:bignumber, optional:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "bcmul". See also http://php.net/bcmul
This command is a wrapper for the PHP function bcmul.
pow
- AuthGroup: wrap_php
- Alias: **
- Arguments: required:bignumber, required:bignumber, optional:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "bcpow". See also http://php.net/bcpow
This command is a wrapper for the PHP function bcpow.
powmod
- AuthGroup: wrap_php
- Alias: **%
- Arguments: required:bignumber, required:bignumber, required:bignumber, optional:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "bcpowmod". See also http://php.net/bcpowmod
This command is a wrapper for the PHP function bcpowmod.
sqrt
- AuthGroup: wrap_php
- Alias: //
- Arguments: required:bignumber, optional:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "bcsqrt". See also http://php.net/bcsqrt
This command is a wrapper for the PHP function bcsqrt.
sub
- AuthGroup: wrap_php
- Alias: -
- Arguments: required:bignumber, required:bignumber, optional:number
- Chaining: Chaining capable
- Help line: Equivalant to PHP's function: "bcsub". See also http://php.net/bcsub
This command is a wrapper for the PHP function bcsub.
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 | |||||

