bebot_output_functions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

bebot_output_functions [2013/09/12 22:49]
bebot_output_functions [2020/09/12 01:30] (current)
Line 1: Line 1:
 +====== 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.