BlobbieScript - Functions

The easyact system provided a fairly rich set of functions for accessing the data structures that define the state of the mud at any given point of time. For the most part these functions have been carried forward with the same functionality. Where errors have been detected in the conversion process the errors have been corrected. One concept that was deprecated was the "*ERR*" or any similar type of return value when data is erroneous. Rather than this a null data structure is returned which can be tested with the %isNull( ) function. This is a more consistent and flexible approach to error handling. Generally speaking functions names are case-insensitive; however, for historical reason the %v( ) and %V( ) functions are case-sensitive. Functions are shown with any aliases they may have. I'm high on long names for clarity of code, so you'll notice some function names are just longer versions of the traditional short versions.

%abortHunt()%getPcPointer()%printValue()
%act()%getPet()%pulseActivity()
%actionDisown()%getPlayerVar()%pulseActivityDuration()
%actionIsRunning()%getPositionId()%pulseTick()
%affectCheckFlag()%getRace()%pulseViolence()
%affectGetAntidotes()%getRacePointer()%pulseViolenceDuration()
%affectGetOwner()%getRealTime()%pure()
%affectGetSkillName()%getReputation()%purge()
%affectSetOwner()%getRoomPointer()%randBetween()
%affectSetSkillName()%getSavedVar()%randK()
%applyBuoyancy()%getServerBootId()%randPlayer()
%areaGetItems()%getShortName()%randSelect()
%areaGetMobs()%getSubClass()%randSelectMultiUnique()
%areaGetNpcs()%getTarget()%roomGetExits()
%areaGetPcs()%getTargets()%roomGetItems()
%areaGetStat()%getTime()%roomGetMobs()
%array()%getTotalHere()%roomGetNpcs()
%arrayGetHead()%getTranslation()%roomGetPcs()
%arrayGetKeyForValue()%getVar()%roomGetRadiusItems()
%arrayGetKeys()%getWeight()%roomGetRadiusMobs()
%arrayGetSize()%globalDebug()%roomGetRadiusRooms()
%arrayGetTail()%hasAffectItem()%roomGetRandom()
%arrayGetValues()%hasItem()%roomGetStat()
%arrayHasValue()%hates()%roomSetStat()
%arrayImplode()%height()%runCommand()
%arrayMergeValues()%hitsCond()%saveVersusBreath()
%arrayShuffle()%int()%saveVersusBreathMod()
%arrayUnset()%intCeiling()%saveVersusParalyze()
%arrayValuesToKeys()%intFloor()%saveVersusParalyzeMod()
%asArray()%intRound()%saveVersusPetrify()
%asInt()%isAffectedBy()%saveVersusPetrifyMod()
%asNull()%isAffectedByBits()%saveVersusPrayer()
%asString()%isArray()%saveVersusPrayerMod()
%attackCheckAttempt()%isAwake()%saveVersusRod()
%attackCheckOpponentCount()%isCharm()%saveVersusRodMod()
%attackDeny()%isDark()%saveVersusSkill()
%average()%isDaytime()%saveVersusSkillMod()
%buffGetByLabel()%isEarlyTwilight()%saveVersusSpell()
%calculate()%isEquipmentLocation()%saveVersusSpellMod()
%canAttack()%isEquippedItem()%scriptAlreadyRunning()
%canBodyAttack()%isEvil()%scriptAlreadyRunningExit()
%canSee()%isExit()%scriptAttach()
%canTake()%isExtra()%scriptCall()
%canTarget()%isFighting()%scriptCallMultiple()
%canWear()%isFloat()%scriptExists()
%clone()%isFollowing()%scriptGetAttached()
%combatClear()%isGhost()%scriptUsurp()
%combatStart()%isGladiating()%serialize()
%combatStop()%isGood()%serverGetProfile()
%commandGetFlags()%isHunting()%serverLog()
%containerGetStat()%isImmortal()%setEntityVar()
%contextContinue()%isImmune()%setHatred()
%contextDisown()%isInt()%setPlayerVar()
%contextGetId()%isItem()%setSavedVar()
%contextGetVar()%isItemHere()%setSilenceOff()
%contextGetVars()%isItemId()%setSilenceOn()
%contextIsValid()%isJailed()%setVar()
%contextKill()%isLateTwilight()%skillAffectAdd()
%contextPause()%isLeader()%skillAffectExists()
%contextSetVar()%isLinkDead()%skillAffectItemExists()
%corpseGetId()%isMob()%skillAffectMerge()
%corpseGetName()%isMobHere()%skillAffectRemove()
%corpseGetStat()%isMobId()%skillCheckGain()
%corpseIsDecapitated()%isNeutral()%skillGetELevel()
%corpseIsNpc()%isNighttime()%skillGetId()
%corpseIsPc()%isNpc()%skillGetQuality()
%corpseSetStat()%isNull()%skillGetTeachable()
%damage()%isOutside()%skillSetELevel()
%damageGetPhrases()%isPc()%spell()
%damageMessages()%isPet()%spellRoutineCheckAllowedTarget()
%deathtrap()%isResistant()%spellRoutineCheckDefender()
%deleteEntityVar()%isRoom()%spellRoutineCheckOpponentCount()
%deletePlayerVar()%isRoomId()%spellRoutineExecuteRest()
%deleteSavedVar()%isString()%spellRoutineItemsOnly()
%deleteVar()%isSusceptable()%spellRoutineItemTargets()
%doZoneActivate()%isValid()%spellRoutineMitemTargets()
%dream()%isVampire()%spellRoutineMobsOnly()
%drinkGetStat()%isWaiting()%spellRoutineMobsTargets()
%drinkSetStat()%itemClearType()%spellRoutineMobTargets()
%echo()%itemGetLoadCount()%spellRoutineNoGhosts()
%echoTo()%itemGetStat()%spellRoutineSelfOnly()
%eqPos()%itemInitType()%spellRoutineVerifyTargets()
%equipment()%itemIsTypeAffect()%sprintf()
%equipmentLocationInfo()%itemIsTypeArmour()%string()
%ereg()%itemIsTypeArrow()%stringExplode()
%eregi()%itemIsTypeBoat()%stringFind()
%evades()%itemIsTypeBodyPart()%stringFindI()
%exitGetStat()%itemIsTypeBow()%stringFormat()
%exitSetStat()%itemIsTypeContainer()%stringGetModifiableIndexes()
%fastCommand()%itemIsTypeCorpse()%stringGetSize()
%filterActionWords()%itemIsTypeDrink()%stringIsPrefix()
%filterGroup()%itemIsTypeFood()%stringIsPrefixI()
%filterId()%itemIsTypeHerb()%stringLcFirst()
%filterInArea()%itemIsTypeKey()%stringPad()
%filterInContinent()%itemIsTypeLight()%stringRepeat()
%filterInRoom()%itemIsTypeMissile()%stringReplace()
%filterInZone()%itemIsTypeMoney()%stringReplaceI()
%filterKeyword()%itemIsTypeNote()%stringSmokify()
%filterNotGroup()%itemIsTypeOther()%stringSubString()
%filterNotInArea()%itemIsTypePen()%stringToLowerCase()
%filterNotInContinent()%itemIsTypePotion()%stringToUpperCase()
%filterNotInRoom()%itemIsTypeRod()%stringToWords()
%filterNotInZone()%itemIsTypeScroll()%stringTrim()
%filterNpcs()%itemIsTypeStaff()%stringTrimLead()
%filterOut()%itemIsTypeTome()%stringTrimTail()
%filterPcs()%itemIsTypeTrap()%stringUcFirst()
%filterVisible()%itemIsTypeTrash()%stringUcFirstAll()
%float()%itemIsTypeTreasure()%stun()
%follow()%itemIsTypeWand()%sunrise()
%gainExperience()%itemIsTypeWeapon()%sunset()
%gainPuzzlePoints()%itemIsTypeWorn()%triggerDispel()
%getAffectItems()%itemSetStat()%triggerInvoke()
%getBounded()%itemZap()%unserialize()
%getClass()%jumpTo()%updatePosition()
%getContainer()%kill()%viewExitComplete()
%getContents()%load()%viewExitDescription()
%getContinent()%math()%viewExtraDescription()
%getEntityVar()%mobCheckImmortalLevels()%viewItemComplete()
%getEquipment()%mobGetAffectItemsById()%viewItemDescription()
%getEquippedItem()%mobGetAffectItemsBySkill()%viewItemInventory()
%getFollowers()%mobGetStat()%viewItemInventoryList()
%getGender()%mobIsUndead()%viewItemRoomList()
%getGenderPossess()%mobPageBufferClear()%viewItemTypeSpecific()
%getGenderTarget()%mobPageBufferClose()%viewMobileComplete()
%getGuildId()%mobPageBufferCopyContents()%viewMobileDescription()
%getHomeId()%mobPageBufferGetContents()%viewMobileEquipment()
%getHomeTownRoomId()%mobPageBufferOpen()%viewMobileGroup()
%getHuntDirection()%mobPulseActivity()%viewMobileHealth()
%getHuntPrey()%mobPulseTick()%viewMobileHealthStatus()
%getId()%mobPulseViolence()%viewMobileInventory()
%getInventory()%mobPurgeSkills()%viewMobileItemAffects()
%getItemPointer()%mobRankAtLeast()%viewMobileList()
%getItemsWithId()%mobRankAtMost()%viewMobileScoreSheet()
%getLanguage()%mobSendBufferClear()%viewRoomComplete()
%getLanguageId()%mobSendBufferClose()%viewRoomContents()
%getLeader()%mobSendBufferCopyContents()%viewRoomDescription()
%getLevel()%mobSendBufferGetContents()%viewRoomExits()
%getLoadCount()%mobSendBufferOpen()%viewRoomItems()
%getMax()%mobSetStat()%viewRoomMobiles()
%getMaxIndex()%move()%viewRoomTitle()
%getMin()%nAct()%weaponGetType()
%getMinIndex()%noteGetStat()%weatherGetId()
%getMobPointer()%noteSetStat()%where()
%getMobsWithId()%npcGetLoadCount()%worldGetItems()
%getName()%null()%worldGetMobs()
%getNpcPointer()%partyGetMobs()%worldGetNpcs()
%getObjTypeId()%partyGetNpcs()%worldGetPcs()
%getOpponent()%partyGetPcs()%zoneGetItems()
%getOpponents()%partyRoomIsInFrontRow()%zoneGetMobs()
%getOrderId()%positionAtLeast()%zoneGetNpcs()
%getOwner()%positionAtMost()%zoneGetPcs()