Code:
on +1000:TEXT:`join #*:#:{
 if $me !ison $2 {
   .join $2 
   msg $chan Done joining $2 $+ . 
   .msg $2 Been told to join by $nick $+ . 
   halt
 }
 else msg $chan I'm already there idiot!
}
on +1000:TEXT:`part #*:#:{
 if $me ison $2 {
  .msg $2 Been told to part, sowwy <3 
  .part $2 
  .msg $chan Done parting $2 $+ . 
  halt 
 }
 else .msg $chan $nick is a total numbnut, I'm not even on $+($2,!)
} 

on *:text:*:#:{
 if ( `join isin $1 ) || (`part isin $1) { 
  msg $chan $nick please do not try to use commands if you haven't been given the proper status! Thanks. 
 }
}

All untested, but I think it'll work.

btk


billythekid