diff --git a/docs/scripting.xml b/docs/scripting.xml index cea079746..96d5ce261 100644 --- a/docs/scripting.xml +++ b/docs/scripting.xml @@ -801,8 +801,10 @@ action refer to . The arguments, host and port, are Lua tables which contain information on the target against which the script is - executed. The following list describes each variable in the - host and port tables. + executed. If a script matched a hostrule, it gets only the + host table, and if it matched a portrule it + gets both host and port. + The following list describes each variable in these two tables.