BeBot Output Functions

From Bebot Wiki 2
Revision as of 22:43, 16 September 2020 by B3b0tUzR (talk | contribs) (Created page with '====== 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 …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
BeBot Output Functions[edit]
send_output($to, $msg, $type)[edit]

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)[edit]

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)[edit]

Send $msg to private group.

send_gc($msg, $low=0)[edit]

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