lojban MOO Lojban Commands: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{maketoc} | |||
~tc~Up to date as of 7 Jul 2006. Check for new stuff using: | |||
mi ba | ls -lrt $(find /var/lib/mooix /usr/lib/mooix -type f -name '*.cmd.jbo') | less | ||
~/tc~ | |||
If you get really stuck, see "pray to the gods" in the | |||
communication section. | |||
You might also want to look at the [[jbocre: Lojban mooix Test Script|Lojban mooix Test Script]] for some usage examples. | |||
== Movement Commands == | |||
;go through an exit:klama [[jbocre: exit|exit]] (i.e. "klama le stici" to go west) | |||
;go through an exit:[[jbocre: exit|exit]] (i.e. "stici" to go west) | |||
;go to your home:zdakla/klama le zdani/zdani klama | |||
;list the exits out of the room you are in:ma pluta | |||
== Communication Commands == | |||
;say out loud:cusku lu ... li'u/cusku "..." OR just "... | |||
;shout out loud (just like saying, but your voice carries further):krixa/krixa cusku lu ... li'u/cusku "..." OR just "... | |||
;say to someone (others can hear you, though):cusku lu ... li'u [[jbocre: name|name]]/cusku "..." [[jbocre: name|name]] | |||
;shout to someone (others can hear you, though):krixa/krixa cusku lu ... li'u [[jbocre: name|name]]/cusku "..." [[jbocre: name|name]] | |||
;whisper in general (others may be able to hear you):smasku lu ... li'u/smasku "..." | |||
;whisper to someone (others may be able to hear you):smasku lu ... li'u [[jbocre: name|name]]/smasku "..." [[jbocre: name|name]] | |||
;perform an action, assume a pose:jarco lu ...li'u/jarco "..." OR just :... | |||
;talk to someone not in the room, communicate telepathically:menli cusku/mensku "[[jbocre: string|string]]" la [[jbocre: name|name]] | |||
;talk to the same person not in the room:menli cusku/mensku "[[jbocre: string|string]]" | |||
;pray to the gods (use to ask for help or request creation of something):pikci/ceirpikci/cevypikci loi cevni lu...li'u/lo nu ... | |||
;pray to the gods:pikci/ceirpikci/cevypikci fi lu...li'u/lo nu ... | |||
=== Social Expression Commands === | |||
These commands present a simple message in each available language; | |||
for example "cinba la bab" presents both Lojbanic and English | |||
translations of "[[jbocre: your name|your name]] kisses Bob.". There are also English | |||
equivalents. Many take a single argument, others take none; should | |||
be obvious from the meanings. | |||
* badri | |||
* cinba | |||
* cisma | |||
* ckire | |||
* cmila | |||
* coi | |||
* cortu | |||
* dansu | |||
* desku | |||
* desygau | |||
* dunku | |||
* fanza | |||
* fengu | |||
* gleki | |||
* je'e | |||
* jgira | |||
* klaku | |||
* nelci | |||
* plipe | |||
* prami | |||
* rinsa | |||
* sinma | |||
* steba | |||
* surla | |||
* tatpi | |||
* terpa | |||
* tugni | |||
* tungau | |||
* tunta | |||
* xebni | |||
== Interaction Commands == | |||
;list your inventory:ponse/ralte/bevri ma | |||
;look around the room:viska | |||
;look at an object:viska [[jbocre: object|object]]/catlu [[jbocre: object|object]] | |||
;pick up/take an object:cpacu/lebna/ponse/ralte [[jbocre: object|object]] | |||
;drop an object:falgau [[jbocre: object|object]] or [[jbocre: object|object]] farlu | |||
;put an object on/under/behind/in another object:[[jbocre: object|object]] cu cpana/cnita/trixe/nenri/se vasru [[jbocre: object|object]] | |||
;look on top of/under/behind/in an object:ma cpana/cnita/trixe/nenri/se vasru [[jbocre: object|object]] | |||
;put an object under another object:[[jbocre: object|object]] cu se gapru [[jbocre: object|object]] | |||
;put an object somewhere:punji [[jbocre: object|object]] [[jbocre: object|object]] (defaults to cpana)/punji [[jbocre: object|object]] le nenri/cpana/cnita/trixe be [[jbocre: object|object]] | |||
;put an object somewhere:[[jbocre: object|object]] cu klama/zvati [[jbocre: object|object]] (defaults to cpana)/[[jbocre: object|object]] cu klama/zvati le nenri/cpana/cnita/trixe be [[jbocre: object|object]] | |||
;put an object inside/beneath another object:setca/nitygau [[jbocre: object|object]] [[jbocre: object|object]] | |||
;close a container or a door:[[jbocre: object|object]] cu ganlo | |||
;open a container or a door:[[jbocre: object|object]] cu kalri | |||
;offer something to someone:friti [[jbocre: object|object]] [[jbocre: user|user]]j | |||
;attack something:gunta [[jbocre: object|object]] | |||
;attack something with a weapon:[[jbocre: weapon|weapon]] xarci/tunta/janli [[jbocre: target|target]] or darxi [[jbocre: target|target]] [[jbocre: weapon|weapon]] | |||
;wield a weapon:jgari [[jbocre: weapon|weapon]] | |||
;throw an object:renro [[jbocre: object|object]] [[jbocre: target: optional]] | |||
;put on clothes/jewelry:dasni [[jbocre: object|object]] | |||
;take off clothes/jewelry:mo'u/co'u dasni [[jbocre: object|object]] | |||
;lie down on a bed:vreta [[jbocre: object: optional]] | |||
;sit on a piece of furniture:zutse [[jbocre: object: optional]] | |||
;stand up:sanli | |||
;stand on a piece of furniture:sanli [[jbocre: object|object]] | |||
;use a consumable object:xakygau [[jbocre: object|object]] | |||
;teleport an object somwhere:[[jbocre: object|object]] cu zvati [[jbocre: location|location]] | |||
;teleport an object to your location:[[jbocre: object|object]] cu zvati ti | |||
;teleport an object to yourself:[[jbocre: object|object]] cu zvati mi | |||
== Field Aliases == | |||
Some of the commands below have entries like "[[jbocre: field|field]]", meaning | |||
that they take a zoi or " quote containing the name of a field on an | |||
object. Some of these have aliases in Lojban, as follows: | |||
;description:le ve skicu | |||
;name:le cmene | |||
;alias:le dukse cmene | |||
;detail:le tcila | |||
So that, for example, instead of saying "zoi zoi name zoi po mi cu | |||
binxo lu .i na cinri li'u" you can say "le cmene po mi cu binxo lu | |||
.i na cinri li'u". | |||
== Miscellaneous Commands == | |||
;change your password:mipri | |||
;get help:sidju | |||
;get help in any language:mulsidju | |||
;get help on a particular topic:sidju/mulsidju fi "[[jbocre: topic|topic]]" | |||
;get a list of all help topics:sidju/mulsidju fi "liste" | |||
;quit/leave:sipna/sisti | |||
;who's online:ma cikna | |||
;list languages:selbau ma/ma bangu | |||
;select a language:selbau [[jbocre: language|language]]/[[jbocre: language|language]] bangu | |||
;use an alternate language for a single command:[[jbocre: language|language]] bangu fi "[[jbocre: command|command]]" | |||
;rename something:lu [[jbocre: name|name]] li'u/"[[jbocre: name|name]]" cu cmene [[jbocre: object|object]] | |||
;set something's description:skicu [[jbocre: object|object]] fo "[[jbocre: description|description]]" | |||
;set your home to your current location:(ti/le se zvati be mi/etc) zdani mi | |||
;set a field to true (1):fa "[[jbocre: field|field]]" po [[jbocre: object|object]] cu jetnu | |||
;set a field to false (0):fa "[[jbocre: field|field]]" po [[jbocre: object|object]] cu na jetnu | |||
;set a field to false (0):fa "[[jbocre: field|field]]" po [[jbocre: object|object]] cu jitfa | |||
;make a shortcut to an object:lu [[jbocre: short name|short name]] li'u tcita [[jbocre: object|object]] | |||
;remove a shortcut to an object:no da tcita [[jbocre: object|object]]/na tcita [[jbocre: object|object]] | |||
;list your shortcuts:tcita | |||
;set a field to a value:fa "[[jbocre: field|field]]" po [[jbocre: object|object]] cu binxo lu [[jbocre: setting|setting]] li'u/"[[jbocre: setting|setting]]" | |||
;set a field to a value in another language:fa "[[jbocre: field|field]]" po [[jbocre: object|object]] cu binxo lu [[jbocre: setting|setting]] li'u/"[[jbocre: setting|setting]]" bau la [[jbocre: language|language]] | |||
;edit a field on yourself ("name" and "description" are common choices):galfi "[[jbocre: field|field]]" po mi | |||
;edit a field on another object ("name" and "description" are common choices):galfi "[[jbocre: field|field]]" po [[jbocre: object name|object name]] | |||
;editing in another language:galfi "[[jbocre: field|field]]" po [[jbocre: object name|object name]] bau la [[jbocre: language|language]] | |||
;programmer editing of hybrid or private fields:use "sampla galfi" instead of "galfi". If you don't know what this means, you don't need it. | |||
== Special Object Commands == | |||
These are commands that only apply to particular objects. | |||
=== Dictionaries === | |||
;look for a dictionary entry:sisku "[[jbocre: word|word]]"/lu valsi li'u le [[jbocre: dictionary object|dictionary object]] | |||
=== Animals === | |||
;feed an animal:le [[jbocre: animal|animal]] cu citka (optional: le [[jbocre: consumable|consumable]]) | |||
;feed an animal:ctigau le [[jbocre: animal|animal]] (optional: le [[jbocre: consumable|consumable]]) | |||
=== Weapons === | |||
;wield a weapon:jgari le [[jbocre: weapon|weapon]] | |||
{ANAME()}build{ANAME} | |||
== Builder/Advanced Commands == | |||
You might want to look at the [[jbocre: Lojban mooix Test Script|Lojban mooix Test Script]] for some usage examples. | |||
=== Simple Object Creation Commands === | |||
The following commands all work the same way; here's examples with bolci: | |||
* lu blanu bolci li'u cu bolci | |||
* le blanu bolci cu bolci | |||
* le blanu bolci cu zasti .i le blanu bolci cu bolci | |||
All three create a ball named "blanu bolci". The full list of such commands is: | |||
* taxfu | |||
* bolci | |||
* ckana | |||
* stizu | |||
* selcti | |||
* sfofa | |||
* vorme | |||
* fasnu | |||
* cidja | |||
* ralci | |||
* nilce | |||
* festi dacti | |||
* ckiku | |||
* jubme | |||
* dacti | |||
* xarci | |||
* vasru | |||
* kumfa | |||
You can also get this list (more or less) using "zbasu fi ma". | |||
=== Other Builder/Advanced Commands === | |||
;teleport an object to nowhere (for parent objects):[[jbocre: object|object]] cu zvati no da | |||
;unset/remove a field:vimcu "[[jbocre: field|field]]" [[jbocre: object|object]] | |||
;turn on logging:vreji | |||
;display your log (thus erasing it):ma fasnu | |||
;destroy an object:daspo [[jbocre: object|object]] / [[jbocre: object|object]] na zasti / [[jbocre: object|object]] ba'o zasti | |||
;create an object:finti "[[jbocre: name|name]]"/lu [[jbocre: name|name]] li'u fo [[jbocre: class|class]] | |||
;create an object:zbasu "[[jbocre: name|name]]"/lu [[jbocre: name|name]] li'u [[jbocre: class|class]] / [[jbocre: newobject|newobject]] cu [[jbocre: class|class]] | |||
;create an object of the "thing" class:"[[jbocre: name|name]]"/lu [[jbocre: name|name]] li'u cu zasti | |||
;list classes:finti fo ma/jutsi/klesi/zbasu fi ma | |||
;list objects you've created:finti/zbasu ma | |||
;list objects others have created:[[jbocre: user|user]] finti/zbasu ma | |||
;show lots of information about an object (show):lanli [[jbocre: object|object]]/ckaji [[jbocre: object|object]] ma | |||
;show ''lots'' of information about an object (showall):tcelanli [[jbocre: object|object]] | |||
;show one field of an object:lanli [[jbocre: field|field]] po [[jbocre: object|object]] | |||
;you can dig in any of the 6 cardinal directions (north, east, south, west, up, down) by specifying the room and the direction. This is the most usual way to create a new room, and automagically translates the exits for you:le [[jbocre: kumfa|kumfa]] cu berti/stici/snanu/stuna/gapru/cnita | |||
;dig a room with exits:le [[jbocre: cliva|cliva]] ce'o le [[jbocre: xruti|xruti]] cu pluta le [[jbocre: kumfa|kumfa]] ti (can also use quotes instead of gadri + sumti; this is important if there's already an object of that name in the room you are in) | |||
;dig a room without exits:pluta le [[jbocre: kumfa|kumfa]] | |||
;dig exits to an existing room:le [[jbocre: cliva|cliva]] ce'o le [[jbocre: xruti|xruti]] cu pluta [[jbocre: la'o zoi mooix:portfolio/kumfa zoi]] ti (can also use quotes instead of gadri + sumti; this is important if there's already an object of that name in the room you are in) | |||
;list a field or a method:catlu "[[jbocre: field/method]]" po [[jbocre: object|object]] | |||
;get usage/detailed information on an object:ma plitadji fi [[jbocre: object|object]] | |||
;get usage/detailed information on a field or method:ma plitadji fi "[[jbocre: field/method]]" po [[jbocre: object|object]] | |||
;reparent an object:[[jbocre: class|class]] cu rirni [[jbocre: object|object]]/[[jbocre: object|object]] cu [[jbocre: class|class]] | |||
;set a field's UNIX permission mode:zifre fa "[[jbocre: field|field]]" po [[jbocre: object name|object name]] li [[jbocre: mode number|mode number]] | |||
;run a shell command:samyminde "[[jbocre: command|command]]" OR just !... | |||
;run a piece of Perl code in the mooix code environment:samyrucygau "[[jbocre: code|code]]" OR just ;... | |||
;apply a filter to a room:[[jbocre: filter object|filter object]] cu julne srana [[jbocre: room|room]] | |||
;remove a filter from a room:[[jbocre: filter object|filter object]] cu na julne srana [[jbocre: room|room]] | |||
;set/unset the "hidden" attribute on an object:mipri/na mipri [[jbocre: object|object]] | |||
;set/unset the "immobile" attribute on an object:[[jbocre: object|object]] cu ka'e muvdu/na ka'e muvdu |
Revision as of 17:02, 4 November 2013
{maketoc}
~tc~Up to date as of 7 Jul 2006. Check for new stuff using:
ls -lrt $(find /var/lib/mooix /usr/lib/mooix -type f -name '*.cmd.jbo') | less
~/tc~
If you get really stuck, see "pray to the gods" in the
communication section.
You might also want to look at the Lojban mooix Test Script for some usage examples.
Movement Commands
- go through an exit
- klama exit (i.e. "klama le stici" to go west)
- go through an exit
- exit (i.e. "stici" to go west)
- go to your home
- zdakla/klama le zdani/zdani klama
- list the exits out of the room you are in
- ma pluta
Communication Commands
- say out loud
- cusku lu ... li'u/cusku "..." OR just "...
- shout out loud (just like saying, but your voice carries further)
- krixa/krixa cusku lu ... li'u/cusku "..." OR just "...
- whisper in general (others may be able to hear you)
- smasku lu ... li'u/smasku "..."
- perform an action, assume a pose
- jarco lu ...li'u/jarco "..." OR just :...
- talk to the same person not in the room
- menli cusku/mensku "string"
- pray to the gods (use to ask for help or request creation of something)
- pikci/ceirpikci/cevypikci loi cevni lu...li'u/lo nu ...
- pray to the gods
- pikci/ceirpikci/cevypikci fi lu...li'u/lo nu ...
Social Expression Commands
These commands present a simple message in each available language;
for example "cinba la bab" presents both Lojbanic and English
translations of "your name kisses Bob.". There are also English
equivalents. Many take a single argument, others take none; should
be obvious from the meanings.
- badri
- cinba
- cisma
- ckire
- cmila
- coi
- cortu
- dansu
- desku
- desygau
- dunku
- fanza
- fengu
- gleki
- je'e
- jgira
- klaku
- nelci
- plipe
- prami
- rinsa
- sinma
- steba
- surla
- tatpi
- terpa
- tugni
- tungau
- tunta
- xebni
Interaction Commands
- list your inventory
- ponse/ralte/bevri ma
- look around the room
- viska
- pick up/take an object
- cpacu/lebna/ponse/ralte object
- look on top of/under/behind/in an object
- ma cpana/cnita/trixe/nenri/se vasru object
- put an object somewhere
- punji object object (defaults to cpana)/punji object le nenri/cpana/cnita/trixe be object
- put an object somewhere
- object cu klama/zvati object (defaults to cpana)/object cu klama/zvati le nenri/cpana/cnita/trixe be object
- close a container or a door
- object cu ganlo
- open a container or a door
- object cu kalri
- attack something
- gunta object
- wield a weapon
- jgari weapon
- throw an object
- renro object jbocre: target: optional
- put on clothes/jewelry
- dasni object
- take off clothes/jewelry
- mo'u/co'u dasni object
- lie down on a bed
- vreta jbocre: object: optional
- sit on a piece of furniture
- zutse jbocre: object: optional
- stand up
- sanli
- stand on a piece of furniture
- sanli object
- use a consumable object
- xakygau object
- teleport an object to your location
- object cu zvati ti
- teleport an object to yourself
- object cu zvati mi
Field Aliases
Some of the commands below have entries like "field", meaning
that they take a zoi or " quote containing the name of a field on an
object. Some of these have aliases in Lojban, as follows:
- description
- le ve skicu
- name
- le cmene
- alias
- le dukse cmene
- detail
- le tcila
So that, for example, instead of saying "zoi zoi name zoi po mi cu
binxo lu .i na cinri li'u" you can say "le cmene po mi cu binxo lu
.i na cinri li'u".
Miscellaneous Commands
- change your password
- mipri
- get help
- sidju
- get help in any language
- mulsidju
- get help on a particular topic
- sidju/mulsidju fi "topic"
- get a list of all help topics
- sidju/mulsidju fi "liste"
- quit/leave
- sipna/sisti
- who's online
- ma cikna
- list languages
- selbau ma/ma bangu
- set something's description
- skicu object fo "description"
- set your home to your current location
- (ti/le se zvati be mi/etc) zdani mi
- make a shortcut to an object
- lu short name li'u tcita object
- list your shortcuts
- tcita
- set a field to a value in another language
- fa "field" po object cu binxo lu setting li'u/"setting" bau la language
- edit a field on yourself ("name" and "description" are common choices)
- galfi "field" po mi
- edit a field on another object ("name" and "description" are common choices)
- galfi "field" po object name
- editing in another language
- galfi "field" po object name bau la language
- programmer editing of hybrid or private fields
- use "sampla galfi" instead of "galfi". If you don't know what this means, you don't need it.
Special Object Commands
These are commands that only apply to particular objects.
Dictionaries
- look for a dictionary entry
- sisku "word"/lu valsi li'u le dictionary object
Animals
- feed an animal
- le animal cu citka (optional: le consumable)
- feed an animal
- ctigau le animal (optional: le consumable)
Weapons
- wield a weapon
- jgari le weapon
{ANAME()}build{ANAME}
Builder/Advanced Commands
You might want to look at the Lojban mooix Test Script for some usage examples.
Simple Object Creation Commands
The following commands all work the same way; here's examples with bolci:
- lu blanu bolci li'u cu bolci
- le blanu bolci cu bolci
- le blanu bolci cu zasti .i le blanu bolci cu bolci
All three create a ball named "blanu bolci". The full list of such commands is:
- taxfu
- bolci
- ckana
- stizu
- selcti
- sfofa
- vorme
- fasnu
- cidja
- ralci
- nilce
- festi dacti
- ckiku
- jubme
- dacti
- xarci
- vasru
- kumfa
You can also get this list (more or less) using "zbasu fi ma".
Other Builder/Advanced Commands
- teleport an object to nowhere (for parent objects)
- object cu zvati no da
- turn on logging
- vreji
- display your log (thus erasing it)
- ma fasnu
- list classes
- finti fo ma/jutsi/klesi/zbasu fi ma
- list objects you've created
- finti/zbasu ma
- list objects others have created
- user finti/zbasu ma
- show lots of information about an object (showall)
- tcelanli object
- you can dig in any of the 6 cardinal directions (north, east, south, west, up, down) by specifying the room and the direction. This is the most usual way to create a new room, and automagically translates the exits for you
- le kumfa cu berti/stici/snanu/stuna/gapru/cnita
- dig a room with exits
- le cliva ce'o le xruti cu pluta le kumfa ti (can also use quotes instead of gadri + sumti; this is important if there's already an object of that name in the room you are in)
- dig a room without exits
- pluta le kumfa
- dig exits to an existing room
- le cliva ce'o le xruti cu pluta jbocre: la'o zoi mooix:portfolio/kumfa zoi ti (can also use quotes instead of gadri + sumti; this is important if there's already an object of that name in the room you are in)
- list a field or a method
- catlu "jbocre: field/method" po object
- get usage/detailed information on an object
- ma plitadji fi object
- get usage/detailed information on a field or method
- ma plitadji fi "jbocre: field/method" po object
- set a field's UNIX permission mode
- zifre fa "field" po object name li mode number
- run a shell command
- samyminde "command" OR just !...
- run a piece of Perl code in the mooix code environment
- samyrucygau "code" OR just ;...
- apply a filter to a room
- filter object cu julne srana room
- remove a filter from a room
- filter object cu na julne srana room
- set/unset the "hidden" attribute on an object
- mipri/na mipri object
- set/unset the "immobile" attribute on an object
- object cu ka'e muvdu/na ka'e muvdu