All M32Script commands for editors
This page lists all M32Script keywords divided into three categories: definition keywords, block-enclosing keywords, control flow keywords, and the rest. You can use this list to create token definitions for syntax highlighting of M32Script code for you favourite text editor.
definition keywords
array
gamearray
gamevar
var
definequote
define
include
block-enclosing keywords
defstate
ends
onevent
endevent
control flow keywords
break
case
default
else
endswitch
for
getcurraddress
ifactor
ifaimingsector
ifaimingsprite
ifaimingwall
ifand
ifangdiffl
ifawayfromwall
ifboth
ifcansee
ife
ifeither
ifeitheralt
ifeitherctrl
ifeithershift
ifg
ifge
ifhighlighted
ifhitkey
ifholdkey
ifin3dmode
ifinside
ifinwater
ifl
ifle
ifn
ifnosounds
ifonwater
ifor
ifoutside
ifpdistg
ifpdistl
ifrnd
ifsound
ifspritepal
ifvarand
ifvarboth
ifvare
ifvareither
ifvarg
ifvarge
ifvarl
ifvarle
ifvarn
ifvaror
ifvarvarand
ifvarvarboth
ifvarvare
ifvarvareither
ifvarvarg
ifvarvarge
ifvarvarl
ifvarvarle
ifvarvarn
ifvarvaror
ifvarvarxor
ifvarxor
ifxor
jump
return
switch
whilel
whilen
whilevarl
whilevarn
whilevarvarl
whilevarvarn
the rest
a2xy
add
addlog
addlogvar
addvar
addvarvar
ah2xyz
al
alignceilslope
alignflorslope
and
andvar
andvarvar
bsetsprite
cactor
calchypotenuse
cansee
canseespr
changespritesect
changespritestat
clamp
clipdist
clipmove
clipmovenoslide
copy
cos
cstat
cstator
debug
deletesprite
displayrand
displayrandvar
displayrandvarvar
dist
div
divscale
divvar
divvarvar
dragpoint
drawcircle16
drawcircle16b
drawcircle16z
drawline16
drawline16b
drawline16z
dupsprite
error
findnearsprite3d
findnearsprite3dvar
findnearsprite
findnearspritevar
findnearspritez
findnearspritezvar
fixrepeats
ftoi
getangle
getarraysize
getceilzofslope
getclosestcol
getflorzofslope
getincangle
getnumber16
getnumber256
getsector
getsoundflags
getsprite
gettextureceiling
gettexturefloor
getticks
gettimedate
gettspr
getwall
getzrange
globalsound
headspritesect
headspritestat
hitscan
insertsprite
inv
itof
lastwall
ldist
lineintersect
mod
modvar
modvarvar
mul
mulscale
mulvar
mulvarvar
neartag
nextspritesect
nextspritestat
nullop
or
orvar
orvarvar
prevspritesect
prevspritestat
print
printext16
printext256
printmessage16
printmessage256
qsprintf
qstrcat
qstrcpy
qstrlen
qstrncat
qsubstr
quote
rand
randvar
randvarvar
rayintersect
redefinequote
resetkey
resizearray
rotatepoint
rotatesprite16
rotatesprite
sectgethitag
sectgetlotag
sectorofwall
set
setarray
setaspect
setfirstwall
setgamepalette
sethighlight
seti
setsector
setsprite
settspr
setvar
setvarvar
setwall
shiftl
shiftr
shiftvarl
shiftvarr
shiftvarvarl
shiftvarvarr
sin
sizeat
sort
sound
soundonce
spgethitag
spgetlotag
spritepal
sqrt
state
stopallsounds
stopsound
sub
subvar
subvarvar
tdupsprite
updatecursectnum
updatehighlight
updatesector
updatesectorz
xor
xorvar
xorvarvar