KXStudio Website https://kx.studio/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

lsl2.php 28KB

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