at giving something line variable, it all is appropriated up to the end of a line, with the appropriate replacements With line variable some mathematical operations are possible: At division the result is approximated to smaller whole. if line variable, contains line performance of an integer, it can be used as numerical variable.
Uopilot download generator#
In the command 'set' you can use the generator of random numbers: random (number) returns number in a range from 0 up to number-1Īt two or more started scripts you can address to variable, certain in other scripts of the pilot. Syntax of the instruction such variable following: #Uopilot descargar generator #i.2 - we address to variable #i from the script which is taking place in a window number 2. Variable during performance of the script can be changed through the table of display variable. The note 1: means, that you can change value by this variable in the scripts through the command 'set', all others variable only for reading The change variable occurs synchronously to a character set. The note 2: For correct definition by the Pilot of the majority of parameters of the character at you on the UO screen the Character Status window should be opened. Timer - considers(counts) quantity(amount) ms from a beginning of performance of the script. Can be used practically in any operators and combinations. Lasttargetx - coordinate of last purpose Lasttargetid - identifier of last purpose Lastobjecttype - type of last used object Lastobjectid - identifier of last used object Set timer // establishes value timer in 0Ĭhardir - direction of a sight of the character (where the character revolves)Ġ - the character looks at north, everyone 45 degrees of turn clockwise add 1. Lasttargetkind - class of last purpose (1 - item 2 - ground 3 - static's or water) (i.e. if is necessary for you by a shovel click on a surface of the cave in the given coordinates, it is necessary to specify '3' if it is necessary to click through 'lasttarget' on a item, it is necessary to specify '1' and 'Id' of a item catching a fish we indicate coordinates of a point and class '2'). Laststatictype - type of last static purpose (tree.) Lastspell - number of last spell which was used through the book Lastskill - number last scill which was used through the menu Skills Lastliftedid - identifier of a thing, which by last was touched from a place (is moved, has visited in 'hand'). Say hits.1 The conditional operators, cycles, transitions Target - kind of the cursor (0 - hand 1 - sight) Īt two or more started scripts you can address to variable, certain in other scripts of the pilot for others characters, having added to a name variable number of the script through a point. In the conditional operators and cycles you can use the following operations: >, and also logic operations (and, or, xor). The priorities are not present, is processed consistently. If hour = 23 and min = 45 or #count = 100įor change of priorities use parentheses:įor interruption of action of the operators 'while', 'for' and 'repeat' you can use the command 'Break'. If the level is more 1, interrupts given amount parental cycles. If lastmsg the text of last message or its part Can be used in cycles 'repeat', 'for', 'while'.Īt use of last message from the server in the conditional operators, there is some rule of syntax: The operator 'Continue' continues execution of a cycle on the following step.