BeBot Output Functions

send_output($to, $msg, $type)

Wrapper for send_tell, send_pgroup, and send_gc. $type is an integer or string that specifies which channel to output.

  • 0: tell2 (deprecated)
  • 1: tell
  • 2: pgroup
  • 3: gc (org/guild chat)
  • 4: pgroup and gc
  • pgroup: pgroup
  • pgmsg: pgroup
  • gc: gc (org/guild chat)
  • tell: tell
  • both: pgroup and gc

send_tell($to, $msg, $low=0, $color=true)

Send tell message containing $msg to $to. Set $low to 1 on tells that are likely to cause spam. Set $color to false to send the tell without font color tags.

send_pgroup($msg)

Send $msg to private group.

send_gc($msg, $low=0)

Send $msg to gc. Set $low to 1 on tells that are likely to cause spam.

 
bebot_output_functions.txt · Last modified: 2013/09/12 22:49 (external edit)
[unknown button type]
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
WikiForumIRCBugs
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki