Category:IWSL Functions

From InWorldz Wiki
Jump to: navigation, search


Scripting Wiki

InWorldz Functions | LSL Functions | Bot / NPC Functions | Events | Bot Events | Types | Operators | Constants | Flow Control | Glossary

Functions: A

iwActiveGroup integer iwActiveGroup(key agent, key group)
iwAvatarName2Key key iwAvatarName2Key(string firstName, string lastName)
iwAvatarOnLink key iwAvatarOnLink(integer linknumber)

Functions: C

iwChar2Int integer iwChar2Int(string source, integer index)
iwCheckRezError integer iwCheckRezError(vector position, integer isTemp, integer landImpact)
iwClampFloat float iwClampFloat(float value, float min, float max)
iwClampInt integer iwClampInt(integer value, integer min, integer max)
iwColorConvert vector iwColorConvert(vector input, integer fromColor, integer toColor)

Functions: F

iwFormatString string iwFormatString(string source, list variables)
iwFormatTime string iwFormatTime(integer unixtime, integer isUTC, string format)
iwFrandRange float iwFrandRange(float min, float max)

Functions: G

iwGetAgentData string iwGetAgentData(key id, integer data)
iwGetAgentList list iwGetAgentList(integer scope, vector minPos, vector maxPos, list params)
iwGetAppearanceParam integer iwGetAppearanceParam(key id, integer param)
iwGetLastOwner key iwGetLastOwner()
iwGetLinkInventoryCreator key iwGetLinkInventoryCreator(integer linknumber, string item)
iwGetLinkInventoryDesc string iwGetLinkInventoryDesc(integer linknumber, string name)
iwGetLinkInventoryKey key iwGetLinkInventoryKey(integer linknumber, string name)
iwGetLinkInventoryLastOwner key iwGetLinkInventoryLastOwner(integer linknumber, string name)
iwGetLinkInventoryName string iwGetLinkInventoryName(integer linknumber, integer type, integer number)
iwGetLinkInventoryNumber integer iwGetLinkInventoryNumber(integer linknumber, integer type)
iwGetLinkInventoryPermMask integer iwGetLinkInventoryPermMask(integer linknumber, string item, integer mask)
iwGetLinkInventoryType integer iwGetLinkInventoryType(integer linknumber, string name)
iwGetLinkNotecardLine key iwGetLinkNotecardLine(integer linknumber, string name, integer linenumber)
iwGetLinkNotecardSegment key iwGetLinkNotecardSegment(integer linknumber, string name, integer line, integer startOffset, integer maxLength)
iwGetLinkNumberOfNotecardLines iwGetLinkNumberOfNotecardLines
iwGetLocalTime integer iwGetLocalTime()
iwGetLocalTimeOffset integer iwGetLocalTimeOffset()
iwGetNotecardSegment key iwGetNotecardSegment(string name, integer line, integer startOffset, integer maxLength)
iwGetObjectMassMKS float iwGetObjectMassMKS(key id)
iwGetWorldBoundingBox list iwGetWorldBoundingBox(key object)
iwGiveLinkInventory iwGiveLinkInventory(integer linknumber, key destination, string inventory)
iwGiveLinkInventoryList iwGiveLinkInventoryList(integer linknumber, key target, string folder, list inventory)
iwGroundSurfaceNormal vector iwGroundSurfaceNormal(vector offset)
iwGroupEject integer iwGroupEject(key group, key avatar)
iwGroupInvite integer iwGroupInvite(key group, key avatar, string rolename)

Functions: H

iwHasParcelPowers integer iwHasParcelPowers(integer groupPower)

Functions: I

iwInt2Char string iwInt2Char(integer int)
iwIntRand integer iwIntRand(integer max)
iwIntRandRange integer iwIntRandRange(integer min, integer max)
iwIsPlusUser integer iwIsPlusUser(key group, key avatar, string rolename)

Functions: L

iwLinkTargetOmega iwLinkTargetOmega(integer linknumber, vector axis, float spinrate, float gain);
iwListIncludesElements integer iwListIncludesElements(list src, list elements, integer any)
iwListRemoveElements list iwListRemoveElements(list src, list elements, integer count)
iwListRemoveDuplicates list iwListRemoveDuplicates(list src)

Functions: M

iwMakeNotecard iwMakeNotecard(string name, list data)
iwMatchList integer iwMatchList(list source, list pattern, integer matchType)
iwMatchString integer iwMatchString(string source, string pattern, integer matchType)

Functions: N

iwNameToColor vector iwNameToColor(string name)

Functions: P

iwParseString2List list iwParseString2List(string source, list separators, list spacers, list options)

Functions: R

iwRemoveLinkInventory iwRemoveLinkInventory(integer linknumber, string item)
iwReplaceString string iwReplaceString(string source, string pattern, string replace)
iwRequestAnimationData key iwRequestAnimationData(string name)
iwReverseList list iwReverseList(list src, integer stride)
iwReverseString string iwReverseString(string src)
iwRezAtRoot key iwRezAtRoot(string inventory, vector pos, vector vel, rotation rot, integer param)
iwRezObject key iwRezObject(string inventory, vector pos, vector vel, rotation rot, integer param)
iwRezPrim key iwRezPrim(list primParams, list particleSystem, list inventoryList, vector pos, vector vel, rotation rot, integer param)

Functions: S

iwSearchInventory list iwSearchInventory(integer type, string pattern, integer matchType)
iwSearchLinkInventory list iwSearchLinkInventory(integer link, integer type, string pattern, integer matchType)
iwSearchLinksByDesc list iwSearchLinksByDesc(string pattern, integer matchType, integer linksOnly)
iwSearchLinksByName list iwSearchLinksByName(string pattern, integer matchType, integer linksOnly)
iwSetGround iwSetGround(integer x1, integer y1, integer x2, integer y2, float height)
iwSetWind iwSetWind(integer type, vector offset, vector speed)
iwSHA256String string iwSHA256String(string src)
iwStartLinkAnimation iwStartLinkAnimation(integer link, string anim)
iwStopLinkAnimation iwStopLinkAnimation(integer link, string anim)
iwStringCodec string iwStringCodec(string source, string codec, integer operation, list extraArguments)
iwSubStringIndex integer iwSubStringIndex(string source, string pattern, integer offset, integer isCaseSensitive)

Functions: T

iwTeleportAgent iwTeleportAgent(key agent, string region, vector pos, vector lookat)

Functions: V

iwVerifyType integer iwVerifyType(string source, integer type)

Functions: W

iwWind vector iwWind(vector offset)