View difference between Paste ID: kjj11cPs and fA5zHk5C
SHOW: | | - or go back to the newest paste.
1
Key:
2
3
Type    Description
4-
i       integer
4+
i       integer, defaults to 0
5
b       integer, defaults to INT_MIN (-2147483646) 
6
f       floating-point number
7
s       string
8
e       block of code
9-
V       variable number of arguments
9+
t       tagvalue - any of the above
10
11
r       variable name
12
C       takes all arguments as strings & concats them together with only 1 space between them.
13
V       variable arguments:
14
 -  When a 'V' is preceded by a number, that number of preceding characters define the type of arguments.
15
 -  For instance, '&&' below has "e1V" which can have any amount of arguments of multiple 1 with type e.
16-
||                 "V"
16+
 -  syntax> (&& <e> <e> <e>)
17
 -  Or, 'case' below has "ite2V" which can have any amount of arguments of multiple 2 with types, where each pair consists of t & e.
18
 -  syntax> (case <i> <t> <e> <t> <e> <t> <e>)
19-
!                  "i"
19+
20
L       variable name (for local function scope)
21
22
23
Command            Arguments
24-
&&                 "V"
24+
25
|                  "ii"
26
||                 "e1V"
27
|~                 "ii"
28
~                  "i"
29
!                  "t"
30
!=                 "ii"
31
!=f                "ff"
32
!=s                "ss"
33
&                  "ii"
34
&&                 "e1V"
35
&~                 "ii"
36
*                  "ii"
37
*f                 "ff"
38
+                  "ii"
39
+f                 "ff"
40
-                  "ii"
41
-f                 "ff"
42
<                  "ii"
43
<<                 "ii"
44
<=                 "ii"
45
<=f                "ff"
46
<=s                "ss"
47
<f                 "ff"
48
<s                 "ss"
49-
?                  "sss"
49+
50
=f                 "ff"
51
=s                 "ss"
52
>                  "ii"
53
>=                 "ii"
54
>=f                "ff"
55
>=s                "ss"
56
>>                 "ii"
57
>f                 "ff"
58-
alias              "ss"
58+
59
?                  "ttt"
60-
ammohudcycle       "sssssss"
60+
61-
ammohuddown        "sss"
61+
62-
ammohudup          "sss"
62+
abs                "i"
63
absf               "f"
64-
at                 "si"
64+
65
addblendbrush      "ss"
66
addbot             "s"
67
addpostfx          "siisffff"
68
addserver          "sis"
69
adduser            "ssss"
70
addzip             "sss"
71
alias              "st"
72
altmapsound        "si"
73
altshader          "ss"
74
altsound           "si"
75
ammohudcycle       "V"
76
ammohuddown        "V"
77
ammohudup          "V"
78-
case               "iV"
78+
79-
casef              "fV"
79+
at                 "si1V"
80-
cases              "sV"
80+
81
attachent          ""
82
attack             "D"
83
auth               "s"
84
authkey            "sss"
85
authkick           "ss"
86
autograss          "s"
87
backward           "D"
88
bind               "ss"
89
botbalance         "i"
90
botlimit           "i"
91
brushvert          "iii"
92
calclight          "i"
93
cancelsel          ""
94
case               "ite2V"
95
casef              "fte2V"
96
cases              "ste2V"
97
checkmaps          ""
98
clearbans          ""
99
clearblendbrushes  ""
100
clearblendmap      ""
101-
concat             "C"
101+
102
clearbrush         ""
103-
cond               "V"
103+
104
cleardemos         "i"
105
cleargui           "i"
106
clearlightmaps     ""
107
clearmodel         "s"
108
clearpostfx        ""
109
clearpvs           ""
110
clearservers       "i"
111
clearsleep         "i"
112-
cycleweapon        "sssssss"
112+
113
clearusers         ""
114
clearwaypoints     ""
115
clearwpcache       ""
116
compactvslots      ""
117
complete           "sss"
118
concat             "V"
119
concatword         "V"
120
cond               "ee2V"
121
connect            "sis"
122-
disconnect         ""
122+
123
connectedport      ""
124
connectselected    ""
125
conskip            "i"
126
copy               ""
127
cos                "f"
128
cubecancel         ""
129
curblendbrush      ""
130
cycleweapon        "V"
131
dauth              "s"
132
dauthkick          "sss"
133
defershader        "iss"
134
defpixelparam      "siffff"
135
defuniformparam    "sffff"
136
defvertexparam     "siffff"
137
delblendbrush      "s"
138
delbot             ""
139
delbrush           "s"
140
delcube            ""
141
delent             ""
142-
entloop            "s"
142+
143
disconnect         "b"
144
div                "ii"
145
divf               "ff"
146-
entselect          "s"
146+
do                 "e"
147
dropent            ""
148
dropflag           ""
149
dumplms            ""
150
echo               "C"
151
editbind           "ss"
152
editface           "ii"
153
editmat            "ss"
154
edittex            "i"
155
edittoggle         ""
156-
font               "ssiiiiii"
156+
157-
fontchar           "iiii"
157+
entattr            "ii"
158
entautoview        "i"
159
entcancel          ""
160
entcopy            ""
161
entflip            ""
162
entget             ""
163
enthavesel         ""
164
entindex           ""
165
entloop            "e"
166
entpaste           ""
167
entpush            "i"
168
entrotate          "i"
169
entselect          "e"
170
entset             "siiiii"
171
enttype            "s"
172
error              "C"
173
escape             "s"
174
exec               "s"
175
exp                "f"
176
fastshader         "ssi"
177
findanims          "s"
178
fixinsidefaces     "i"
179
flip               ""
180
flipnormalmapy     "ss"
181
follow             "s"
182
font               "ssii"
183
fontalias          "ss"
184
fontchar           "iiiiiii"
185
fontoffset         "s"
186
fontscale          "i"
187
fontskip           "i"
188
fonttex            "s"
189
forceshader        "s"
190
format             "V"
191
forward            "D"
192
gamespeed          "i"
193
genauthkey         "s"
194
gendds             "ss"
195
genpvs             "i"
196
getaccuracy        ""
197
getalias           "s"
198
getbind            "s"
199
getblendbrushname  "i"
200
getcampitch        ""
201-
guialign           "is"
201+
202
getcamroll         ""
203
getcamyaw          ""
204
getclienticon      "i"
205
getclientmodel     "i"
206
getclientname      "i"
207
getclientnum       "s"
208
getclientteam      "i"
209
getcrosshair       "i"
210
getcurtex          ""
211-
guilist            "s"
211+
212
getdemo            "i"
213
geteditbind        "s"
214-
guinoautotab       "s"
214+
215
getfollow          ""
216
getfps             "i"
217-
guiservers         "s"
217+
218-
guislider          "siis"
218+
getfvarmax         "s"
219-
guistayopen        "s"
219+
getfvarmin         "s"
220
getmap             ""
221
getmastermode      ""
222
getmillis          "i"
223
getmode            ""
224
getname            ""
225
getreptex          ""
226
getseltex          ""
227
getspecbind        "s"
228
getteam            ""
229
gettex             ""
230
gettexname         "ii"
231-
if                 "sss"
231+
232
gettotalshots      ""
233
getvarmax          "s"
234-
inputcommand       "sss"
234+
getvarmin          "s"
235
getweapon          ""
236
glext              "s"
237
goto               "s"
238
gotosel            ""
239
guialign           "ie"
240
guibar             ""
241
guibitfield        "ssis"
242-
iqmanim            "ssfi"
242+
243
guicheckbox        "ssffs"
244
guicolor           "i"
245
guieditor          "siii"
246
guifield           "sis"
247
guiimage           "ssfis"
248
guikeyfield        "sis"
249
guilist            "e"
250-
iqmglow            "si"
250+
251
guimodelpreview    "sssfi"
252-
iqmload            "ss"
252+
253
guinoautotab       "e"
254
guionclear         "s"
255
guiplayerpreview   "iiisfi"
256
guiradio           "ssfs"
257
guiservers         "e"
258
guislider          "sbbs"
259-
iqmtag             "ss"
259+
guispring          "i"
260
guistayopen        "e"
261
guistrut           "fi"
262-
isconnected        "i"
262+
263
guitext            "ss"
264
guitextbox         "siii"
265
guititle           "s"
266
hasauthkey         "ss"
267
hashpwd            "s"
268
havesel            ""
269
hidegui            "s"
270-
kick               "s"
270+
271
hmapcancel         ""
272
hmapselect         ""
273
if                 "tee"
274-
listclients        "i"
274+
ignore             "s"
275
importcube         "s"
276
indexof            "ss"
277
initservers        ""
278-
listfind           "sss"
278+
inputcommand       "ssss"
279
insel              ""
280
insidebases        ""
281
invertblendmap     ""
282
invertblendmapsel  ""
283
iqmadjust          "sffffff"
284
iqmalphablend      "si"
285
iqmalphatest       "sf"
286
iqmambient         "si"
287-
loop               "sis"
287+
iqmanim            "ssfiii"
288-
loopfiles          "ssss"
288+
289-
looplist           "sss"
289+
290-
loopwhile          "siss"
290+
291
iqmdir             "s"
292
iqmenvmap          "ss"
293
iqmfullbright      "sf"
294
iqmglare           "sff"
295
iqmglow            "siif"
296
iqmlink            "iisfff"
297
iqmload            "ssf"
298
iqmnoclip          "si"
299
iqmpitch           "sffff"
300
iqmpitchcorrect    "ssfff"
301
iqmpitchtarget     "ssiff"
302
iqmscroll          "sff"
303
iqmshader          "ss"
304
iqmskin            "sssff"
305
iqmspec            "si"
306
iqmtag             "ssffffff"
307
isadmin            "i"
308
isai               "ii"
309
isauth             "i"
310
isconnected        "bb"
311
isignored          "s"
312
ismaster           "i"
313
isshaderdefined    "s"
314
isshadernative     "s"
315
isspectator        "i"
316
jump               "D"
317
keepserver         "sis"
318
keymap             "is"
319
kick               "ss"
320
kill               ""
321-
md2anim            "siifi"
321+
322
left               "D"
323
listclients        "bb"
324
listcomplete       "ss"
325
listdel            "ss"
326-
md3anim            "siifi"
326+
327
listfind           "rse"
328
listlen            "s"
329
listsplice         "ssii"
330
loadcrosshair      "si"
331
loadwaypoints      "s"
332-
md3glow            "si"
332+
local              ""
333
localconnect       ""
334-
md3load            "s"
334+
335
log10              "f"
336
log2               "f"
337
loge               "f"
338
loop               "rie"
339
loopconcat         "rie"
340
loopconcatword     "rie"
341
loopfiles          "rsse"
342
looplist           "rse"
343
loopwhile          "riee"
344
m_capture          "i"
345-
md5anim            "ssfi"
345+
346
m_collect          "i"
347
m_ctf              "i"
348
m_demo             "i"
349
m_dmsp             "i"
350
m_edit             "i"
351
m_efficiency       "i"
352
m_hold             "i"
353-
md5glow            "si"
353+
354
m_lobby            "i"
355
m_noammo           "i"
356
m_noitems          "i"
357
m_protect          "i"
358
m_regencapture     "i"
359
m_sp               "i"
360
m_tactics          "i"
361
m_teammode         "i"
362-
md5tag             "ss"
362+
363
mapcfgname         ""
364
mapenlarge         ""
365
mapmodel           "iiiss"
366
mapmodelname       "i"
367
mapmodelreset      "i"
368
mapname            ""
369
maprotation        "ss2V"
370
maprotationreset   ""
371
mapsound           "sii"
372
mastermode         "i"
373
mastermodename     "i"
374
materialreset      ""
375
max                "V"
376-
mdlglow            "i"
376+
377
md2anim            "siiff"
378
md2dir             "s"
379
md2pitch           "ffff"
380
md3alphablend      "si"
381
md3alphatest       "sf"
382
md3ambient         "si"
383
md3anim            "siiff"
384
md3bumpmap         "sss"
385
md3cullface        "si"
386
md3dir             "s"
387
md3envmap          "ss"
388
md3fullbright      "sf"
389
md3glare           "sff"
390
md3glow            "siif"
391
md3link            "iisfff"
392
md3load            "sf"
393
md3noclip          "si"
394
md3pitch           "ffff"
395
md3scroll          "sff"
396
md3shader          "ss"
397
md3skin            "sssff"
398
md3spec            "si"
399-
newgui             "sss"
399+
400
md5alphablend      "si"
401
md5alphatest       "sf"
402
md5ambient         "si"
403
md5anim            "ssfiii"
404
md5animpart        "s"
405
md5bumpmap         "sss"
406
md5cullface        "si"
407
md5dir             "s"
408
md5envmap          "ss"
409
md5fullbright      "sf"
410
md5glare           "sff"
411
md5glow            "siif"
412
md5link            "iisfff"
413
md5load            "ssf"
414-
objglow            "si"
414+
415
md5pitch           "sffff"
416
md5pitchcorrect    "ssfff"
417
md5pitchtarget     "ssiff"
418
md5scroll          "sff"
419
md5shader          "ss"
420
md5skin            "sssff"
421
md5spec            "si"
422
md5tag             "ssffffff"
423
mdlalphablend      "i"
424
mdlalphadepth      "i"
425
mdlalphatest       "f"
426
mdlambient         "i"
427
mdlbb              "fff"
428
mdlcollide         "i"
429
mdlcullface        "i"
430
mdldepthoffset     "i"
431-
pop                "s"
431+
432
mdlenvmap          "ffs"
433
mdlextendbb        "fff"
434
mdlfullbright      "f"
435-
push               "ss"
435+
436
mdlglow            "iif"
437
mdlname            ""
438
mdlpitch           "f"
439
mdlscale           "i"
440
mdlshader          "s"
441-
rdjoint            "iisss"
441+
442
mdlspec            "i"
443
mdlspin            "ff"
444
mdltrans           "fff"
445
mdlyaw             "f"
446
mergenormalmaps    "ss"
447
min                "V"
448
minf               "V"
449
miniconskip        "i"
450
mmodel             "s"
451
mod                "ii"
452
mode               "i"
453
modf               "ff"
454
moveblendmap       "ii"
455
movewaypoints      "iii"
456
movie              "s"
457
movierecording     ""
458
music              "ss"
459
name               "s"
460
nearestent         ""
461-
result             "s"
461+
462
newgui             "ssss"
463
newmap             "i"
464
nextblendbrush     "i"
465
nextfollow         "i"
466
nextweapon         "ii"
467
nodebug            "e"
468
nummapmodels       ""
469
nummonsters        "ii"
470
objalphablend      "si"
471
objalphatest       "sf"
472
objambient         "si"
473
objbumpmap         "sss"
474
objcullface        "si"
475
objdir             "s"
476
objenvmap          "ss"
477
objfullbright      "sf"
478
objglare           "sff"
479
objglow            "siif"
480
objlink            "iisfff"
481-
setmaster          "s"
481+
482
objnoclip          "si"
483
objpitch           "ffff"
484
objscroll          "sff"
485
objshader          "ss"
486
objskin            "sssff"
487
objspec            "si"
488
onrelease          "s"
489
optimizeblendmap   ""
490
paintblendmap      "D"
491
paste              ""
492
pastebrush         "s"
493
pastehilite        ""
494
patchlight         "i"
495
paused             "i"
496
pausegame          "i"
497
phystest           ""
498
platform           "ii"
499
pow                "ff"
500
prettylist         "ss"
501
printcube          ""
502-
smdanim            "ssfi"
502+
push               "rte"
503
pushsel            "i"
504
pvsstats           ""
505
quit               ""
506
rdanimjoints       "i"
507
rdeye              "i"
508
rdjoint            "iibbb"
509
rdlimitdist        "iiff"
510-
smdglow            "si"
510+
511
rdtri              "iii"
512-
smdload            "ss"
512+
513
recalc             ""
514
reconnect          "s"
515
recorddemo         "i"
516
redo               ""
517
registersound      "si"
518
reloadtex          "s"
519-
smdtag             "ss"
519+
520
removezip          "s"
521
reorient           ""
522
repammo            ""
523
replace            ""
524
replacesel         ""
525
resetgl            ""
526
resetsound         ""
527
resetvar           "s"
528
result             "t"
529
right              "D"
530
rnd                "ii"
531-
substr             "sis"
531+
532
rotateblendbrush   "i"
533
sauth              ""
534
sauthkick          "ss"
535
saveauthkeys       ""
536
savebrush          "s"
537
savecurrentmap     ""
538
savemap            "s"
539
savewaypoints      "s"
540
say                "C"
541
saycommand         "C"
542
sayteam            "C"
543
screenres          "ii"
544
screenshot         "s"
545
searchbinds        "s"
546
searcheditbinds    "s"
547
searchspecbinds    "s"
548
selextend          ""
549
sendmap            ""
550
servcmd            "C"
551
setblendbrush      "s"
552
setmaster          "ss"
553
setpixelparam      "iffff"
554
setpostfx          "sffff"
555
setshader          "s"
556
setshaderparam     "sffff"
557
setteam            "ss"
558
setuniformparam    "sffff"
559
setvertexparam     "iffff"
560
setweapon          "si"
561
shader             "isss"
562
showblendmap       ""
563
showgui            "s"
564
showscores         "D"
565
showtexgui         "i"
566
shrinkmap          ""
567
sin                "f"
568
sleep              "is"
569
smdadjust          "sffffff"
570
smdalphablend      "si"
571
smdalphatest       "sf"
572
smdambient         "si"
573
smdanim            "ssfiii"
574
smdanimpart        "s"
575
smdbumpmap         "sss"
576
smdcullface        "si"
577
smddir             "s"
578-
weapon             "sssssss"
578+
579-
while              "ss"
579+
580
smdglare           "sff"
581
smdglow            "siif"
582
smdlink            "iisfff"
583
smdload            "ssf"
584
smdnoclip          "si"
585
smdpitch           "sffff"
586
smdpitchcorrect    "ssfff"
587
smdpitchtarget     "ssiff"
588
smdscroll          "sff"
589
smdshader          "ss"
590
smdskin            "sssff"
591
smdspec            "si"
592
smdtag             "ssffffff"
593
sortlist           "srre"
594
sortservers        ""
595
sound              "i"
596
specbind           "ss"
597
spectator          "is"
598
sqrt               "f"
599
startlistenserver  "i"
600
stopdemo           ""
601
stoplistenserver   ""
602
strcmp             "ss"
603
stripcolors        "s"
604
strlen             "s"
605
strreplace         "sss"
606
strstr             "ss"
607
sublist            "sii"
608
substr             "sii"
609
tabify             "si"
610
tan                "f"
611
taunt              ""
612
team               "s"
613
teamkillkick       "sii"
614
teamkillkickreset  ""
615
testpvs            "i"
616
texalpha           "ff"
617
texcolor           "fff"
618
texffenv           "i"
619
texlayer           "isif"
620
texoffset          "ii"
621
texrotate          "i"
622
texscale           "f"
623
texscroll          "ff"
624
textclear          ""
625
textcopy           ""
626
textcurrentline    ""
627
textexec           "i"
628
textfocus          "si"
629
textinit           "sss"
630
textlist           ""
631
textload           "s"
632
textmark           "i"
633
textmode           "i"
634
textpaste          ""
635
textprev           ""
636
textsave           "s"
637
textselectall      ""
638
textshow           ""
639
texture            "ssiiif"
640
texturereset       "i"
641
timeremaining      "i"
642
toggleconsole      ""
643
trigger            "ii"
644
undo               ""
645
unescape           "s"
646
unignore           "s"
647
updatefrommaster   ""
648
valpha             "ff"
649
variantshader      "isiss"
650
vcolor             "fff"
651
vdelta             "s"
652
vlayer             "i"
653
voffset            "ii"
654
vreset             ""
655
vrotate            "i"
656
vscale             "f"
657
vscroll            "ff"
658
vshaderparam       "sffff"
659
weapon             "V"
660
while              "ee"
661
writecfg           "s"
662
writeobj           "s"