This is a script I made for when i wanted to have my own little "bot" joining rooms and parting rooms without having to actually type the command to join/part the room. If you find any flaws please let me know :)
To use put in remotes and type .join or .part #channel ( Replace "Nick" with your nick you use ) pretty much easy unless your new to using scripts.
on *:text:*:#: {
if ($left($2,1) != $chr(35)) && ($istok(join part,$1,32)) {
set %r $strip($1)
%r $+($chr(35),$strip($2))
unset %r
}
elseif ($istok(join part,$1,32)) {
set %r $strip($1)
%r $strip($2)
unset %r
}
else {
halt
}
}