Difference between revisions of "Variable List"

From Immwiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
= Variables =
 
= Variables =
 
Values of $ variables during the running of progs:
 
Values of $ variables during the running of progs:
Note that these are (obviously) not applicable in if statements.
 
 
<pre>
 
<pre>
 
a:                              A:
 
a:                              A:
b: short desc. of obj carrier  B: his/her of obj. carrier
+
b: short desc. of obj carrier  B:
 
c:                              C:
 
c:                              C:
 
d:                              D:
 
d:                              D:
 
e: he/she of actor              E: he/she of focused on  
 
e: he/she of actor              E: he/she of focused on  
f: name of focused on           F: short desc. of focused on
+
f,f0: name of focus 0           F,F0: short desc of focus 0
 +
f1: name of focus 1            F1: short desc of focus 1
 
g:                              G:
 
g:                              G:
h:                             H:
+
h: damage done by hit prog      H:
 
i: name of mob                  I: short desc. of mob
 
i: name of mob                  I: short desc. of mob
 
j: he/she of mob                J: he/she of random
 
j: he/she of mob                J: he/she of random
Line 17: Line 17:
 
m: him/her of actor            M: him/her of focused on
 
m: him/her of actor            M: him/her of focused on
 
n: name of actor                N: short desc. of actor
 
n: name of actor                N: short desc. of actor
o: name of obj carrier          O: short desc. of obj carrier
+
o (on mob): name of obj         O (on mob): short desc. of obj
 +
o (on obj): name of owner      O (on obj): short desc. of owner
 
p:                              P:
 
p:                              P:
 
q:                              Q:
 
q:                              Q:
 
r: name of random              R: short desc. of random
 
r: name of random              R: short desc. of random
s: his/her of actor            S: his/her of focused on
+
s: his/her of actor            S,S0,S1: his/her of focused on
 
t: name of vict                T: short desc. of vict
 
t: name of vict                T: short desc. of vict
 
u:                              U:
 
u:                              U:
v: loop value check             V:
+
v#: loop value check, # depth  V:
 
w:                              W:
 
w:                              W:
 
x: text of command (if appli.)  X: $x, with the first word excluded
 
x: text of command (if appli.)  X: $x, with the first word excluded
y: argument lookup (punc.)     Y: argument lookup
+
y#: argument lookup (punc.)     Y#: argument lookup
 
z:                              Z: long desc. of actor
 
z:                              Z: long desc. of actor
 +
0,1,2,3,4,5,6,7,8,9: value stored in the corresponding value slot
 
</pre>
 
</pre>
 +
 +
[[category:Leviticus]]

Latest revision as of 23:08, 26 April 2011

Variables

Values of $ variables during the running of progs:

a:                              A:
b: short desc. of obj carrier   B:
c:                              C:
d:                              D:
e: he/she of actor              E: he/she of focused on 
f,f0: name of focus 0           F,F0: short desc of focus 0
f1: name of focus 1             F1: short desc of focus 1
g:                              G:
h: damage done by hit prog      H:
i: name of mob                  I: short desc. of mob
j: he/she of mob                J: he/she of random
k: him/her of mob               K: him/her of random
l: his/her of mob               L: his/her of random
m: him/her of actor             M: him/her of focused on
n: name of actor                N: short desc. of actor
o (on mob): name of obj         O (on mob): short desc. of obj
o (on obj): name of owner       O (on obj): short desc. of owner
p:                              P:
q:                              Q:
r: name of random               R: short desc. of random
s: his/her of actor             S,S0,S1: his/her of focused on
t: name of vict                 T: short desc. of vict
u:                              U:
v#: loop value check, # depth   V:
w:                              W:
x: text of command (if appli.)  X: $x, with the first word excluded
y#: argument lookup (punc.)     Y#: argument lookup
z:                              Z: long desc. of actor
0,1,2,3,4,5,6,7,8,9: value stored in the corresponding value slot