📄 escripttags.txt
字号:
[TagList]
ActiveGroup=Functions: CFGFILE.EM
[Tag Group - General]
0="*Header 1: Script Info :UEDS://^p// ??? ... .src^p//^p// <what it does>^p//^p// Creator: <name>^p// Contact: <email>^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=
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -