(→post) |
|||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Migrated to|:en:ARK, expert}} | ||
{{tabLang|EN|ARCC Expert DE|ARCC Expert EN|ARCC Expert ES|ARCC Expert FR|ARCC Expert RU}} | {{tabLang|EN|ARCC Expert DE|ARCC Expert EN|ARCC Expert ES|ARCC Expert FR|ARCC Expert RU}} | ||
Line 18: | Line 19: | ||
==Ryzom specific BBCODE== | ==Ryzom specific BBCODE== | ||
+ | |||
+ | ===data=== | ||
+ | ====Settings==== | ||
+ | *'''text''' | ||
+ | *'''attribute''' | ||
+ | ====Exemples==== | ||
+ | <hr/> | ||
===date=== | ===date=== | ||
Line 26: | Line 34: | ||
*'''attribute''': format for the date. By default if empty: "YYYY-MM-DD hh:mm" | *'''attribute''': format for the date. By default if empty: "YYYY-MM-DD hh:mm" | ||
====Exemples==== | ====Exemples==== | ||
− | *[date]0[/date] | + | *[date]0[/date] ⇒ 2014-10-24 15:31 |
− | *[date]3600[/date] | + | *[date]3600[/date] ⇒ 1970-01-01 02:00 |
− | *[date]-3600[/date ] | + | *[date]-3600[/date ] ⇒ 1970-01-01 00:00 |
− | *[date="%d/%m/%Y %H:%M"]3600[/date] | + | *[date="%d/%m/%Y %H:%M"]3600[/date] ⇒ "01/01/1970 02:00" |
<hr/> | <hr/> | ||
Line 75: | Line 83: | ||
===expr=== | ===expr=== | ||
− | |||
− | |||
− | |||
====Settings==== | ====Settings==== | ||
*'''text''' | *'''text''' | ||
*'''attribute''' | *'''attribute''' | ||
+ | ====Exemples==== | ||
<hr/> | <hr/> | ||
Line 136: | Line 142: | ||
===get=== | ===get=== | ||
− | |||
− | |||
− | |||
====Settings==== | ====Settings==== | ||
*'''text''': | *'''text''': | ||
*'''attribute''': None. | *'''attribute''': None. | ||
+ | ====Exemples==== | ||
<hr/> | <hr/> | ||
Line 188: | Line 192: | ||
:[http://forge.ryzom.com/wiki/ARCC_Expert_EN [[file:emotion_tongue.png|The_ARCC]] ] | :[http://forge.ryzom.com/wiki/ARCC_Expert_EN [[file:emotion_tongue.png|The_ARCC]] ] | ||
<hr/> | <hr/> | ||
+ | |||
+ | ===itemicon=== | ||
+ | ''' ''itemicon'' ''' displays a thumbnail of an item. | ||
+ | ====Paramètres==== | ||
+ | *'''text''': the item ([[Sitem|SITEM file]]) | ||
+ | *'''attribute''': None. | ||
+ | ====Exemples==== | ||
+ | *[itemicon]teddyubo.sitem[/itemicon] or | ||
+ | *[itemicon]teddyubo[/itemicon] displays: http://api.ryzom.com/data/cache/item_icons/0cf49e1620be972028c29a613d11ef2a.png | ||
+ | |||
+ | An anexistant or erroneous file such [itemicon]NoExist[/itemicon] displays : http://api.ryzom.com/data/cache/item_icons/c37962969910e09734d859a89e32085c.png | ||
+ | <hr> | ||
===link=== | ===link=== | ||
Line 197: | Line 213: | ||
====Exemples==== | ====Exemples==== | ||
''We assume that the number of the script is 2124.'' | ''We assume that the number of the script is 2124.'' | ||
− | *<nowiki>[link=#]A name for that link[/link] | + | *<nowiki>[link=#]A name for that link[/link] ⇒ displays a link with the name "A name for that link" to the URL http://app.ryzom.com/app_arcc/index.php?action=mScript_Edit&script=2124&select=0</nowiki> |
− | *<nowiki>[link]#A B Cl[/link] | + | *<nowiki>[link]#A B Cl[/link] ⇒ displays the </nowiki>'''text'''<nowiki> (not a link) http://app.ryzom.com/app_arcc/index.php?action=mScript_Edit&script=2124&select=A+B+C</nowiki> |
<hr/> | <hr/> | ||
Line 231: | Line 247: | ||
====Exemples==== | ====Exemples==== | ||
*[math]1+2*3-4/6[/math] = 6.3333333333333 | *[math]1+2*3-4/6[/math] = 6.3333333333333 | ||
− | *[math=toto][/math] and [math=toto]1+2*3-4/6t[/math] | + | *[math=toto][/math] and [math=toto]1+2*3-4/6t[/math] ⇒ no output |
*[math][func=round]6.45[/func][/math] = 6 | *[math][func=round]6.45[/func][/math] = 6 | ||
*[math][func=round]6.45[/func]*2[/math] = 12 | *[math][func=round]6.45[/func]*2[/math] = 12 | ||
+ | <hr/> | ||
+ | |||
+ | ===param=== | ||
+ | ====Settings==== | ||
+ | *'''text''' | ||
+ | *'''attribute''' | ||
+ | ====Exemples==== | ||
<hr/> | <hr/> | ||
Line 253: | Line 276: | ||
** #<name> | ** #<name> | ||
** <name> | ** <name> | ||
− | |||
====Exemples tested by Bepock==== | ====Exemples tested by Bepock==== | ||
− | *name: [playerinfos]name[/playerinfos] | + | *name: [playerinfos]name[/playerinfos] ⇒ Bepock (for instance) |
− | *fullname: [playerinfos]fullname[/playerinfos] | + | *fullname: [playerinfos]fullname[/playerinfos] ⇒ fullname: Bepock(Atys) |
− | *id: [playerinfos]id[/playerinfos] | + | *id: [playerinfos]id[/playerinfos] ⇒ 19089 |
− | *guild: [playerinfos]guild[/playerinfos] | + | *guild: [playerinfos]guild[/playerinfos] ⇒ Animation |
− | *guild_id: [playerinfos]guild_id[/playerinfos] | + | *guild_id: [playerinfos]guild_id[/playerinfos] ⇒ 105906345 |
*money: [lua][playerinfos]money[/playerinfos][/lua] | *money: [lua][playerinfos]money[/playerinfos][/lua] | ||
− | *cid: [playerinfos]cid[/playerinfos] | + | *cid: [playerinfos]cid[/playerinfos] ⇒ 9765472 |
− | *gender: [playerinfos]gender[/playerinfos] | + | *gender: [playerinfos]gender[/playerinfos] ⇒ 1 (male) |
+ | <hr/> | ||
+ | |||
+ | ===playerstat=== | ||
+ | ====Paramètres==== | ||
+ | *'''text''': (general form xxx|xxx|xxx) | ||
+ | *'''attribute''': None. | ||
+ | ====Exemples==== | ||
<hr/> | <hr/> | ||
Line 269: | Line 298: | ||
*'''text''': | *'''text''': | ||
*'''attribute''': None. | *'''attribute''': None. | ||
− | ==== | + | ====Exemples==== |
+ | <hr/> | ||
+ | |||
+ | ===scriptinfos=== | ||
+ | ''' ''scriptinfos'' ''' displays the translations associated to a keyword if it exist in the language of the user (See also the "[[ARCC traductions EN|trad tool]]" of ARK). | ||
+ | ====Paramètres==== | ||
+ | *'''text''': (general form xxx|xxx|xxx) | ||
+ | *'''attribute''': None. | ||
+ | ====Exemples==== | ||
<hr/> | <hr/> | ||
Line 301: | Line 338: | ||
**Name_1 = [session]Name_1[/session] displays : "Name one" | **Name_1 = [session]Name_1[/session] displays : "Name one" | ||
**Name_2 = [session]Name_2[/session] displays : "⇒Name two⇐" | **Name_2 = [session]Name_2[/session] displays : "⇒Name two⇐" | ||
+ | <hr/> | ||
+ | ===t=== | ||
+ | ''' ''t'' ''' displays the translations associated to a keyword if it exist in the language of the user (See also the "[[ARCC traductions EN|trad tool]]" of ARK). | ||
+ | ====Paramètres==== | ||
+ | *'''text''': (general form xxx|xxx|xxx) | ||
+ | *'''attribute''': None. | ||
+ | ====Exemples==== | ||
+ | *[t]yes[/t] ⇒ gives for French user "Oui" | ||
+ | *[t]text[/t] ⇒ gives for French user "Texte" | ||
+ | But, because keyword is case sensitive: | ||
+ | *[t]Yes[/t] ⇒ gives {Yes} | ||
+ | *[t]Text[/t] ⇒ gives {Text} | ||
<hr/> | <hr/> | ||
Line 311: | Line 360: | ||
*'''attribute''': None. | *'''attribute''': None. | ||
====Exemples==== | ====Exemples==== | ||
− | *[timer][/timer] or [timer]now()[/timer] or [timer]0[/timer] | + | *[timer][/timer] or [timer]now()[/timer] or [timer]0[/timer] ⇒ 296:13:05:18 |
− | *[timer]60[/timer] | + | *[timer]60[/timer] ⇒ 00:01:00 |
− | *[timer]3600[/timer] | + | *[timer]3600[/timer] ⇒ 01:00:00 |
<hr/> | <hr/> | ||
Line 322: | Line 371: | ||
*'''attribute''': sens if text empty | *'''attribute''': sens if text empty | ||
====Exemples==== | ====Exemples==== | ||
− | *<nowiki>[trad]Hello[/trad] | + | *<nowiki>[trad]Hello[/trad] ⇒ displays the local translation</nowiki> |
− | *<nowiki>[trad=Hello][/trad] | + | *<nowiki>[trad=Hello][/trad] ⇒ displays the local translation</nowiki> |
<hr/> | <hr/> | ||
Line 346: | Line 395: | ||
''We assume that the number of the script is 2124.'' | ''We assume that the number of the script is 2124.'' | ||
− | <nowiki>[validate]==validate==[/validate] | + | <nowiki>[validate]==validate==[/validate] ⇒ displays a link with the name "==validate==" to the URL http://app.ryzom.com/app_arcc/index.php?action=mScript_Edit&script=2124&command_13=validate</nowiki> |
<hr/> | <hr/> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
==Autre soutils de l'ARCC== | ==Autre soutils de l'ARCC== |
Migration
Please use the migrated document at URL shown below.
User guide for Ark, short for Ryzom Arkitect.
For historical reasons, those manuals refers very often, almost always, to A.R.C.C.. This is due to the fact that the full documentation has been started with the initial name, ARCC, meaning Advanced Ryzom Content Creator.
date displays date in "human". See also time.
db store or read a value in a DB. DB is of different kind of rows sets. For instance, "player" DB will memorize the name of the player in column 0; ARCC DB, will memorize an internal number,... Columns can be named, otherwise they are referred by the sequential numeration 0 to n
div is the equivalent of the HTML bloc <div>. That container can divide the page in sections containing the style and other attributes of a HTML bloc.
displays:
func allow the execution of some functions known in Ryzom.
gender returns a text according to the gender.
We assume that the player is male.
Empty function!
if displays a text if attribute is OK
ifnot displays a text if attribute is NOT OK
img displays an image. Something is wrong because, I (Bepock) obtain always a " title="" /> after the image. Use [imgurl] instead: it works fine.
displays:
imgurl displays an image linking to an URL.
displays:
itemicon displays a thumbnail of an item.
An anexistant or erroneous file such [itemicon]NoExist[/itemicon] displays :
link builds a internal link.
We assume that the number of the script is 2124.
lua passes the text to the Ryzom Lua interpreter.
map displays a square map of 2000 units around a given point marked by a magenta flag.
math calculates basic calculations.
playerinfos gives some informations concerning the player.
scriptinfos displays the translations associated to a keyword if it exist in the language of the user (See also the "trad tool" of ARK).
scripturl cats action, action number and extension to be send to the server.
Launched from script 2088:
session is the simplest way to memorize data during the session, i.e. the connection. It offers also quicker answer, because it is a temporary memory not stored in the DB server.
It can be use also in some condition as a temporary array, when each Rows are named, because that is the internal behaviour of Session.
t displays the translations associated to a keyword if it exist in the language of the user (See also the "trad tool" of ARK).
But, because keyword is case sensitive:
timer displays time in format "hh:mm:ss".
trad displays one of the translations associated to a keyword if it exist in the language of the user (See also the "trad tool" of ARK).
url is the standard way to pass an URL. That URL visually is formatted as usual in Ryzom.
validate returns a link of the actual stage in the script.
We assume that the number of the script is 2124.
[validate]==validate==[/validate] ⇒ displays a link with the name "==validate==" to the URL http://app.ryzom.com/app_arcc/index.php?action=mScript_Edit&script=2124&command_13=validate
63 pages in ARCC