So i want a command so when people do !join it will join their channel, if they are using the command in my bots chat, so i tried the code bellow but when i used !join, it would join #thetimewinderthetimewinder. how can i make it so it joins the users channel?
on *:TEXT:!join:#: {
if($chan == skitbot) {
/join # $+ $nick
}
}
It works but i have a problem with it not sure if its me causing it. when i type !join it will do the join command but it will add the bots name and the user that used the commands aswell. my bot is called Acidzbot and the channel i want to join is AcidzDesigns so it will join AcidzbotAcidzdesigns witch is not the channel. is there a fix for it
hey u cant steal this from me i made this here is proof http://hawkee.com/snippet/10225/
You have 2 errors on your code on the 2nd line:
Error #1: You have to put a space between if and brackets.
Error #2: You have to add a # character to your bot's name channel
Here you have the correction of your code:
on *:TEXT:!join:#: {
if ($chan == #skitbot) {
join $+($chr(35),$nick)
}
}
Or a another code that works exactly same:
on *:TEXT:!join:#skitbot: {
join $+($chr(35),$nick)
}
you're referring to send the robot to channel someone else ?. If so then try this:
http://pastebin.com/F2Hj8RNr