[TagList] ActiveGroup=Functions: CFGFILE.EM [Tag Group - General] 0="*Header 1: Script Info :UEDS://^p// ??? ... .src^p//^p// ^p//^p// Creator: ^p// Contact: ^p//^p// Created: 19-Apr-2000^p// Updated: 19-Apr-2000^p//^p" 1="*Header 2: Use BASIC :UEDS:use basic;^p ... " 2="*Header 2: Use BASICIO :UEDS:use basicio;^p ... " 3="*Header 2: Use BOATS :UEDS:use boats;^p ... " 4="*Header 2: Use CFGFILE :UEDS:use cfgfile;^p ... " 5="*Header 2: Use FILE :UEDS:use file;^p ... " 6="*Header 2: Use HTTP :UEDS:use http;^p ... " 7="*Header 2: Use NPC :UEDS:use npc;^p ... " 8="*Header 2: Use OS :UEDS:use os;^p ... " 9="*Header 2: Use UO :UEDS:use uo;^p ... " 10="*Header 2: Use UTIL :UEDS:use util;^p ... " 11="*Header 3: Define Global variable :UEDS:global ... ;^p" 12="*Header 3: Include file "??" :UEDS:include "include/ ... ";^p" 13="*Header 4: Program block :UEDS:program procname ... ( )^p^pendprogram^p" 14="*Header 5: Function block :UEDS:function funcname ... ( )^p^pendfunction^p" 15="Array: Append :UEDS:.append( ... value )" 16="Array: Erase :UEDS:.erase( ... index );" 17="Array: Insert :UEDS:.insert( ... index, value );" 18="Array: Reverse :UEDS:.reverse(); ... " 19="Array: Shrink :UEDS:.shrink( ... size );" 20="Array: Sort :UEDS:.sort() ... " 21="Block Comment statement :UEDS:/* ... */" 22="Comment statement :UEDS:// ... " 23="Convert to: Integer :UEDS:CInt( ... )" 24="Convert to: Real :UEDS:CDbl( ... )" 25="Convert to: String :UEDS:CStr( ... )" 26="Props: CProp: Erase :UEDS:EraseObjProperty( mobile, ... );^p" 27="Props: CProp: Retrieve :UEDS:GetObjProperty( mobile, ... )" 28="Props: CProp: Store :UEDS:SetObjProperty( mobile, ... );^p" 29="Props: Global: Erase :UEDS:EraseGlobalProperty( ... );^p" 30="Props: Global: Retrieve :UEDS:GetGlobalProperty( ... )" 31="Props: Global: Store :UEDS:SetGlobalProperty( ... , value );^p" 32="Strings: Access substring :UEDS::= ... [""]" 33="Strings: Split Into Array :UEDS:SplitWords( ... )" 34="Variables: Define array/struct :UEDS:var ... := { };^p" 35="Variables: Define default type :UEDS:var ... ;^p" 36="Variables: Define dictionary :UEDS:var ... := dictionary;^p" 37="Variables: Define local :UEDS:local ... ;^p" 38= [Tag Group - Functions: BASIC.EM] 0="CDbl( expr ) :UEDS:CDbl( ... )" 1="CInt( expr ) :UEDS:CInt( ... )" 2="CStr( expr ) :UEDS:CStr( ... )" 3="find(...) :UEDS:find( Str, Search, Start) ... " 4="Hex( num ) :UEDS:Hex( ... )" 5="left(...) :UEDS:left( Str, Count ) ... " 6="len( str/array ) :UEDS:len( ... )" 7="lower( str ) :UEDS:lower( ... )" 8="Pack( expr ) :UEDS:Pack( ... )" 9="SplitWords( str ) :UEDS:SplitWords( ... )" 10="Unpack( str ) :UEDS:Unpack( ... )" 11="upper( str ) :UEDS:upper( ... )" 12= [Tag Group - Functions: BASICIO.EM] 0="print( anything ); :UEDS:print( ... );" 1= [Tag Group - Functions: BOAT.EM] 0="BoatFromItem( item ) :UEDS:BoatFromItem( ... )" 1="MoveBoat(...); :UEDS:MoveBoat( boat, facing ); ... " 2="MoveBoatRelative(...); :UEDS:MoveBoatRelative( boat, direction ); ... " 3="RegisterItemWithBoat(...); :UEDS:RegisterItemWithBoat( boat, item ); ... " 4="SystemFindBoatBySerial( serial ) :UEDS:SystemFindBoatBySerial( ... )" 5="TurnBoat(...); :UEDS:TurnBoat( boat, direction ); ... " 6= [Tag Group - Functions: CFGFILE.EM] 0="AppendConfigFileElem(...); :UEDS:AppendConfigFileElem( filename, elemtype, elemkey, properties ); ... " 1="FindConfigElem(...); :UEDS:FindConfigElem( config_file, key ); ... " 2="GetConfigInt(...) :UEDS:GetConfigInt( element, property_name ) ... " 3="GetConfigIntKeys( config_file ) :UEDS:GetConfigIntKeys( ... ) " 4="GetConfigMaxIntKey( config_file ) :UEDS:GetConfigMaxIntKey( ... ) " 5="GetConfigReal(...) :UEDS:GetConfigReal( element, property_name ) ... " 6="GetConfigString(...) :UEDS:GetConfigString( element, property_name ) ... " 7="GetConfigStringArray(...) :UEDS:GetConfigStringArray( element, property_name ) ... " 8="GetConfigStringKeys( config_file ) :UEDS:GetConfigStringKeys( ... ) " 9="GetElemProperty(...) :UEDS:GetElemProperty( element, property_name ) ... " 10="LoadTusScpFile( filename ); :UEDS:LoadTusScpFile( ... ); " 11="ReadConfigFile( filename ); :UEDS:ReadConfigFile( ... ); " 12="UnloadConfigFile( filename ); :UEDS:UnloadConfigFile( ... ); " 13= [Tag Group - Functions: FILE.EM] 0="fclose( file ); :UEDS:fclose( ... );" 1="fopen(...); :UEDS:fopen( filename, mode ); ... " 2="fread( file ); :UEDS:fread( ... );" 3="fseek(...); :UEDS:fseek( file, offset ); ... " 4="ftell( file ); :UEDS:ftell( ... );" 5="fwrite(...); :UEDS:fwrite( file, anything ); ... " 6= [Tag Group - Functions: HTTP.EM] 0="QueryParam( param ); :UEDS:QueryParam( ... );" 1="WriteHtml( html ); :UEDS:WriteHtml( ... );" 2="WriteHtmlRaw( html ); :UEDS:WriteHtmlRaw( ... ); // Don't append newline!" 3= [Tag Group - Functions: NPC.EM] 0="GetProperty( propname ) :UEDS:GetProperty( ... )" 1="IsLegalMove(...) :UEDS:IsLegalMove( move, boundingbox ) ... " 2="MakeBoundingBox( areastring ); :UEDS:MakeBoundingBox( ... );" 3="Move( direction ); :UEDS:Move( ... );" 4="position(); :UEDS:position(); ... " 5="RunAwayFrom( object ); :UEDS:RunAwayFrom( ... );" 6="RunAwayFromLocation(...); :UEDS:RunAwayFromLocation( x, y ); ... " 7="RunToward( object ); :UEDS:RunToward( ... );" 8="RunTowardLocation(...); :UEDS:RunTowardLocation( x, y ); ... " 9="say( text ); :UEDS:say( ... );" 10="Self() :UEDS:Self() ... " 11="SetAnchor(...); :UEDS:SetAnchor( centerx, centery, distance_start, percent_subtract ); ... " 12="SetOpponent( character ); :UEDS:SetOpponent( ... );" 13="SetProperty(...); :UEDS:SetProperty( propname, value ); ... " 14="SetWarMode( warmode ); :UEDS:SetWarMode( ... );" 15="TurnAwayFrom( object ); :UEDS:TurnAwayFrom( ... );" 16="TurnAwayFromLocation(...); :UEDS:TurnAwayFromLocation( x, y ); ... " 17="TurnToward( object ); :UEDS:TurnToward( ... );" 18="TurnTowardLocation(...); :UEDS:TurnTowardLocation( x, y ); ... " 19="WalkAwayFrom( object ); :UEDS:WalkAwayFrom( ... );" 20="WalkAwayFromLocation(...); :UEDS:WalkAwayFromLocation( x, y ); ... " 21="WalkToward( object ); :UEDS:WalkToward( ... );" 22="WalkTowardLocation(...); :UEDS:WalkTowardLocation( x, y ); ... " 23="Wander(); :UEDS:Wander(); ... " 24= [Tag Group - Functions: OS.EM] 0="events_waiting() :UEDS:events_waiting() ... " 1="run_script_to_sompletion(...); :UEDS:run_script_to_completion( script_name, param := 0 ); ... " 2="set_critical( critical ); :UEDS:set_critical( ... ); " 3="set_debug( debug ); :UEDS:set_debug( ... ); " 4="set_priority( priority ); :UEDS:set_priority( ... ); " 5="set_script_option(...); :UEDS:set_script_option( optnum, optval ); ... " 6="sleep( num_seconds ); :UEDS:sleep( ... ); " 7="sleepms( num_milliseconds ); :UEDS:sleepms( ... ); " 8="start_script(...) :UEDS:start_script( script_name, param := 0 ); ... " 9="syslog( text ); :UEDS:syslog( ... ); " 10="system_rpm() :UEDS:system_rpm() ... " 11="unload_scripts( scriptname := "" ); :UEDS:unload_scripts( ... ); " 12="wait_for_event( num_seconds_timeout ); :UEDS:wait_for_event( ... ); " 13= [Tag Group - Functions: UO.EM] 0="Accessible(...) :UEDS:Accessible( by_character, item ) ... " 1="AddMenuItem(...); :UEDS:AddMenuItem( menu, objtype, text ); ... " 2="ApplyConstraint(...) :UEDS:ApplyConstraint( objlist, configfile, propertyname, minvalue ) ... " 3="ApplyDamage(...); :UEDS:ApplyDamage( mobile, damage ); ... " 4="ApplyRawDamage(...); :UEDS:ApplyRawDamage( character, hits ); ... " 5="AssignRectToWeatherRegion(...); :UEDS:AssignRectToWeatherRegion( region, xwest, ynorth, xeast, ysouth ); ... " 6="BaseSkillToRawSkill( baseskill ); :UEDS:BaseSkillToRawSkill( ... ) " 7="Broadcast( text ); :UEDS:Broadcast( ... ); " 8="CheckLineOfSight(...) :UEDS:CheckLineOfSight( object1, object2 ) ... " 9="CheckLosAt(...) :UEDS:CheckLosAt( character, x, y, z ) ... " 10="CheckSkill(...) :UEDS:CheckSkill( character, skillid, difficulty, points ) ... " 11="ConsumeMana(...); :UEDS:ConsumeMana( who, spellid ); ... " 12="ConsumeReagents(...); :UEDS:ConsumeReagents( who, spellid ); ... " 13="ConsumeSubstance(...); :UEDS:ConsumeSubstance( container, objtype, amount ); ... " 14="CreateAccount(...); :UEDS:CreateAccount( acctname, password, enabled ); ... " 15="CreateItemAtLocation(...); :UEDS:CreateItemAtLocation( x, y, z, objtype, amount ); ... " 16="CreateItemInBackpack(...); :UEDS:CreateItemInBackpack( of_character, objtype, amount := 1 ); ... " 17="CreateItemInContainer(...); :UEDS:CreateItemInContainer( container, objtype, amount := 1 ); ... " 18="CreateItemInInventory(...); :UEDS:CreateItemInInventory( container, objtype, amount := 1 ); ... " 19="CreateMenu( title ); :UEDS:CreateMenu( ... ); " 20="CreateMultiAtLocation(...); :UEDS:CreateMultiAtLocation( x, y, z, objtype ); ... " 21="CreateNpcFromTemplate(...); :UEDS:CreateNpcFromTemplate( template, x, y, z, override_properties := 0); ... " 22="CreateRootItemInStorageArea(...); :UEDS:CreateRootItemInStorageArea( area, itemname, objtype ); ... " 23="CreateStorageArea( areaname ); :UEDS:CreateStorageArea( ... ) " 24="Damage(...); :UEDS:Damage( character, hits ); ... " 25="DestroyItem( item ); :UEDS:DestroyItem( ... ); " 26="DestroyMulti( multi ); :UEDS:DestroyMulti( ... ); " 27="DestroyRootItemInStorageArea(...); :UEDS:DestroyRootItemInStorageArea( area, itemname ); ... " 28="Detach(); :UEDS:Detach(); ... " 29="DisableEvents( eventtype ); :UEDS:DisableEvents( ... ); " 30="DisconnectClient( character ); :UEDS:DisconnectClient( ... ); " 31="Distance(...) :UEDS:Distance( obj1, obj2 ) ... " 32="EnableEvents(...); :UEDS:EnableEvents( eventtype, range := -1); ... " 33="EnumerateItemsInContainer( container ) :UEDS:EnumerateItemsInContainer( ... ) " 34="EnumerateOnlineCharacters() :UEDS:EnumerateOnlineCharacters() ... " 35="EquipFromTemplate(...); :UEDS:EquipFromTemplate( character, template ); ... " 36="EquipItem(...) :UEDS:EquipItem( mobile, item ) ... " 37="EraseGlobalProperty( propname ); :UEDS:EraseGlobalProperty( ... ); " 38="EraseObjProperty(...); :UEDS:EraseObjProperty( object, propname ); ... " 39="FindObjtypeInContainer(...); :UEDS:FindObjtypeInContainer( container, objtype ); ... " 40="FindRootItemInStorageArea(...); :UEDS:FindRootItemInStorageArea( area, itemname ); ... " 41="FindStorageArea( areaname ) :UEDS:FindStorageArea( ... ) " 42="GameStat( name ) :UEDS:GameStat( ... ) " 43="GetAmount( item ) :UEDS:GetAmount( ... ) " 44="GetCommandHelp(...); :UEDS:GetCommandHelp( character, command ); ... " 45="GetEquipmentByLayer(...); :UEDS:GetEquipmentByLayer( character, layer ); ... " 46="GetGlobalProperty( propname ) :UEDS:GetGlobalProperty( ... ) " 47="GetHarvestDifficulty(...) :UEDS:GetHarvestDifficulty( resource, x, y, tiletype ); ... " 48="GetMapInfo(...) :UEDS:GetMapInfo( x, y ) ... " 49="GetMenuObjTypes( menuname ) :UEDS:GetMenuObjTypes( ... ) " 50="GetObjProperty(...) :UEDS:GetObjProperty( object, property_name ) ... " 51="GetObjType( object ) :UEDS:GetObjType( ... ) " 52="GetObjtypeByName( name ) :UEDS:GetObjtypeByName( ... ) " 53="GetRawSkill(...) :UEDS:GetRawSkill( character, skillid ) ... " 54="GetRegionString(...) :UEDS:GetRegionString( resource, x, y, propertyname ) ... " 55="GetSkill(...) :UEDS:GetSkill( character, skillid ) ... " 56="GetSpellDifficulty( spellid ) :UEDS:GetSpellDifficulty( ... ) " 57="GetStandingHeight(...) :UEDS:GetStandingHeight( x, y, startz ) ... " 58="GetWorldHeight(...) :UEDS:GetWorldHeight( x, y ) ... " 59="GrantPrivilege(...); :UEDS:GrantPrivilege( character, privilege ); ... " 60="HarvestResource(...); :UEDS:HarvestResource( resource, x, y, b, n ); ... " 61="HealDamage(...); :UEDS:HealDamage( character, hits ); ... " 62="ListEquippedItems( who ) :UEDS:ListEquippedItems( ... ) " 63="ListGhostsNearLocation(...) :UEDS:ListGhostsNearLocation( x, y, z, range ) ... " 64="ListHostiles(...) :UEDS:ListHostiles( character, range := 20, flags := 0 ) ... " 65="ListItemsAtLocation(...) :UEDS:ListItemsAtLocation( x, y, z ) ... " 66="ListItemsNearLocation(...) :UEDS:ListItemsNearLocation( x, y, z, range ) ... " 67="ListItemsNearLocationOfType(...) :UEDS:ListItemsNearLocationOfType( x,y,z, range, objtype ) ... " 68="ListMobilesInLineOfSight(...) :UEDS:ListMobilesInLineOfSight( object, range ) ... " 69="ListMobilesNearLocation(...) :UEDS:ListMobilesNearLocation( x, y, z, range ) ... " 70="ListMobilesNearLocationEx(...) :UEDS:ListMobilesNearLocationEx( x,y,z, range, flags ) ... " 71="ListObjectsInBox(...) :UEDS:ListObjectsInBox( x1,y1,z1, x2,y2,z2 ) ... " 72="MoveCharacterToLocation(...); :UEDS:MoveCharacterToLocation( character, x, y, z, flags := 0 ); ... " 73="MoveItemToContainer(...); :UEDS:MoveItemToContainer( item, container, x := -1, y := -1 ); ... " 74="MoveItemToLocation(...); :UEDS:MoveItemToLocation( item, x, y, z, flags ); ... " 75="OpenPaperdoll(...); :UEDS:OpenPaperdoll( towhom, forwhom ); ... " 76="PerformAction(...); :UEDS:PerformAction( character, action ); ... " 77="PlayLightningBoltEffect( center_object ); :UEDS:PlayLightningBoltEffect( ... );" 78="PlayMovingEffect(...); :UEDS:PlayMovingEffect( source, target, effect, speed, loop := 0, explode := 0 ); ... " 79="PlayMovingEffectXYZ(...); :UEDS:PlayMovingEffectXYZ( srcx, srcy, srcz, dstx, dsty, dstz, effect, speed, loop := 0, explode := 0 ); ... " 80="PlayObjectCenteredEffect(...); :UEDS:PlayObjectCenteredEffect( center, effect, speed, loop := 0 ); ... " 81="PlaySoundEffect(...); :UEDS:PlaySoundEffect( character, effect ); ... " 82="PlaySoundEffectPrivate(...); :UEDS:PlaySoundEffectPrivate( character, effect, playfor ); ... " 83="PlayStationaryEffect(...); :UEDS:PlayStationaryEffect( x, y, z, effect, speed, loop := 0, explode := 0 ); ... " 84="polcore() :UEDS:polcore() ... " 85="PrintTextAbove(...); :UEDS:PrintTextAbove( above_object, text ); ... " 86="PrintTextAbovePrivate(...); :UEDS:PrintTextAbovePrivate( above_object, text, character ); ... " 87="RawSkillToBaseSkill( rawskill ) :UEDS:RawSkillToBaseSkill( ... ) " 88="ReadGameClock() :UEDS:ReadGameClock() ... " 89="RegisterForSpeechEvents(...); :UEDS:RegisterForSpeechEvents( at_object, range ); ... " 90="ReleaseItem( item ); :UEDS:ReleaseItem( ... ); " 91="RequestInput(...) :UEDS: RequestInput( character, item, prompt ) ... " 92="ReserveItem( item ) :UEDS:ReserveItem( ... ) " 93="RestartScript( npc ); :UEDS:RestartScript( ... ); " 94="Resurrect( mobile ); :UEDS:Resurrect( ... ); " 95="RevokePrivilege(...); :UEDS:RevokePrivilege( character, privilege ); ... " 96="SaveWorldState(); :UEDS:SaveWorldState(); ... " 97="SelectMenuItem2(...) :UEDS:SelectMenuItem2( character, menuname ) ... " 98="SendBuyWindow(...) :UEDS:SendBuyWindow( character, container, vendor, items ) ... " 99="SendDialogGump(...) :UEDS:SendDialogGump( who, layout, textlines ) ... " 100="SendEvent(...); :UEDS:SendEvent( npc, event ); ... " 101="SendOpenSpecialContainer(...); :UEDS:SendOpenSpecialContainer( character, container ); ... " 102="SendPacket(...); :UEDS:SendPacket( to_whom, packet_hex_string ); ... " 103="SendSellWindow(...) :UEDS:SendSellWindow( character, vendor, i1, i2, i3 ) ... " 104="SendSkillWindow(...); :UEDS:SendSkillWindow( towhom, forwhom ); ... " 105="SendStringAsTipWindow(...); :UEDS:SendStringAsTipWindow( character, text ); ... " 106="SendSysMessage(...); :UEDS:SendSysMessage( character, text ); ... " 107="SendTextEntryGump(...); :UEDS:SendTextEntryGump( who, line1, cancel := TE_CANCEL_ENABLE, style := TE_STYLE_NORMAL, maximum := 40, line2 := "" ); ... " 108="SetGlobalProperty(...); :UEDS:SetGlobalProperty( propname, propval ); ... " 109="SetName(...); :UEDS:SetName( object, name ); ... " 110="SetObjProperty(...); :UEDS:SetObjProperty( object, property_name, property_value_string_only ); ... " 111="SetRawSkill(...); :UEDS:SetRawSkill( character, skillid, rawskill ); ... " 112="SetRegionLightLevel(...); :UEDS:SetRegionLightLevel( regionname, lightlevel ); ... " 113="SetRegionWeatherLevel(...); :UEDS:SetRegionWeatherLevel( region, type, severity, aux := 0, lightoverride := -1); ... " 114="SetScriptController( who ); :UEDS:SetScriptController( ... ); " 115="Shutdown(); :UEDS:Shutdown(); ... " 116="SpeakPowerWords(...); :UEDS:SpeakPowerWords( who, spellid ); ... " 117="StartSpellEffect(...); :UEDS:StartSpellEffect( who, spellid ); ... " 118="SubtractAmount(...); :UEDS:SubtractAmount( item, amount ); ... " 119="SystemFindObjectBySerial( serial ); :UEDS:SystemFindObjectBySerial( ... ); " 120="Target(...) :UEDS:Target( by_character, options := TGTOPT_CHECK_LOS+TGTOPT_NEUTRAL) ... " 121="TargetCoordinates( by_character ) :UEDS:TargetCoordinates( ... ) " 122="TargetMultiPlacement(...); :UEDS:TargetMultiPlacement( character, objtype ); ... " 123= [Tag Group - Functions: UTIL.EM] 0="RandomDiceRoll( num ) :UEDS:RandomDiceRoll( ... ) " 1="RandomInt( dicestr ) :UEDS:RandomInt( ... ) " 2= [Group List] 0=General 1=Functions: BASIC.EM 2=Functions: BASICIO.EM 3=Functions: BOAT.EM 4=Functions: CFGFILE.EM 5=Functions: FILE.EM 6=Functions: HTTP.EM 7=Functions: NPC.EM 8=Functions: OS.EM 9=Functions: UO.EM 10=Functions: UTIL.EM 11=