Code: Select all
bind pub -|- $thisbot(cmdchar)topic myown:pub_topic
proc myown:pub_topic {n uh h c a} {
putlog "pub topic n: $n uh: $uh h: $h c: $c a: $a"
return 1
}
Code: Select all
/ctcp bot chat
Code: Select all
set nick "botnick-[rand 10][rand 10][rand 10][rand 10][rand 10]"
rand <limit>
Returns: a random integer between 0 and limit-1
Module: core