lojban MOO Lojban Commands: Difference between revisions
m (Text replace - "jbocre: k" to "k") |
m (Conversion script moved page Lojban MOO Lojban Commands to lojban MOO Lojban Commands: Converting page titles to lowercase) |
||
(7 intermediate revisions by one other user not shown) | |||
Line 12: | Line 12: | ||
communication section. | communication section. | ||
You might also want to look at the [[ | You might also want to look at the [[Lojban mooix Test Script|Lojban mooix Test Script]] for some usage examples. | ||
== Movement Commands == | == Movement Commands == | ||
Line 30: | Line 30: | ||
;shout out loud (just like saying, but your voice carries further):krixa/krixa 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 [[ | ;say to someone (others can hear you, though):cusku lu ... li'u [[name|name]]/cusku "..." [[name|name]] | ||
;shout to someone (others can hear you, though):krixa/krixa cusku lu ... li'u [[ | ;shout to someone (others can hear you, though):krixa/krixa cusku lu ... li'u [[name|name]]/cusku "..." [[name|name]] | ||
;whisper in general (others may be able to hear you):smasku lu ... li'u/smasku "..." | ;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 [[ | ;whisper to someone (others may be able to hear you):smasku lu ... li'u [[name|name]]/smasku "..." [[name|name]] | ||
;perform an action, assume a pose:jarco lu ...li'u/jarco "..." OR just :... | ;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 "[[string|string]]" la [[ | ;talk to someone not in the room, communicate telepathically:menli cusku/mensku "[[string|string]]" la [[name|name]] | ||
;talk to the same person not in the room:menli cusku/mensku "[[string|string]]" | ;talk to the same person not in the room:menli cusku/mensku "[[string|string]]" | ||
Line 54: | Line 54: | ||
for example "cinba la bab" presents both Lojbanic and English | for example "cinba la bab" presents both Lojbanic and English | ||
translations of "[[ | translations of "[[your name|your name]] kisses Bob.". There are also English | ||
equivalents. Many take a single argument, others take none; should | equivalents. Many take a single argument, others take none; should | ||
Line 111: | Line 111: | ||
;look around the room:viska | ;look around the room:viska | ||
;look at an object:viska [[ | ;look at an object:viska [[object|object]]/catlu [[object|object]] | ||
;pick up/take an object:cpacu/lebna/ponse/ralte [[ | ;pick up/take an object:cpacu/lebna/ponse/ralte [[object|object]] | ||
;drop an object:falgau [[ | ;drop an object:falgau [[object|object]] or [[object|object]] farlu | ||
;put an object on/under/behind/in another object:[[ | ;put an object on/under/behind/in another object:[[object|object]] cu cpana/cnita/trixe/nenri/se vasru [[object|object]] | ||
;look on top of/under/behind/in an object:ma cpana/cnita/trixe/nenri/se vasru [[ | ;look on top of/under/behind/in an object:ma cpana/cnita/trixe/nenri/se vasru [[object|object]] | ||
;put an object under another object:[[ | ;put an object under another object:[[object|object]] cu se gapru [[object|object]] | ||
;put an object somewhere:punji [[ | ;put an object somewhere:punji [[object|object]] [[object|object]] (defaults to cpana)/punji [[object|object]] le nenri/cpana/cnita/trixe be [[object|object]] | ||
;put an object somewhere:[[ | ;put an object somewhere:[[object|object]] cu klama/zvati [[object|object]] (defaults to cpana)/[[object|object]] cu klama/zvati le nenri/cpana/cnita/trixe be [[object|object]] | ||
;put an object inside/beneath another object:setca/nitygau [[ | ;put an object inside/beneath another object:setca/nitygau [[object|object]] [[object|object]] | ||
;close a container or a door:[[ | ;close a container or a door:[[object|object]] cu ganlo | ||
;open a container or a door:[[ | ;open a container or a door:[[object|object]] cu kalri | ||
;offer something to someone:friti [[ | ;offer something to someone:friti [[object|object]] [[user|user]]j | ||
;attack something:gunta [[ | ;attack something:gunta [[object|object]] | ||
;attack something with a weapon:[[ | ;attack something with a weapon:[[weapon|weapon]] xarci/tunta/janli [[target|target]] or darxi [[target|target]] [[weapon|weapon]] | ||
;wield a weapon:jgari [[ | ;wield a weapon:jgari [[weapon|weapon]] | ||
;throw an object:renro [[ | ;throw an object:renro [[object|object]] [[target: optional]] | ||
;put on clothes/jewelry:dasni [[ | ;put on clothes/jewelry:dasni [[object|object]] | ||
;take off clothes/jewelry:mo'u/co'u dasni [[ | ;take off clothes/jewelry:mo'u/co'u dasni [[object|object]] | ||
;lie down on a bed:vreta [[ | ;lie down on a bed:vreta [[object: optional]] | ||
;sit on a piece of furniture:zutse [[ | ;sit on a piece of furniture:zutse [[object: optional]] | ||
;stand up:sanli | ;stand up:sanli | ||
;stand on a piece of furniture:sanli [[ | ;stand on a piece of furniture:sanli [[object|object]] | ||
;use a consumable object:xakygau [[ | ;use a consumable object:xakygau [[object|object]] | ||
;teleport an object somwhere:[[ | ;teleport an object somwhere:[[object|object]] cu zvati [[location|location]] | ||
;teleport an object to your location:[[ | ;teleport an object to your location:[[object|object]] cu zvati ti | ||
;teleport an object to yourself:[[ | ;teleport an object to yourself:[[object|object]] cu zvati mi | ||
== Field Aliases == | == Field Aliases == | ||
Line 193: | Line 193: | ||
;get help in any language:mulsidju | ;get help in any language:mulsidju | ||
;get help on a particular topic:sidju/mulsidju fi "[[ | ;get help on a particular topic:sidju/mulsidju fi "[[topic|topic]]" | ||
;get a list of all help topics:sidju/mulsidju fi "liste" | ;get a list of all help topics:sidju/mulsidju fi "liste" | ||
Line 203: | Line 203: | ||
;list languages:selbau ma/ma bangu | ;list languages:selbau ma/ma bangu | ||
;select a language:selbau [[ | ;select a language:selbau [[language|language]]/[[language|language]] bangu | ||
;use an alternate language for a single command:[[ | ;use an alternate language for a single command:[[language|language]] bangu fi "[[command|command]]" | ||
;rename something:lu [[ | ;rename something:lu [[name|name]] li'u/"[[name|name]]" cu cmene [[object|object]] | ||
;set something's description:skicu [[ | ;set something's description:skicu [[object|object]] fo "[[description|description]]" | ||
;set your home to your current location:(ti/le se zvati be mi/etc) zdani mi | ;set your home to your current location:(ti/le se zvati be mi/etc) zdani mi | ||
;set a field to true (1):fa "[[field|field]]" po [[ | ;set a field to true (1):fa "[[field|field]]" po [[object|object]] cu jetnu | ||
;set a field to false (0):fa "[[field|field]]" po [[ | ;set a field to false (0):fa "[[field|field]]" po [[object|object]] cu na jetnu | ||
;set a field to false (0):fa "[[field|field]]" po [[ | ;set a field to false (0):fa "[[field|field]]" po [[object|object]] cu jitfa | ||
;make a shortcut to an object:lu [[short name|short name]] li'u tcita [[ | ;make a shortcut to an object:lu [[short name|short name]] li'u tcita [[object|object]] | ||
;remove a shortcut to an object:no da tcita [[ | ;remove a shortcut to an object:no da tcita [[object|object]]/na tcita [[object|object]] | ||
;list your shortcuts:tcita | ;list your shortcuts:tcita | ||
;set a field to a value:fa "[[field|field]]" po [[ | ;set a field to a value:fa "[[field|field]]" po [[object|object]] cu binxo lu [[setting|setting]] li'u/"[[setting|setting]]" | ||
;set a field to a value in another language:fa "[[field|field]]" po [[ | ;set a field to a value in another language:fa "[[field|field]]" po [[object|object]] cu binxo lu [[setting|setting]] li'u/"[[setting|setting]]" bau la [[language|language]] | ||
;edit a field on yourself ("name" and "description" are common choices):galfi "[[field|field]]" po mi | ;edit a field on yourself ("name" and "description" are common choices):galfi "[[field|field]]" po mi | ||
;edit a field on another object ("name" and "description" are common choices):galfi "[[field|field]]" po [[ | ;edit a field on another object ("name" and "description" are common choices):galfi "[[field|field]]" po [[object name|object name]] | ||
;editing in another language:galfi "[[field|field]]" po [[ | ;editing in another language:galfi "[[field|field]]" po [[object name|object name]] bau la [[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. | ;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. | ||
Line 243: | Line 243: | ||
=== Dictionaries === | === Dictionaries === | ||
;look for a dictionary entry:sisku "[[ | ;look for a dictionary entry:sisku "[[word|word]]"/lu valsi li'u le [[dictionary object|dictionary object]] | ||
=== Animals === | === Animals === | ||
Line 253: | Line 253: | ||
=== Weapons === | === Weapons === | ||
;wield a weapon:jgari le [[ | ;wield a weapon:jgari le [[weapon|weapon]] | ||
{ANAME()}build{ANAME} | {ANAME()}build{ANAME} | ||
Line 259: | Line 259: | ||
== Builder/Advanced Commands == | == Builder/Advanced Commands == | ||
You might want to look at the [[ | You might want to look at the [[Lojban mooix Test Script|Lojban mooix Test Script]] for some usage examples. | ||
=== Simple Object Creation Commands === | === Simple Object Creation Commands === | ||
Line 303: | Line 303: | ||
=== Other Builder/Advanced Commands === | === Other Builder/Advanced Commands === | ||
;teleport an object to nowhere (for parent objects):[[ | ;teleport an object to nowhere (for parent objects):[[object|object]] cu zvati no da | ||
;unset/remove a field:vimcu "[[field|field]]" [[ | ;unset/remove a field:vimcu "[[field|field]]" [[object|object]] | ||
;turn on logging:vreji | ;turn on logging:vreji | ||
Line 311: | Line 311: | ||
;display your log (thus erasing it):ma fasnu | ;display your log (thus erasing it):ma fasnu | ||
;destroy an object:daspo [[ | ;destroy an object:daspo [[object|object]] / [[object|object]] na zasti / [[object|object]] ba'o zasti | ||
;create an object:finti "[[ | ;create an object:finti "[[name|name]]"/lu [[name|name]] li'u fo [[class|class]] | ||
;create an object:zbasu "[[ | ;create an object:zbasu "[[name|name]]"/lu [[name|name]] li'u [[class|class]] / [[newobject|newobject]] cu [[class|class]] | ||
;create an object of the "thing" class:"[[ | ;create an object of the "thing" class:"[[name|name]]"/lu [[name|name]] li'u cu zasti | ||
;list classes:finti fo ma/jutsi/klesi/zbasu fi ma | ;list classes:finti fo ma/jutsi/klesi/zbasu fi ma | ||
Line 323: | Line 323: | ||
;list objects you've created:finti/zbasu ma | ;list objects you've created:finti/zbasu ma | ||
;list objects others have created:[[ | ;list objects others have created:[[user|user]] finti/zbasu ma | ||
;show lots of information about an object (show):lanli [[ | ;show lots of information about an object (show):lanli [[object|object]]/ckaji [[object|object]] ma | ||
;show ''lots'' of information about an object (showall):tcelanli [[ | ;show ''lots'' of information about an object (showall):tcelanli [[object|object]] | ||
;show one field of an object:lanli [[field|field]] po [[ | ;show one field of an object:lanli [[field|field]] po [[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 [[kumfa|kumfa]] cu berti/stici/snanu/stuna/gapru/cnita | ;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|kumfa]] cu berti/stici/snanu/stuna/gapru/cnita | ||
;dig a room with exits:le [[cliva|cliva]] ce'o le [[ | ;dig a room with exits:le [[cliva|cliva]] ce'o le [[xruti|xruti]] cu pluta le [[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 [[kumfa|kumfa]] | ;dig a room without exits:pluta le [[kumfa|kumfa]] | ||
;dig exits to an existing room:le [[cliva|cliva]] ce'o le [[ | ;dig exits to an existing room:le [[cliva|cliva]] ce'o le [[xruti|xruti]] cu pluta [[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 "[[field/method]]" po [[ | ;list a field or a method:catlu "[[field/method]]" po [[object|object]] | ||
;get usage/detailed information on an object:ma plitadji fi [[ | ;get usage/detailed information on an object:ma plitadji fi [[object|object]] | ||
;get usage/detailed information on a field or method:ma plitadji fi "[[field/method]]" po [[ | ;get usage/detailed information on a field or method:ma plitadji fi "[[field/method]]" po [[object|object]] | ||
;reparent an object:[[class|class]] cu rirni [[ | ;reparent an object:[[class|class]] cu rirni [[object|object]]/[[object|object]] cu [[class|class]] | ||
;set a field's UNIX permission mode:zifre fa "[[field|field]]" po [[ | ;set a field's UNIX permission mode:zifre fa "[[field|field]]" po [[object name|object name]] li [[mode number|mode number]] | ||
;run a shell command:samyminde "[[command|command]]" OR just !... | ;run a shell command:samyminde "[[command|command]]" OR just !... | ||
Line 353: | Line 353: | ||
;run a piece of Perl code in the mooix code environment:samyrucygau "[[code|code]]" OR just ;... | ;run a piece of Perl code in the mooix code environment:samyrucygau "[[code|code]]" OR just ;... | ||
;apply a filter to a room:[[filter object|filter object]] cu julne srana [[ | ;apply a filter to a room:[[filter object|filter object]] cu julne srana [[room|room]] | ||
;remove a filter from a room:[[filter object|filter object]] cu na julne srana [[ | ;remove a filter from a room:[[filter object|filter object]] cu na julne srana [[room|room]] | ||
;set/unset the "hidden" attribute on an object:mipri/na mipri [[ | ;set/unset the "hidden" attribute on an object:mipri/na mipri [[object|object]] | ||
;set/unset the "immobile" attribute on an object:[[ | ;set/unset the "immobile" attribute on an object:[[object|object]] cu ka'e muvdu/na ka'e muvdu |
Latest revision as of 08:22, 30 June 2014
{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 target: optional
- put on clothes/jewelry
- dasni object
- take off clothes/jewelry
- mo'u/co'u dasni object
- lie down on a bed
- vreta object: optional
- sit on a piece of furniture
- zutse 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 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 "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 "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