A network-based robot [1] is a robot that explores service servers in the network environment for analyzing sensor data and making decision. Since network-based robot architecture was proposed, it’s possible to reduce costs of robots. We hope robots would be all around at home environment. Therefore, normal users who are not experts need to be able to control those robots by using easy commands. We developed a scripting language, named CCSLR, to help users and developers who control various robots in ubiquitous environment. We focused on how to design the common language for various robots and how to translate a CCSLR script into a sequence of low-level commands of the target robot. In this paper, we propose scripting methods, with three layers. The CCSLR system reads the profile information from the knowledge representation database. Users don’t have to know all about kinematical and mechanical details of a robot. Then again, the CCSLR system will use the profile information to translate the script into separated executable library commands. The CCSLR system manages robot’s changing state every time a robot executes a command.