BeBot Output Functions
From Bebot Wiki 2
Jump to navigationJump to searchBeBot 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.