1 | 5 | simandl | <?php |
2 | | | /************************************************************************************* |
3 | | | * lsl2.php |
4 | | | * -------- |
5 | | | * Author: William Fry (william.fry@nyu.edu) |
6 | | | * Copyright: (c) 2009 William Fry |
7 | | | * Release Version: 1.0.8.3 |
8 | | | * Date Started: 2009/02/04 |
9 | | | * |
10 | | | * Linden Scripting Language (LSL2) language file for GeSHi. |
11 | | | * |
12 | | | * Data derived and validated against the following: |
13 | | | * http://wiki.secondlife.com/wiki/LSL_Portal |
14 | | | * http://www.lslwiki.net/lslwiki/wakka.php?wakka=HomePage |
15 | | | * http://rpgstats.com/wiki/index.php?title=Main_Page |
16 | | | * |
17 | | | * CHANGES |
18 | | | * ------- |
19 | | | * 2009/02/05 (1.0.0) |
20 | | | * - First Release |
21 | | | * |
22 | | | * TODO (updated 2009/02/05) |
23 | | | * ------------------------- |
24 | | | * |
25 | | | ************************************************************************************* |
26 | | | * |
27 | | | * This file is part of GeSHi. |
28 | | | * |
29 | | | * GeSHi is free software; you can redistribute it and/or modify |
30 | | | * it under the terms of the GNU General Public License as published by |
31 | | | * the Free Software Foundation; either version 2 of the License, or |
32 | | | * (at your option) any later version. |
33 | | | * |
34 | | | * GeSHi is distributed in the hope that it will be useful, |
35 | | | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
36 | | | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
37 | | | * GNU General Public License for more details. |
38 | | | * |
39 | | | * You should have received a copy of the GNU General Public License |
40 | | | * along with GeSHi; if not, write to the Free Software |
41 | | | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
42 | | | * |
43 | | | ************************************************************************************/ |
44 | | | |
45 | | | $language_data = array ( |
46 | | | 'LANG_NAME' => 'LSL2', |
47 | | | 'COMMENT_SINGLE' => array(1 => '//'), |
48 | | | 'COMMENT_MULTI' => array(), |
49 | | | 'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE, |
50 | | | 'QUOTEMARKS' => array('"'), |
51 | | | 'ESCAPE_CHAR' => '\\', |
52 | | | 'KEYWORDS' => array( |
53 | | | 1 => array( // flow control |
54 | | | 'do', |
55 | | | 'else', |
56 | | | 'for', |
57 | | | 'if', |
58 | | | 'jump', |
59 | | | 'return', |
60 | | | 'state', |
61 | | | 'while', |
62 | | | ), |
63 | | | 2 => array( // manifest constants |
64 | | | 'ACTIVE', |
65 | | | 'AGENT', |
66 | | | 'AGENT_ALWAYS_RUN', |
67 | | | 'AGENT_ATTACHMENTS', |
68 | | | 'AGENT_AWAY', |
69 | | | 'AGENT_BUSY', |
70 | | | 'AGENT_CROUCHING', |
71 | | | 'AGENT_FLYING', |
72 | | | 'AGENT_IN_AIR', |
73 | | | 'AGENT_MOUSELOOK', |
74 | | | 'AGENT_ON_OBJECT', |
75 | | | 'AGENT_SCRIPTED', |
76 | | | 'AGENT_SITTING', |
77 | | | 'AGENT_TYPING', |
78 | | | 'AGENT_WALKING', |
79 | | | 'ALL_SIDES', |
80 | | | 'ANIM_ON', |
81 | | | 'ATTACH_BACK', |
82 | | | 'ATTACH_BELLY', |
83 | | | 'ATTACH_CHEST', |
84 | | | 'ATTACH_CHIN', |
85 | | | 'ATTACH_HEAD', |
86 | | | 'ATTACH_HUD_BOTTOM', |
87 | | | 'ATTACH_HUD_BOTTOM_LEFT', |
88 | | | 'ATTACH_HUD_BOTTOM_RIGHT', |
89 | | | 'ATTACH_HUD_CENTER_1', |
90 | | | 'ATTACH_HUD_CENTER_2', |
91 | | | 'ATTACH_HUD_TOP_CENTER', |
92 | | | 'ATTACH_HUD_TOP_LEFT', |
93 | | | 'ATTACH_HUD_TOP_RIGHT', |
94 | | | 'ATTACH_LEAR', |
95 | | | 'ATTACH_LEYE', |
96 | | | 'ATTACH_LFOOT', |
97 | | | 'ATTACH_LHAND', |
98 | | | 'ATTACH_LHIP', |
99 | | | 'ATTACH_LLARM', |
100 | | | 'ATTACH_LLLEG', |
101 | | | 'ATTACH_LPEC', |
102 | | | 'ATTACH_LSHOULDER', |
103 | | | 'ATTACH_LUARM', |
104 | | | 'ATTACH_LULEG', |
105 | | | 'ATTACH_MOUTH', |
106 | | | 'ATTACH_NOSE', |
107 | | | 'ATTACH_PELVIS', |
108 | | | 'ATTACH_REAR', |
109 | | | 'ATTACH_REYE', |
110 | | | 'ATTACH_RFOOT', |
111 | | | 'ATTACH_RHAND', |
112 | | | 'ATTACH_RHIP', |
113 | | | 'ATTACH_RLARM', |
114 | | | 'ATTACH_RLLEG', |
115 | | | 'ATTACH_RPEC', |
116 | | | 'ATTACH_RSHOULDER', |
117 | | | 'ATTACH_RUARM', |
118 | | | 'ATTACH_RULEG', |
119 | | | 'CAMERA_ACTIVE', |
120 | | | 'CAMERA_BEHINDNESS_ANGLE', |
121 | | | 'CAMERA_BEHINDNESS_LAG', |
122 | | | 'CAMERA_DISTANCE', |
123 | | | 'CAMERA_FOCUS', |
124 | | | 'CAMERA_FOCUS_LAG', |
125 | | | 'CAMERA_FOCUS_LOCKED', |
126 | | | 'CAMERA_FOCUS_OFFSET', |
127 | | | 'CAMERA_FOCUS_THRESHOLD', |
128 | | | 'CAMERA_PITCH', |
129 | | | 'CAMERA_POSITION', |
130 | | | 'CAMERA_POSITION_LAG', |
131 | | | 'CAMERA_POSITION_LOCKED', |
132 | | | 'CAMERA_POSITION_THRESHOLD', |
133 | | | 'CHANGED_ALLOWED_DROP', |
134 | | | 'CHANGED_COLOR', |
135 | | | 'CHANGED_INVENTORY', |
136 | | | 'CHANGED_LINK', |
137 | | | 'CHANGED_OWNER', |
138 | | | 'CHANGED_REGION', |
139 | | | 'CHANGED_SCALE', |
140 | | | 'CHANGED_SHAPE', |
141 | | | 'CHANGED_TELEPORT', |
142 | | | 'CHANGED_TEXTURE', |
143 | | | 'CLICK_ACTION_NONE', |
144 | | | 'CLICK_ACTION_OPEN', |
145 | | | 'CLICK_ACTION_OPEN_MEDIA', |
146 | | | 'CLICK_ACTION_PAY', |
147 | | | 'CLICK_ACTION_SIT', |
148 | | | 'CLICK_ACTION_TOUCH', |
149 | | | 'CONTROL_BACK', |
150 | | | 'CONTROL_DOWN', |
151 | | | 'CONTROL_FWD', |
152 | | | 'CONTROL_LBUTTON', |
153 | | | 'CONTROL_LEFT', |
154 | | | 'CONTROL_ML_LBUTTON', |
155 | | | 'CONTROL_RIGHT', |
156 | | | 'CONTROL_ROT_LEFT', |
157 | | | 'CONTROL_ROT_RIGHT', |
158 | | | 'CONTROL_UP', |
159 | | | 'DATA_BORN', |
160 | | | 'DATA_NAME', |
161 | | | 'DATA_ONLINE', |
162 | | | 'DATA_PAYINFO', |
163 | | | 'DATA_RATING', |
164 | | | 'DATA_SIM_POS', |
165 | | | 'DATA_SIM_RATING', |
166 | | | 'DATA_SIM_STATUS', |
167 | | | 'DEBUG_CHANNEL', |
168 | | | 'DEG_TO_RAD', |
169 | | | 'EOF', |
170 | | | 'FALSE', |
171 | | | 'HTTP_BODY_MAXLENGTH', |
172 | | | 'HTTP_BODY_TRUNCATED', |
173 | | | 'HTTP_METHOD', |
174 | | | 'HTTP_MIMETYPE', |
175 | | | 'HTTP_VERIFY_CERT', |
176 | | | 'INVENTORY_ALL', |
177 | | | 'INVENTORY_ANIMATION', |
178 | | | 'INVENTORY_BODYPART', |
179 | | | 'INVENTORY_CLOTHING', |
180 | | | 'INVENTORY_GESTURE', |
181 | | | 'INVENTORY_LANDMARK', |
182 | | | 'INVENTORY_NONE', |
183 | | | 'INVENTORY_NOTECARD', |
184 | | | 'INVENTORY_OBJECT', |
185 | | | 'INVENTORY_SCRIPT', |
186 | | | 'INVENTORY_SOUND', |
187 | | | 'INVENTORY_TEXTURE', |
188 | | | 'LAND_LEVEL', |
189 | | | 'LAND_LOWER', |
190 | | | 'LAND_NOISE', |
191 | | | 'LAND_RAISE', |
192 | | | 'LAND_REVERT', |
193 | | | 'LAND_SMOOTH', |
194 | | | 'LINK_ALL_CHILDREN', |
195 | | | 'LINK_ALL_OTHERS', |
196 | | | 'LINK_ROOT', |
197 | | | 'LINK_SET', |
198 | | | 'LINK_THIS', |
199 | | | 'LIST_STAT_GEOMETRIC_MEAN', |
200 | | | 'LIST_STAT_MAX', |
201 | | | 'LIST_STAT_MEAN', |
202 | | | 'LIST_STAT_MEDIAN', |
203 | | | 'LIST_STAT_MIN', |
204 | | | 'LIST_STAT_NUM_COUNT', |
205 | | | 'LIST_STAT_RANGE', |
206 | | | 'LIST_STAT_STD_DEV', |
207 | | | 'LIST_STAT_SUM', |
208 | | | 'LIST_STAT_SUM_SQUARES', |
209 | | | 'LOOP', |
210 | | | 'MASK_BASE', |
211 | | | 'MASK_EVERYONE', |
212 | | | 'MASK_GROUP', |
213 | | | 'MASK_NEXT', |
214 | | | 'MASK_OWNER', |
215 | | | 'NULL_KEY', |
216 | | | 'OBJECT_CREATOR', |
217 | | | 'OBJECT_DESC', |
218 | | | 'OBJECT_GROUP', |
219 | | | 'OBJECT_NAME', |
220 | | | 'OBJECT_OWNER', |
221 | | | 'OBJECT_POS', |
222 | | | 'OBJECT_ROT', |
223 | | | 'OBJECT_UNKNOWN_DETAIL', |
224 | | | 'OBJECT_VELOCITY', |
225 | | | 'PARCEL_DETAILS_AREA', |
226 | | | 'PARCEL_DETAILS_DESC', |
227 | | | 'PARCEL_DETAILS_GROUP', |
228 | | | 'PARCEL_DETAILS_NAME', |
229 | | | 'PARCEL_DETAILS_OWNER', |
230 | | | 'PARCEL_FLAG_ALLOW_ALL_OBJECT_ENTRY', |
231 | | | 'PARCEL_FLAG_ALLOW_CREATE_GROUP_OBJECTS', |
232 | | | 'PARCEL_FLAG_ALLOW_CREATE_OBJECTS', |
233 | | | 'PARCEL_FLAG_ALLOW_DAMAGE', |
234 | | | 'PARCEL_FLAG_ALLOW_FLY', |
235 | | | 'PARCEL_FLAG_ALLOW_GROUP_OBJECT_ENTRY', |
236 | | | 'PARCEL_FLAG_ALLOW_GROUP_SCRIPTS', |
237 | | | 'PARCEL_FLAG_ALLOW_LANDMARK', |
238 | | | 'PARCEL_FLAG_ALLOW_SCRIPTS', |
239 | | | 'PARCEL_FLAG_ALLOW_TERRAFORM', |
240 | | | 'PARCEL_FLAG_LOCAL_SOUND_ONLY', |
241 | | | 'PARCEL_FLAG_RESTRICT_PUSHOBJECT', |
242 | | | 'PARCEL_FLAG_USE_ACCESS_GROUP', |
243 | | | 'PARCEL_FLAG_USE_ACCESS_LIST', |
244 | | | 'PARCEL_FLAG_USE_BAN_LIST', |
245 | | | 'PARCEL_FLAG_USE_LAND_PASS_LIST', |
246 | | | 'PARCEL_MEDIA_COMMAND_AGENT', |
247 | | | 'PARCEL_MEDIA_COMMAND_AUTO_ALIGN', |
248 | | | 'PARCEL_MEDIA_COMMAND_DESC', |
249 | | | 'PARCEL_MEDIA_COMMAND_LOOP_SET', |
250 | | | 'PARCEL_MEDIA_COMMAND_PAUSE', |
251 | | | 'PARCEL_MEDIA_COMMAND_PLAY', |
252 | | | 'PARCEL_MEDIA_COMMAND_SIZE', |
253 | | | 'PARCEL_MEDIA_COMMAND_STOP', |
254 | | | 'PARCEL_MEDIA_COMMAND_TEXTURE', |
255 | | | 'PARCEL_MEDIA_COMMAND_TIME', |
256 | | | 'PARCEL_MEDIA_COMMAND_TYPE', |
257 | | | 'PARCEL_MEDIA_COMMAND_URL', |
258 | | | 'PASSIVE', |
259 | | | 'PAYMENT_INFO_ON_FILE', |
260 | | | 'PAYMENT_INFO_USED', |
261 | | | 'PAY_DEFAULT', |
262 | | | 'PAY_HIDE', |
263 | | | 'PERMISSION_ATTACH', |
264 | | | 'PERMISSION_CHANGE_LINKS', |
265 | | | 'PERMISSION_CONTROL_CAMERA', |
266 | | | 'PERMISSION_DEBIT', |
267 | | | 'PERMISSION_TAKE_CONTROLS', |
268 | | | 'PERMISSION_TRACK_CAMERA', |
269 | | | 'PERMISSION_TRIGGER_ANIMATION', |
270 | | | 'PERM_ALL', |
271 | | | 'PERM_COPY', |
272 | | | 'PERM_MODIFY', |
273 | | | 'PERM_MOVE', |
274 | | | 'PERM_TRANSFER', |
275 | | | 'PI', |
276 | | | 'PI_BY_TWO', |
277 | | | 'PRIM_BUMP_BARK', |
278 | | | 'PRIM_BUMP_BLOBS', |
279 | | | 'PRIM_BUMP_BRICKS', |
280 | | | 'PRIM_BUMP_BRIGHT', |
281 | | | 'PRIM_BUMP_CHECKER', |
282 | | | 'PRIM_BUMP_CONCRETE', |
283 | | | 'PRIM_BUMP_DARK', |
284 | | | 'PRIM_BUMP_DISKS', |
285 | | | 'PRIM_BUMP_GRAVEL', |
286 | | | 'PRIM_BUMP_LARGETILE', |
287 | | | 'PRIM_BUMP_NONE', |
288 | | | 'PRIM_BUMP_SHINY', |
289 | | | 'PRIM_BUMP_SIDING', |
290 | | | 'PRIM_BUMP_STONE', |
291 | | | 'PRIM_BUMP_STUCCO', |
292 | | | 'PRIM_BUMP_SUCTION', |
293 | | | 'PRIM_BUMP_TILE', |
294 | | | 'PRIM_BUMP_WEAVE', |
295 | | | 'PRIM_BUMP_WOOD', |
296 | | | 'PRIM_COLOR', |
297 | | | 'PRIM_FULLBRIGHT', |
298 | | | 'PRIM_HOLE_CIRCLE', |
299 | | | 'PRIM_HOLE_DEFAULT', |
300 | | | 'PRIM_HOLE_SQUARE', |
301 | | | 'PRIM_HOLE_TRIANGLE', |
302 | | | 'PRIM_MATERIAL', |
303 | | | 'PRIM_MATERIAL_FLESH', |
304 | | | 'PRIM_MATERIAL_GLASS', |
305 | | | 'PRIM_MATERIAL_LIGHT', |
306 | | | 'PRIM_MATERIAL_METAL', |
307 | | | 'PRIM_MATERIAL_PLASTIC', |
308 | | | 'PRIM_MATERIAL_RUBBER', |
309 | | | 'PRIM_MATERIAL_STONE', |
310 | | | 'PRIM_MATERIAL_WOOD', |
311 | | | 'PRIM_PHANTOM', |
312 | | | 'PRIM_PHYSICS', |
313 | | | 'PRIM_POSITION', |
314 | | | 'PRIM_ROTATION', |
315 | | | 'PRIM_SHINY_HIGH', |
316 | | | 'PRIM_SHINY_LOW', |
317 | | | 'PRIM_SHINY_MEDIUM', |
318 | | | 'PRIM_SHINY_NONE', |
319 | | | 'PRIM_SIZE', |
320 | | | 'PRIM_TEMP_ON_REZ', |
321 | | | 'PRIM_TEXTURE', |
322 | | | 'PRIM_TYPE', |
323 | | | 'PRIM_TYPE_BOX', |
324 | | | 'PRIM_TYPE_CYLINDER', |
325 | | | 'PRIM_TYPE_PRISM', |
326 | | | 'PRIM_TYPE_RING', |
327 | | | 'PRIM_TYPE_SPHERE', |
328 | | | 'PRIM_TYPE_TORUS', |
329 | | | 'PRIM_TYPE_TUBE', |
330 | | | 'PSYS_PART_BOUNCE_MASK', |
331 | | | 'PSYS_PART_EMISSIVE_MASK', |
332 | | | 'PSYS_PART_END_ALPHA', |
333 | | | 'PSYS_PART_END_COLOR', |
334 | | | 'PSYS_PART_END_SCALE', |
335 | | | 'PSYS_PART_FLAGS', |
336 | | | 'PSYS_PART_FOLLOW_SRC_MASK', |
337 | | | 'PSYS_PART_FOLLOW_VELOCITY_MASK', |
338 | | | 'PSYS_PART_INTERP_COLOR_MASK', |
339 | | | 'PSYS_PART_INTERP_SCALE_MASK', |
340 | | | 'PSYS_PART_MAX_AGE', |
341 | | | 'PSYS_PART_START_ALPHA', |
342 | | | 'PSYS_PART_START_COLOR', |
343 | | | 'PSYS_PART_START_SCALE', |
344 | | | 'PSYS_PART_TARGET_LINEAR_MASK', |
345 | | | 'PSYS_PART_TARGET_POS_MASK', |
346 | | | 'PSYS_PART_WIND_MASK', |
347 | | | 'PSYS_SRC_ACCEL', |
348 | | | 'PSYS_SRC_ANGLE_BEGIN', |
349 | | | 'PSYS_SRC_ANGLE_END', |
350 | | | 'PSYS_SRC_BURST_PART_COUNT', |
351 | | | 'PSYS_SRC_BURST_RADIUS', |
352 | | | 'PSYS_SRC_BURST_RATE', |
353 | | | 'PSYS_SRC_BURST_SPEED_MAX', |
354 | | | 'PSYS_SRC_BURST_SPEED_MIN', |
355 | | | 'PSYS_SRC_INNERANGLE', |
356 | | | 'PSYS_SRC_MAX_AGE', |
357 | | | 'PSYS_SRC_OMEGA', |
358 | | | 'PSYS_SRC_OUTERANGLE', |
359 | | | 'PSYS_SRC_PATTERN', |
360 | | | 'PSYS_SRC_PATTERN_ANGLE', |
361 | | | 'PSYS_SRC_PATTERN_ANGLE_CONE', |
362 | | | 'PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY', |
363 | | | 'PSYS_SRC_PATTERN_DROP', |
364 | | | 'PSYS_SRC_PATTERN_EXPLODE', |
365 | | | 'PSYS_SRC_TARGET_KEY', |
366 | | | 'PSYS_SRC_TEXTURE', |
367 | | | 'RAD_TO_DEG', |
368 | | | 'REMOTE_DATA_CHANNEL', |
369 | | | 'REMOTE_DATA_REQUEST', |
370 | | | 'SCRIPTED', |
371 | | | 'SQRT2', |
372 | | | 'STATUS_BLOCK_GRAB', |
373 | | | 'STATUS_DIE_AT_EDGE', |
374 | | | 'STATUS_PHANTOM', |
375 | | | 'STATUS_PHYSICS', |
376 | | | 'STATUS_RETURN_AT_EDGE', |
377 | | | 'STATUS_ROTATE_X', |
378 | | | 'STATUS_ROTATE_Y', |
379 | | | 'STATUS_ROTATE_Z', |
380 | | | 'STATUS_SANDBOX', |
381 | | | 'TRUE', |
382 | | | 'TWO_PI', |
383 | | | 'VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY', |
384 | | | 'VEHICLE_ANGULAR_DEFLECTION_TIMESCALE', |
385 | | | 'VEHICLE_ANGULAR_FRICTION_TIMESCALE', |
386 | | | 'VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE', |
387 | | | 'VEHICLE_ANGULAR_MOTOR_DIRECTION', |
388 | | | 'VEHICLE_ANGULAR_MOTOR_TIMESCALE', |
389 | | | 'VEHICLE_BANKING_EFFICIENCY', |
390 | | | 'VEHICLE_BANKING_MIX', |
391 | | | 'VEHICLE_BANKING_TIMESCALE', |
392 | | | 'VEHICLE_BUOYANCY', |
393 | | | 'VEHICLE_FLAG_CAMERA_DECOUPLED', |
394 | | | 'VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT', |
395 | | | 'VEHICLE_FLAG_HOVER_TERRAIN_ONLY', |
396 | | | 'VEHICLE_FLAG_HOVER_UP_ONLY', |
397 | | | 'VEHICLE_FLAG_HOVER_WATER_ONLY', |
398 | | | 'VEHICLE_FLAG_LIMIT_MOTOR_UP', |
399 | | | 'VEHICLE_FLAG_LIMIT_ROLL_ONLY', |
400 | | | 'VEHICLE_FLAG_MOUSELOOK_BANK', |
401 | | | 'VEHICLE_FLAG_MOUSELOOK_STEER', |
402 | | | 'VEHICLE_FLAG_NO_DEFLECTION_UP', |
403 | | | 'VEHICLE_HOVER_EFFICIENCY', |
404 | | | 'VEHICLE_HOVER_HEIGHT', |
405 | | | 'VEHICLE_HOVER_TIMESCALE', |
406 | | | 'VEHICLE_LINEAR_DEFLECTION_EFFICIENCY', |
407 | | | 'VEHICLE_LINEAR_DEFLECTION_TIMESCALE', |
408 | | | 'VEHICLE_LINEAR_FRICTION_TIMESCALE', |
409 | | | 'VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE', |
410 | | | 'VEHICLE_LINEAR_MOTOR_DIRECTION', |
411 | | | 'VEHICLE_LINEAR_MOTOR_OFFSET', |
412 | | | 'VEHICLE_LINEAR_MOTOR_TIMESCALE', |
413 | | | 'VEHICLE_REFERENCE_FRAME', |
414 | | | 'VEHICLE_TYPE_AIRPLANE', |
415 | | | 'VEHICLE_TYPE_BALLOON', |
416 | | | 'VEHICLE_TYPE_BOAT', |
417 | | | 'VEHICLE_TYPE_CAR', |
418 | | | 'VEHICLE_TYPE_NONE', |
419 | | | 'VEHICLE_TYPE_SLED', |
420 | | | 'VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY', |
421 | | | 'VEHICLE_VERTICAL_ATTRACTION_TIMESCALE', |
422 | | | 'ZERO_ROTATION', |
423 | | | 'ZERO_VECTOR', |
424 | | | ), |
425 | | | 3 => array( // handlers |
426 | | | 'at_rot_target', |
427 | | | 'at_target', |
428 | | | 'attached', |
429 | | | 'changed', |
430 | | | 'collision', |
431 | | | 'collision_end', |
432 | | | 'collision_start', |
433 | | | 'control', |
434 | | | 'dataserver', |
435 | | | 'email', |
436 | | | 'http_response', |
437 | | | 'land_collision', |
438 | | | 'land_collision_end', |
439 | | | 'land_collision_start', |
440 | | | 'link_message', |
441 | | | 'listen', |
442 | | | 'money', |
443 | | | 'moving_end', |
444 | | | 'moving_start', |
445 | | | 'no_sensor', |
446 | | | 'not_at_rot_target', |
447 | | | 'not_at_target', |
448 | | | 'object_rez', |
449 | | | 'on_rez', |
450 | | | 'remote_data', |
451 | | | 'run_time_permissions', |
452 | | | 'sensor', |
453 | | | 'state_entry', |
454 | | | 'state_exit', |
455 | | | 'timer', |
456 | | | 'touch', |
457 | | | 'touch_end', |
458 | | | 'touch_start', |
459 | | | ), |
460 | | | 4 => array( // data types |
461 | | | 'float', |
462 | | | 'integer', |
463 | | | 'key', |
464 | | | 'list', |
465 | | | 'rotation', |
466 | | | 'string', |
467 | | | 'vector', |
468 | | | ), |
469 | | | 5 => array( // library |
470 | | | 'default', |
471 | | | 'llAbs', |
472 | | | 'llAcos', |
473 | | | 'llAddToLandBanList', |
474 | | | 'llAddToLandPassList', |
475 | | | 'llAdjustSoundVolume', |
476 | | | 'llAllowInventoryDrop', |
477 | | | 'llAngleBetween', |
478 | | | 'llApplyImpulse', |
479 | | | 'llApplyRotationalImpulse', |
480 | | | 'llAsin', |
481 | | | 'llAtan2', |
482 | | | 'llAttachToAvatar', |
483 | | | 'llAvatarOnSitTarget', |
484 | | | 'llAxes2Rot', |
485 | | | 'llAxisAngle2Rot', |
486 | | | 'llBase64ToInteger', |
487 | | | 'llBase64ToString', |
488 | | | 'llBreakAllLinks', |
489 | | | 'llBreakLink', |
490 | | | 'llCeil', |
491 | | | 'llClearCameraParams', |
492 | | | 'llCloseRemoteDataChannel', |
493 | | | 'llCloud', |
494 | | | 'llCollisionFilter', |
495 | | | 'llCollisionSound', |
496 | | | 'llCollisionSprite', |
497 | | | 'llCos', |
498 | | | 'llCreateLink', |
499 | | | 'llCSV2List', |
500 | | | 'llDeleteSubList', |
501 | | | 'llDeleteSubString', |
502 | | | 'llDetachFromAvatar', |
503 | | | 'llDetectedGrab', |
504 | | | 'llDetectedGroup', |
505 | | | 'llDetectedKey', |
506 | | | 'llDetectedLinkNumber', |
507 | | | 'llDetectedName', |
508 | | | 'llDetectedOwner', |
509 | | | 'llDetectedPos', |
510 | | | 'llDetectedRot', |
511 | | | 'llDetectedTouchBinormal', |
512 | | | 'llDetectedTouchFace', |
513 | | | 'llDetectedTouchNormal', |
514 | | | 'llDetectedTouchPos', |
515 | | | 'llDetectedTouchST', |
516 | | | 'llDetectedTouchUV', |
517 | | | 'llDetectedType', |
518 | | | 'llDetectedVel', |
519 | | | 'llDialog', |
520 | | | 'llDie', |
521 | | | 'llDumpList2String', |
522 | | | 'llEdgeOfWorld', |
523 | | | 'llEjectFromLand', |
524 | | | 'llEmail', |
525 | | | 'llEscapeURL', |
526 | | | 'llEuler2Rot', |
527 | | | 'llFabs', |
528 | | | 'llFloor', |
529 | | | 'llForceMouselook', |
530 | | | 'llFrand', |
531 | | | 'llGetAccel', |
532 | | | 'llGetAgentInfo', |
533 | | | 'llGetAgentLanguage', |
534 | | | 'llGetAgentSize', |
535 | | | 'llGetAlpha', |
536 | | | 'llGetAndResetTime', |
537 | | | 'llGetAnimation', |
538 | | | 'llGetAnimationList', |
539 | | | 'llGetAttached', |
540 | | | 'llGetBoundingBox', |
541 | | | 'llGetCameraPos', |
542 | | | 'llGetCameraRot', |
543 | | | 'llGetCenterOfMass', |
544 | | | 'llGetColor', |
545 | | | 'llGetCreator', |
546 | | | 'llGetDate', |
547 | | | 'llGetEnergy', |
548 | | | 'llGetForce', |
549 | | | 'llGetFreeMemory', |
550 | | | 'llGetGeometricCenter', |
551 | | | 'llGetGMTclock', |
552 | | | 'llGetInventoryCreator', |
553 | | | 'llGetInventoryKey', |
554 | | | 'llGetInventoryName', |
555 | | | 'llGetInventoryNumber', |
556 | | | 'llGetInventoryPermMask', |
557 | | | 'llGetInventoryType', |
558 | | | 'llGetKey', |
559 | | | 'llGetLandOwnerAt', |
560 | | | 'llGetLinkKey', |
561 | | | 'llGetLinkName', |
562 | | | 'llGetLinkNumber', |
563 | | | 'llGetListEntryType', |
564 | | | 'llGetListLength', |
565 | | | 'llGetLocalPos', |
566 | | | 'llGetLocalRot', |
567 | | | 'llGetMass', |
568 | | | 'llGetNextEmail', |
569 | | | 'llGetNotecardLine', |
570 | | | 'llGetNumberOfNotecardLines', |
571 | | | 'llGetNumberOfPrims', |
572 | | | 'llGetNumberOfSides', |
573 | | | 'llGetObjectDesc', |
574 | | | 'llGetObjectDetails', |
575 | | | 'llGetObjectMass', |
576 | | | 'llGetObjectName', |
577 | | | 'llGetObjectPermMask', |
578 | | | 'llGetObjectPrimCount', |
579 | | | 'llGetOmega', |
580 | | | 'llGetOwner', |
581 | | | 'llGetOwnerKey', |
582 | | | 'llGetParcelDetails', |
583 | | | 'llGetParcelFlags', |
584 | | | 'llGetParcelMaxPrims', |
585 | | | 'llGetParcelPrimCount', |
586 | | | 'llGetParcelPrimOwners', |
587 | | | 'llGetPermissions', |
588 | | | 'llGetPermissionsKey', |
589 | | | 'llGetPos', |
590 | | | 'llGetPrimitiveParams', |
591 | | | 'llGetRegionAgentCount', |
592 | | | 'llGetRegionCorner', |
593 | | | 'llGetRegionFlags', |
594 | | | 'llGetRegionFPS', |
595 | | | 'llGetRegionName', |
596 | | | 'llGetRegionTimeDilation', |
597 | | | 'llGetRootPosition', |
598 | | | 'llGetRootRotation', |
599 | | | 'llGetRot', |
600 | | | 'llGetScale', |
601 | | | 'llGetScriptName', |
602 | | | 'llGetScriptState', |
603 | | | 'llGetSimulatorHostname', |
604 | | | 'llGetStartParameter', |
605 | | | 'llGetStatus', |
606 | | | 'llGetSubString', |
607 | | | 'llGetSunDirection', |
608 | | | 'llGetTexture', |
609 | | | 'llGetTextureOffset', |
610 | | | 'llGetTextureRot', |
611 | | | 'llGetTextureScale', |
612 | | | 'llGetTime', |
613 | | | 'llGetTimeOfDay', |
614 | | | 'llGetTimestamp', |
615 | | | 'llGetTorque', |
616 | | | 'llGetUnixTime', |
617 | | | 'llGetVel', |
618 | | | 'llGetWallclock', |
619 | | | 'llGiveInventory', |
620 | | | 'llGiveInventoryList', |
621 | | | 'llGiveMoney', |
622 | | | 'llGround', |
623 | | | 'llGroundContour', |
624 | | | 'llGroundNormal', |
625 | | | 'llGroundRepel', |
626 | | | 'llGroundSlope', |
627 | | | 'llHTTPRequest', |
628 | | | 'llInsertString', |
629 | | | 'llInstantMessage', |
630 | | | 'llIntegerToBase64', |
631 | | | 'llKey2Name', |
632 | | | 'llList2CSV', |
633 | | | 'llList2Float', |
634 | | | 'llList2Integer', |
635 | | | 'llList2Key', |
636 | | | 'llList2List', |
637 | | | 'llList2ListStrided', |
638 | | | 'llList2Rot', |
639 | | | 'llList2String', |
640 | | | 'llList2Vector', |
641 | | | 'llListen', |
642 | | | 'llListenControl', |
643 | | | 'llListenRemove', |
644 | | | 'llListFindList', |
645 | | | 'llListInsertList', |
646 | | | 'llListRandomize', |
647 | | | 'llListReplaceList', |
648 | | | 'llListSort', |
649 | | | 'llListStatistics', |
650 | | | 'llLoadURL', |
651 | | | 'llLog', |
652 | | | 'llLog10', |
653 | | | 'llLookAt', |
654 | | | 'llLoopSound', |
655 | | | 'llLoopSoundMaster', |
656 | | | 'llLoopSoundSlave', |
657 | | | 'llMapDestination', |
658 | | | 'llMD5String', |
659 | | | 'llMessageLinked', |
660 | | | 'llMinEventDelay', |
661 | | | 'llModifyLand', |
662 | | | 'llModPow', |
663 | | | 'llMoveToTarget', |
664 | | | 'llOffsetTexture', |
665 | | | 'llOpenRemoteDataChannel', |
666 | | | 'llOverMyLand', |
667 | | | 'llOwnerSay', |
668 | | | 'llParcelMediaCommandList', |
669 | | | 'llParcelMediaQuery', |
670 | | | 'llParseString2List', |
671 | | | 'llParseStringKeepNulls', |
672 | | | 'llParticleSystem', |
673 | | | 'llPassCollisions', |
674 | | | 'llPassTouches', |
675 | | | 'llPlaySound', |
676 | | | 'llPlaySoundSlave', |
677 | | | 'llPow', |
678 | | | 'llPreloadSound', |
679 | | | 'llPushObject', |
680 | | | 'llRegionSay', |
681 | | | 'llReleaseControls', |
682 | | | 'llRemoteDataReply', |
683 | | | 'llRemoteDataSetRegion', |
684 | | | 'llRemoteLoadScriptPin', |
685 | | | 'llRemoveFromLandBanList', |
686 | | | 'llRemoveFromLandPassList', |
687 | | | 'llRemoveInventory', |
688 | | | 'llRemoveVehicleFlags', |
689 | | | 'llRequestAgentData', |
690 | | | 'llRequestInventoryData', |
691 | | | 'llRequestPermissions', |
692 | | | 'llRequestSimulatorData', |
693 | | | 'llResetLandBanList', |
694 | | | 'llResetLandPassList', |
695 | | | 'llResetOtherScript', |
696 | | | 'llResetScript', |
697 | | | 'llResetTime', |
698 | | | 'llRezAtRoot', |
699 | | | 'llRezObject', |
700 | | | 'llRot2Angle', |
701 | | | 'llRot2Axis', |
702 | | | 'llRot2Euler', |
703 | | | 'llRot2Fwd', |
704 | | | 'llRot2Left', |
705 | | | 'llRot2Up', |
706 | | | 'llRotateTexture', |
707 | | | 'llRotBetween', |
708 | | | 'llRotLookAt', |
709 | | | 'llRotTarget', |
710 | | | 'llRotTargetRemove', |
711 | | | 'llRound', |
712 | | | 'llSameGroup', |
713 | | | 'llSay', |
714 | | | 'llScaleTexture', |
715 | | | 'llScriptDanger', |
716 | | | 'llSendRemoteData', |
717 | | | 'llSensor', |
718 | | | 'llSensorRemove', |
719 | | | 'llSensorRepeat', |
720 | | | 'llSetAlpha', |
721 | | | 'llSetBuoyancy', |
722 | | | 'llSetCameraAtOffset', |
723 | | | 'llSetCameraEyeOffset', |
724 | | | 'llSetCameraParams', |
725 | | | 'llSetClickAction', |
726 | | | 'llSetColor', |
727 | | | 'llSetDamage', |
728 | | | 'llSetForce', |
729 | | | 'llSetForceAndTorque', |
730 | | | 'llSetHoverHeight', |
731 | | | 'llSetLinkAlpha', |
732 | | | 'llSetLinkColor', |
733 | | | 'llSetLinkPrimitiveParams', |
734 | | | 'llSetLinkTexture', |
735 | | | 'llSetLocalRot', |
736 | | | 'llSetObjectDesc', |
737 | | | 'llSetObjectName', |
738 | | | 'llSetParcelMusicURL', |
739 | | | 'llSetPayPrice', |
740 | | | 'llSetPos', |
741 | | | 'llSetPrimitiveParams', |
742 | | | 'llSetRemoteScriptAccessPin', |
743 | | | 'llSetRot', |
744 | | | 'llSetScale', |
745 | | | 'llSetScriptState', |
746 | | | 'llSetSitText', |
747 | | | 'llSetSoundQueueing', |
748 | | | 'llSetSoundRadius', |
749 | | | 'llSetStatus', |
750 | | | 'llSetText', |
751 | | | 'llSetTexture', |
752 | | | 'llSetTextureAnim', |
753 | | | 'llSetTimerEvent', |
754 | | | 'llSetTorque', |
755 | | | 'llSetTouchText', |
756 | | | 'llSetVehicleFlags', |
757 | | | 'llSetVehicleFloatParam', |
758 | | | 'llSetVehicleRotationParam', |
759 | | | 'llSetVehicleType', |
760 | | | 'llSetVehicleVectorParam', |
761 | | | 'llSHA1String', |
762 | | | 'llShout', |
763 | | | 'llSin', |
764 | | | 'llSitTarget', |
765 | | | 'llSleep', |
766 | | | 'llSqrt', |
767 | | | 'llStartAnimation', |
768 | | | 'llStopAnimation', |
769 | | | 'llStopHover', |
770 | | | 'llStopLookAt', |
771 | | | 'llStopMoveToTarget', |
772 | | | 'llStopSound', |
773 | | | 'llStringLength', |
774 | | | 'llStringToBase64', |
775 | | | 'llStringTrim', |
776 | | | 'llSubStringIndex', |
777 | | | 'llTakeControls', |
778 | | | 'llTan', |
779 | | | 'llTarget', |
780 | | | 'llTargetOmega', |
781 | | | 'llTargetRemove', |
782 | | | 'llTeleportAgentHome', |
783 | | | 'llToLower', |
784 | | | 'llToUpper', |
785 | | | 'llTriggerSound', |
786 | | | 'llTriggerSoundLimited', |
787 | | | 'llUnescapeURL', |
788 | | | 'llUnSit', |
789 | | | 'llVecDist', |
790 | | | 'llVecMag', |
791 | | | 'llVecNorm', |
792 | | | 'llVolumeDetect', |
793 | | | 'llWater', |
794 | | | 'llWhisper', |
795 | | | 'llWind', |
796 | | | 'llXorBase64StringsCorrect', |
797 | | | ), |
798 | | | 6 => array( // deprecated |
799 | | | 'llMakeExplosion', |
800 | | | 'llMakeFire', |
801 | | | 'llMakeFountain', |
802 | | | 'llMakeSmoke', |
803 | | | 'llSound', |
804 | | | 'llSoundPreload', |
805 | | | 'llXorBase64Strings', |
806 | | | ), |
807 | | | 7 => array( // unimplemented |
808 | | | 'llPointAt', |
809 | | | 'llRefreshPrimURL', |
810 | | | 'llReleaseCamera', |
811 | | | 'llRemoteLoadScript', |
812 | | | 'llSetPrimURL', |
813 | | | 'llStopPointAt', |
814 | | | 'llTakeCamera', |
815 | | | 'llTextBox', |
816 | | | ), |
817 | | | 8 => array( // God mode |
818 | | | 'llGodLikeRezObject', |
819 | | | 'llSetInventoryPermMask', |
820 | | | 'llSetObjectPermMask', |
821 | | | ), |
822 | | | ), |
823 | | | 'SYMBOLS' => array( |
824 | | | '{', '}', '(', ')', '[', ']', |
825 | | | '=', '+', '-', '*', '/', |
826 | | | '+=', '-=', '*=', '/=', '++', '--', |
827 | | | '!', '%', '&', '|', '&&', '||', |
828 | | | '==', '!=', '<', '>', '<=', '>=', |
829 | | | '~', '<<', '>>', '^', ':', |
830 | | | ), |
831 | | | 'CASE_SENSITIVE' => array( |
832 | | | GESHI_COMMENTS => true, |
833 | | | 1 => true, |
834 | | | 2 => true, |
835 | | | 3 => true, |
836 | | | 4 => true, |
837 | | | 5 => true, |
838 | | | 6 => true, |
839 | | | 7 => true, |
840 | | | 8 => true, |
841 | | | ), |
842 | | | 'STYLES' => array( |
843 | | | 'KEYWORDS' => array( |
844 | | | 1 => 'color: #0000ff;', |
845 | | | 2 => 'color: #000080;', |
846 | | | 3 => 'color: #008080;', |
847 | | | 4 => 'color: #228b22;', |
848 | | | 5 => 'color: #b22222;', |
849 | | | 6 => 'color: #8b0000; background-color: #ffff00;', |
850 | | | 7 => 'color: #8b0000; background-color: #fa8072;', |
851 | | | 8 => 'color: #000000; background-color: #ba55d3;', |
852 | | | ), |
853 | | | 'COMMENTS' => array( |
854 | | | 1 => 'color: #ff7f50; font-style: italic;', |
855 | | | ), |
856 | | | 'ESCAPE_CHAR' => array( |
857 | | | |
858 | | | ), |
859 | | | 'BRACKETS' => array( |
860 | | | |
861 | | | ), |
862 | | | 'STRINGS' => array( |
863 | | | |
864 | | | ), |
865 | | | 'NUMBERS' => array( |
866 | | | |
867 | | | ), |
868 | | | 'METHODS' => array( |
869 | | | ), |
870 | | | 'SYMBOLS' => array( |
871 | | | |
872 | | | ), |
873 | | | 'REGEXPS' => array( |
874 | | | ), |
875 | | | 'SCRIPT' => array( |
876 | | | ) |
877 | | | ), |
878 | | | 'URLS' => array( |
879 | | | 1 => '', |
880 | | | 2 => '', |
881 | | | 3 => 'http://www.lslwiki.net/lslwiki/wakka.php?wakka={FNAME}', // http://wiki.secondlife.com/wiki/{FNAME} |
882 | | | 4 => 'http://www.lslwiki.net/lslwiki/wakka.php?wakka={FNAME}', // http://wiki.secondlife.com/wiki/{FNAME} |
883 | | | 5 => 'http://www.lslwiki.net/lslwiki/wakka.php?wakka={FNAME}', // http://wiki.secondlife.com/wiki/{FNAME} |
884 | | | 6 => 'http://www.lslwiki.net/lslwiki/wakka.php?wakka={FNAME}', // http://wiki.secondlife.com/wiki/{FNAME} |
885 | | | 7 => 'http://www.lslwiki.net/lslwiki/wakka.php?wakka={FNAME}', // http://wiki.secondlife.com/wiki/{FNAME} |
886 | | | 8 => 'http://www.lslwiki.net/lslwiki/wakka.php?wakka={FNAME}', // http://wiki.secondlife.com/wiki/{FNAME} |
887 | | | ), |
888 | | | 'OOLANG' => false, |
889 | | | 'OBJECT_SPLITTERS' => array(), |
890 | | | 'REGEXPS' => array( |
891 | | | ), |
892 | | | 'STRICT_MODE_APPLIES' => GESHI_NEVER, |
893 | | | 'SCRIPT_DELIMITERS' => array( |
894 | | | ), |
895 | | | 'HIGHLIGHT_STRICT_BLOCK' => array( |
896 | | | ) |
897 | | | ); |
898 | | | ?> |