View difference between Paste ID: HiV6cM4v and UA5LY6dY
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
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
 -  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
D       down - has to do with keys/buttons
20
L       variable name (for local function scope)
21
22
23
Command             Arguments
24
25
|                   "ii"
26
||                  "e1V"
27
|~                  "ii"
28
~                   "i"
29
!                   "t"
30-
!=f                 "ff"
30+
!=                  "ff"
31-
!=s                 "ss"
31+
32
!=                  "ss"
33
&                   "ii"
34
&&                  "e1V"
35
&~                  "ii"
36-
*f                  "V"
36+
37
*                   "V"
38-
+f                  "V"
38+
39
+                   "V"
40-
-f                  "V"
40+
41
-                   "V"
42
<                   "ff"
43
<                   "ii"
44-
<=f                 "ff"
44+
<                   "ss"
45-
<=s                 "ss"
45+
46-
<f                  "ff"
46+
<=                  "ff"
47-
<s                  "ss"
47+
48
<=                  "ss"
49-
=f                  "ff"
49+
=                   "ff"
50-
=s                  "ss"
50+
51
=                   "ss"
52
>                   "ff"
53-
>=f                 "ff"
53+
54-
>=s                 "ss"
54+
>                   "ss"
55
>=                  "ff"
56-
>f                  "ff"
56+
57-
>s                  "ss"
57+
>=                  "ss"
58
>>                  "ii"
59
?                   "ttt"
60
^                   "ii"
61
^~                  "ii"
62-
action              "iD"
62+
abs                 "i"
63
absf                "f"
64
acos                "f"
65
addallow            "s"
66
addban              "s"
67
addblendbrush       "ss"
68
addlimit            "s"
69
addlocalop          "ss"
70
addmute             "s"
71
addpostfx           "siisffff"
72
addserver           "sis"
73
addvanity           "isssiii"
74
addzip              "sss"
75
affinity            "D"
76-
announce            "iis"
76+
77
allow               "ss"
78-
at                  "si"
78+
79
altshader           "ss"
80
ammo                "i"
81
announce            "iiis"
82
asin                "f"
83
at                  "si1V"
84
atan                "f"
85
auth                ""
86
authkey             "ss"
87
autograss           "s"
88
backward            "D"
89
ban                 "ss"
90
bind                "ss"
91
brushimport         "s"
92
brushvert           "iii"
93
calclight           "i"
94
cancelsel           ""
95
case                "ite2V"
96
casef               "fte2V"
97
cases               "ste2V"
98
checkmaps           ""
99
clearallows         ""
100
clearbans           ""
101
clearblendbrushes   ""
102
clearblendmap       ""
103
clearblendmapsel    ""
104
clearbrush          ""
105
clearcompass        ""
106
cleardemos          "i"
107
cleargui            "i"
108
clearlightmaps      ""
109
clearlimits         ""
110
clearmodel          "s"
111
clearmutes          ""
112
clearpostfx         ""
113
clearpvs            ""
114
clearservers        ""
115
clearsleep          "i"
116
clearundos          ""
117
clearvote           ""
118
clearwaypoints      ""
119
clearwpcache        ""
120
compactvslots       "i"
121
compass             "sss"
122
compassactive       ""
123
complete            "sss"
124
concat              "V"
125
concatword          "V"
126
cond                "ee2V"
127
connect             "sis"
128
connectedip         ""
129
connectedport       ""
130
conout              "is"
131
conskip             "i"
132
copy                ""
133
cos                 "f"
134
crouch              "D"
135
cubecancel          ""
136
curblendbrush       ""
137
defershader         "iss"
138
defpixelparam       "siffffii"
139
defuniformparam     "sffffii"
140
defvertexparam      "siffffii"
141
delblendbrush       "s"
142
delbrush            "s"
143
delcube             ""
144
delent              ""
145
delselwaypoints     ""
146
demoinfo            "bb"
147-
editmat             "si"
147+
demoscan            "s"
148
disconnect          ""
149
div                 "V"
150
divf                "V"
151
do                  "e"
152
drop                "D"
153
dropent             ""
154
dumplms             ""
155
echo                "C"
156
editbind            "ss"
157
editface            "ii"
158
editmat             "ssi"
159
edittex             "i"
160
edittoggle          ""
161
entattr             "ii"
162
entautoview         "i"
163
entcancel           ""
164
entcopy             ""
165
entflip             ""
166
entget              ""
167
enthavesel          ""
168
entindex            ""
169
entlink             ""
170
entloop             "e"
171
entpaste            ""
172
entprop             "ii"
173
entpush             "i"
174
entrotate           "i"
175
entselect           "e"
176
entset              "ss"
177
enttype             "s"
178
error               "C"
179
escape              "s"
180
exec                "si"
181
exectrigger         "i"
182-
fontheight          ""
182+
183
exp                 "f"
184
fakevote            "sii"
185
fastshader          "ssi"
186
filter              "siii"
187-
fontwidth           ""
187+
188
findvanity          "s"
189
fixinsidefaces      "i"
190
flip                ""
191
flipnormalmapy      "ss"
192
followdelta         "ii"
193-
gamename            "iii"
193+
194
fontalias           "ss"
195
fontchar            "iiiiiii"
196
fontheight          "s"
197
fontoffset          "s"
198
fontscale           "i"
199
fontskip            "i"
200
fonttex             "s"
201
fontwidth           "s"
202
forceshader         "s"
203
format              "V"
204-
getcolour           "i"
204+
205
gameid              ""
206
gamemode            ""
207
gamename            "iiii"
208
gendds              "ss"
209
genkey              "s"
210
genpvs              "i"
211
getalias            "s"
212
getbind             "s"
213
getblendbrushname   "i"
214
getcampos           ""
215
getclientcolour     "i"
216-
getmodel            ""
216+
getclienthandle     "i"
217-
getname             ""
217+
218
getclientmodel      "i"
219
getclientname       "ii"
220-
getserver           "iii"
220+
221
getclientpriv       "i"
222-
getstate            ""
222+
223-
getteam             "i"
223+
getclientvanity     "i"
224-
getteamcolour       ""
224+
getclientvitem      "ibi"
225-
getteamicon         ""
225+
226
getdemo             "i"
227
geteditbind         "s"
228-
gettime             "s"
228+
229
getfvarmax          "s"
230
getfvarmin          "s"
231
getintermission     ""
232
getloadweap         "i"
233
getmap              ""
234
getmaplist          "iii"
235
getmillis           "i"
236
getmodelname        "ii"
237-
getvote             "iii"
237+
getplayercolour     "i"
238
getplayermodel      ""
239
getplayername       ""
240
getplayerstate      ""
241
getplayerteam       "i"
242
getplayerteamcolour ""
243
getplayerteamicon   ""
244
getplayervanity     ""
245
getplayervitem      "bi"
246
getpointer          "ii"
247
getreptex           ""
248
getseltex           ""
249
getserver           "bbb"
250-
guieditor           "siiii"
250+
251-
guifield            "sisi"
251+
252
gettexname          "ii"
253
gettime             "is"
254
getvanity           "bb"
255-
guikeyfield         "sisi"
255+
256
getvardef           "s"
257
getvarflags         "s"
258
getvariable         "i"
259
getvarmax           "s"
260-
guinoautotab        "e"
260+
261
getvartype          "s"
262-
guiplayerpreview    "iiiisfis"
262+
263
getvote             "bbb"
264
getwaitbind         "s"
265
getweap             "ii"
266
glext               "s"
267-
guislider           "siisiii"
267+
268
gspmutname          "ii"
269
guibackground       "ii"
270
guibar              ""
271
guibitfield         "ssisi"
272-
guitext             "ssi"
272+
273
guibutton           "ssssi"
274
guicheckbox         "ssffsi"
275
guicount            ""
276
guieditor           "siiiiis"
277
guifield            "sisiis"
278
guifont             "se"
279
guiheader           "s"
280
guiimage            "ssfiss"
281
guikeyfield         "sisiis"
282
guilist             "e"
283
guilistslider       "sssiii"
284
guimodelpreview     "sssfiffs"
285
guimodify           "ss"
286
guinameslider       "ssssiii"
287
guinohitfx          "e"
288
guiplayerpreview    "iiiissfiffs"
289
guiprogress         "ff"
290
guiradio            "ssfsi"
291
guishowtitle        "i"
292
guislice            "ssfffsss"
293
guislider           "sbbsiii"
294
guispring           "i"
295
guistayopen         "e"
296
guistrut            "fi"
297
guitab              "s"
298
guitext             "ssii"
299
guititle            "s"
300
hasauthkey          ""
301-
iqmglow             "si"
301+
302-
iqmlink             "iisfff"
302+
hasloadweap         "bb"
303
hasweap             "ii"
304
havesel             ""
305
hexcolour           "i"
306
history             "i"
307
hmapcancel          ""
308
hmapselect          ""
309
if                  "tee"
310
ignore              "s"
311
indexof             "ss"
312
inputcommand        "sssis"
313
insel               ""
314
invertblendmap      ""
315
invertblendmapsel   ""
316
iqmadjust           "sffffff"
317
iqmalphablend       "si"
318
iqmalphatest        "sf"
319
iqmambient          "si"
320
iqmanim             "ssfiii"
321
iqmanimpart         "s"
322
iqmbumpmap          "sss"
323
iqmcullface         "si"
324
iqmdir              "s"
325
iqmenvmap           "ss"
326
iqmfullbright       "sf"
327
iqmglare            "sff"
328
iqmglow             "siif"
329
iqmlink             "iisffffff"
330
iqmload             "ssf"
331
iqmmaterial         "sii"
332
iqmnoclip           "si"
333-
ishelper            "i"
333+
334
iqmpitchcorrect     "ssfff"
335
iqmpitchtarget      "ssiff"
336
iqmscroll           "sff"
337
iqmshader           "ss"
338
iqmskin             "sssff"
339
iqmspec             "si"
340
iqmtag              "ssffffff"
341
ircaddchan          "ssssi"
342
ircaddclient        "ssisss"
343
ircaddrelay         "ssisss"
344
ircauth             "sss"
345
ircbind             "ss"
346
ircconnect          "s"
347
ircconns            ""
348
ircfriendlychan     "sss"
349
ircgui              "s"
350
ircjoinchan         "ssssi"
351
ircnick             "ss"
352
ircpass             "ss"
353
ircpasschan         "sss"
354
ircport             "ss"
355
ircrelaychan        "sss"
356
ircserv             "ss"
357-
loadweap            "ssi"
357+
358-
local               "L"
358+
359
isconnected         "ii"
360
iscreator           "i"
361
isdeveloper         "i"
362
isignored           "s"
363
ismodelocked        "iiis"
364
ismoderator         "i"
365
isonline            ""
366
isquarantine        "i"
367
isshaderdefined     "s"
368
isshadernative      "s"
369
isspectator         "i"
370
issupporter         "i"
371
isthirdperson       "i"
372
iszooming           ""
373
jump                "D"
374
keymap              "is"
375
keyspressed         "iss"
376
kick                "ss"
377
kill                ""
378
lanconnect          "is"
379
left                "D"
380
limit               "ss"
381
listclients         "i"
382
listcomplete        "ss"
383
listdel             "ss"
384
listdemos           ""
385
listfind            "rse"
386
listlen             "s"
387
listsplice          "ssii"
388
loadwaypoints       "s"
389
loadweap            "sii"
390
localconnect        "i"
391
log10               "f"
392
log2                "f"
393
loge                "f"
394
loop                "rie"
395-
md3glow             "si"
395+
396-
md3link             "iisfff"
396+
397
loopfiles           "rsse"
398
looplist            "rse"
399
loopwhile           "riee"
400
map                 "s"
401
mapenlarge          ""
402
mapmodel            "iiiss"
403
mapmodelindex       "s"
404
mapmodelreset       ""
405
maprevision         ""
406
mapsize             ""
407
mapsound            "sissi"
408
mapversion          ""
409
mastermode          "i"
410
materialreset       ""
411
max                 "V"
412
maxf                "V"
413
md2anim             "siiff"
414
md2dir              "s"
415
md2pitch            "ffff"
416
md3alphablend       "si"
417-
md5glow             "si"
417+
418-
md5link             "iisfff"
418+
419
md3anim             "siiff"
420
md3bumpmap          "sss"
421
md3cullface         "si"
422
md3dir              "s"
423
md3envmap           "ss"
424
md3fullbright       "sf"
425
md3glare            "sff"
426
md3glow             "siif"
427
md3link             "iisffffff"
428
md3load             "sf"
429
md3material         "sii"
430
md3noclip           "si"
431
md3pitch            "ffff"
432
md3scroll           "sff"
433
md3shader           "ss"
434
md3skin             "sssff"
435
md3spec             "si"
436
md5adjust           "sffffff"
437
md5alphablend       "si"
438
md5alphatest        "sf"
439
md5ambient          "si"
440
md5anim             "ssfiii"
441
md5animpart         "s"
442
md5bumpmap          "sss"
443-
mdlglow             "i"
443+
444
md5dir              "s"
445
md5envmap           "ss"
446
md5fullbright       "sf"
447
md5glare            "sff"
448
md5glow             "siif"
449
md5link             "iisffffff"
450
md5load             "ssf"
451
md5material         "sii"
452
md5noclip           "si"
453-
mdlspin             "f"
453+
454
md5pitchcorrect     "ssfff"
455
md5pitchtarget      "ssiff"
456
md5scroll           "sff"
457
md5shader           "ss"
458
md5skin             "sssff"
459
md5spec             "si"
460
md5tag              "ssffffff"
461
mdlalphablend       "i"
462
mdlalphadepth       "i"
463
mdlalphatest        "f"
464
mdlambient          "i"
465
mdlbb               "fff"
466
mdlcollide          "i"
467
mdlcullface         "i"
468
mdldepthoffset      "i"
469
mdlellipsecollide   "i"
470
mdlenvmap           "ffs"
471
mdlextendbb         "fff"
472
mdlfullbright       "f"
473
mdlglare            "ff"
474
mdlglow             "iif"
475
mdlmaterial         "ii"
476
mdlname             ""
477
mdlpitch            "f"
478
mdlroll             "f"
479
mdlscale            "i"
480
mdlscalef           "f"
481
mdlshader           "s"
482
mdlshadow           "i"
483
mdlspec             "i"
484
mdlspin             "fff"
485
mdltrans            "fff"
486
mdlyaw              "f"
487
me                  "C"
488
menustacklen        ""
489
mergenormalmaps     "ss"
490
meteam              "C"
491
min                 "V"
492
minf                "V"
493-
objglow             "si"
493+
494-
objlink             "iisfff"
494+
495
mode                "ii"
496
modedesc            "iii"
497
modetexlist         "iiii"
498
modf                "ff"
499
movie               "s"
500
movierecording      ""
501
music               "ss"
502
mutators            ""
503
mute                "ss"
504
mutsallowed         "ii"
505-
paintblendmap       ""
505+
506
mutsdesc            "iii"
507
mutsimplied         "ii"
508
needloadout         "b"
509
needname            "b"
510
newcompass          "sss"
511
newent              "ss"
512
newgui              "sss"
513
newmap              "is"
514
nextblendbrush      "i"
515
nodebug             "e"
516
nonworld            "e"
517
objalphablend       "si"
518
objalphatest        "sf"
519
objambient          "si"
520
objbumpmap          "sss"
521
objcullface         "si"
522-
rdjoint             "iisss"
522+
523
objenvmap           "ss"
524
objfullbright       "sf"
525
objglare            "sff"
526
objglow             "siif"
527
objlink             "iisffffff"
528-
reconnect           ""
528+
529
objmaterial         "sii"
530
objnoclip           "si"
531
objpitch            "ffff"
532
objscroll           "sff"
533
objshader           "ss"
534
objskin             "sssff"
535
objspec             "si"
536
octapaks            "e"
537
onrelease           "s"
538-
replace             ""
538+
539
pacing              "D"
540
paintblendmap       "D"
541
paste               ""
542
pastebrush          "s"
543
pasteclear          ""
544
pastehilight        ""
545
patchlight          "i"
546
phystest            ""
547
pow                 "ff"
548
precf               "fi"
549
prettylist          "ss"
550
primary             "D"
551
printallcmds        ""
552
printallvars        ""
553
printcube           ""
554
push                "rte"
555
pushsel             "i"
556
pvsstats            ""
557
quit                ""
558
rdanimjoints        "i"
559
rdeye               "i"
560
rdjoint             "iibbb"
561
rdlimitdist         "iiff"
562
rdlimitrot          "iifffff"
563
rdtri               "iii"
564
rdvert              "ffff"
565
recalc              ""
566
reconnect           "s"
567
recorddemo          "i"
568
redo                ""
569
registersound       "sissi"
570
rehash              "i"
571
reload              "D"
572
reloads             "i"
573
reloadtex           "s"
574
remip               ""
575
removezip           "s"
576
reorient            ""
577-
setinfo             "sii"
577+
replace             "i"
578
replaceall          ""
579
replaceallsel       ""
580
replacesel          "i"
581
resetcompass        ""
582
resetconfig         ""
583
resetgl             ""
584
resetlocalop        ""
585
resetsound          ""
586
resettexmru         ""
587
resetvanity         ""
588
resetvar            "s"
589
resetvars           ""
590
resetworldvars      ""
591
result              "t"
592
right               "D"
593
rnd                 "ii"
594
rotate              "i"
595
rotateblendbrush    "i"
596-
shrinklist          "ssi"
596+
597
savemap             "s"
598
savemapconfig       "s"
599
savemapshot         "s"
600
savewaypoints       "s"
601
say                 "C"
602
saycommand          "C"
603
sayteam             "C"
604
screenres           "ii"
605
screenshot          "s"
606
searchbinds         "siss"
607
searcheditbinds     "siss"
608
searchspecbinds     "siss"
609
searchwaitbinds     "siss"
610
secondary           "D"
611
selextend           ""
612
sendmap             ""
613-
smdglow             "si"
613+
614-
smdlink             "iisfff"
614+
615
setcomplete         "ss"
616
setdesc             "sss"
617
setgrass            "s"
618
setgrassblend       "f"
619
setgrasscolor       "fff"
620
setgrassheight      "i"
621
setgrassscale       "i"
622
setpersist          "ss"
623
setpixelparam       "iffffii"
624
setpostfx           "sffff"
625
setpriv             "s"
626
setshader           "s"
627
setshaderparam      "sffffii"
628
setteam             "ss"
629
settex              "i"
630
setuniformparam     "sffffii"
631
setversion          "ii"
632
setvertexparam      "iffffii"
633
setzoom             "i"
634
shader              "isss"
635
showblendmap        ""
636
showcompass         "s"
637
showgui             "si"
638
showscores          "D"
639
showtexgui          "i"
640
shrinklist          "ssii"
641
shrinkmap           ""
642
sin                 "f"
643
sleep               "is"
644
smartmusic          "ii"
645
smdadjust           "sffffff"
646
smdalphablend       "si"
647
smdalphatest        "sf"
648
smdambient          "si"
649
smdanim             "ssfiii"
650
smdanimpart         "s"
651
smdbumpmap          "sss"
652
smdcullface         "si"
653
smddir              "s"
654
smdenvmap           "ss"
655
smdfullbright       "sf"
656
smdglare            "sff"
657
smdglow             "siif"
658
smdlink             "iisffffff"
659
smdload             "ssf"
660
smdmaterial         "sii"
661
smdnoclip           "si"
662
smdpitch            "sffff"
663
smdpitchcorrect     "ssfff"
664
smdpitchtarget      "ssiff"
665
smdscroll           "sff"
666
smdshader           "ss"
667-
textfocus           "si"
667+
668
smdspec             "si"
669
smdtag              "ssffffff"
670
sortlist            "srre"
671
sortservers         ""
672
sound               "ii"
673
specbind            "ss"
674
special             "D"
675
specmodeswitch      ""
676
spectator           "is"
677
sqrt                "f"
678
stopdemo            ""
679
strcasecmp          "ss"
680
strcmp              "ss"
681
stripcolors         "s"
682-
timetostr           "ii"
682+
683
strncasecmp         "ssi"
684
strncmp             "ssi"
685
strreplace          "sss"
686
strstr              "ss"
687
sublist             "sii"
688
substr              "sii"
689
sv_resetconfig      ""
690
sv_resetvars        ""
691
tabify              "si"
692
tan                 "f"
693
team                "s"
694
testpvs             "i"
695
texalpha            "ff"
696
texcoastscale       "f"
697
texcolor            "fff"
698
texffenv            "i"
699
texgrass            "s"
700
texgrassblend       "f"
701
texgrasscolor       "fff"
702
texgrassheight      "i"
703
texgrassscale       "i"
704
texlayer            "isif"
705
texoffset           "ii"
706
texpalette          "i"
707
texrotate           "i"
708
texscale            "f"
709
texscroll           "ff"
710
textclear           ""
711
textcopy            ""
712
textcurrentline     ""
713
textexec            "i"
714
textfocus           "siss"
715
textinit            "sss"
716
textlist            ""
717
textload            "s"
718
textmark            "i"
719
textmode            "i"
720
textpaste           ""
721
textprev            ""
722
textsave            "s"
723
textselectall       ""
724
textshow            ""
725
texture             "ssiiif"
726
texturereset        "i"
727
textwidth           "si"
728
thirdpersonswitch   ""
729
timestr             "ii"
730
toggleconsole       ""
731
triggerclientnum    ""
732
undo                ""
733
unescape            "s"
734
unignore            "s"
735
updatefrommaster    ""
736
updateservers       ""
737
use                 "D"
738
valpha              "ff"
739
variantshader       "isiss"
740
vcoastscale         "fff"
741
vcolor              "fff"
742
vdelta              "s"
743
vlayer              "i"
744
voffset             "ii"
745
vpalette            "ii"
746
vreset              ""
747
vrotate             "i"
748
vscale              "f"
749
vscroll             "ff"
750
vshaderparam        "sffffii"
751
waitbind            "ss"
752
waiting             "i"
753
waitmodeswitch      ""
754
weapon              "ss"
755
weapselect          ""
756
weapslot            "i"
757
while               "ee"
758
worldalias          "ss"
759
writecfg            ""
760
writeobj            "s"
761
writevars           "sii"