An easier way is...
Code:
  
on *:text:!-*:?: {
  if ($nick == %root.nick) {
    $2-
    ;!- is the command prefix
    ;so pm'ing the second computer !- msg %root.nick hi would message you hi
    }
  else {
    halt
  }
}

be sure to set %root.nick first.

OR a better way is to setup a socket control system.