mode
Name
mode -- Changes user/channel-mode
Synopsis
void mode
(string target, string mode);
Description
Modes are used to define settings for channels and users. See RFC 1459 section 4.2.3
for the available modes (Appendix A).
Example 3-1. Op a user
$this->mode("#wollabot", "+o razor");