UOSAGAS Scripting

Node Reference

All 192 nodes, grouped the way the editor palette groups them. Pin dots use the editor's colours: white is execution flow, green numbers, purple strings, red booleans, blue object references.

This list is generated from the assistant itself. If a node is here, it exists in your editor with exactly these pins.

Event

Start

Entry point for VScript execution

  • flow

Flow

Break

Exit the current loop

  • flow
Delay

Pause execution for a specified time

  • flow
  • Milliseconds
  • flow
Execute Script

Execute another VScript with parameters

  • flow
  • flow
For Each

Execute loop body for each element in list

  • flow
  • List (list)
  • Loop Body
  • Completed
  • Element
  • Index
For Loop

Execute loop body for each index in range

  • flow
  • First Index
  • Last Index
  • Loop Body
  • Completed
  • Index
Return

End script execution and return output values

  • flow
Sequence

Execute outputs in sequence

  • flow
  • Then 0
  • Then 1
While Loop

Execute loop body while condition is true

  • flow
  • Condition
  • Loop Body
  • Completed

Game

Attack

Attack a target by serial

  • flow
  • Serial
  • flow
Bandage Self

Apply bandage to self

  • flow
  • flow
Cast Spell

Cast a spell with optional target waiting

  • flow
  • flow
  • Success
Clear Hands

Unequip items from hands

  • flow
  • Delay (ms)
  • flow
Clear Journal

Clear the journal (set start time filter)

  • flow
  • Journal
  • flow
Click Object

Single-click an object by serial

  • flow
  • Serial
  • flow
Contains

Check if journal contains text and return the entry

  • flow
  • Journal
  • Search
  • flow
  • Entry
  • Found
Drop

Drop an item to backpack, container, or ground

  • flow
  • flow
Equip

Equip an item by serial

  • flow
  • Serial
  • flow
Execute Target

Execute targeting on a serial

  • flow
  • Serial
  • flow
Execute Target Entity

Execute targeting on Last/Self/Selected

  • flow
  • flow
Find Items

Search for items by layer, serial, type, name, or filter criteria

  • flow
  • Type
  • flow
  • Items (list)
Find Mobiles

Search for mobiles by serial, type, name, or filter criteria

  • flow
  • Type
  • flow
  • Mobiles (list)
Get Amount

Get item stack amount

  • Item
  • Amount
Get Container

Get item container serial

  • Item
  • Container
Get Dex

Get player's dexterity

  • Player
  • Value
Get Diff Hits

Get player's hits difference (Hits - HitsMax)

  • Player
  • Value
Get Diff Hits

Get mobile's hits difference (Hits - HitsMax)

  • Mobile
  • Value
Get Diff Weight

Get player's weight difference (Weight - MaxWeight)

  • Player
  • Value
Get Direction

Get player's facing direction

  • Player
  • Value
Get Direction

Get mobile's facing direction

  • Mobile
  • Value
Get Direction

Get item direction

  • Item
  • Direction
Get Displayed Graphic

Get item displayed graphic ID

  • Item
  • Displayed Graphic
Get Distance

Get player's distance from self (always 0)

  • Player
  • Value
Get Distance

Get mobile's distance

  • Mobile
  • Value
Get Distance

Get item distance from player

  • Item
  • Distance
Get Followers

Get player's current followers

  • Player
  • Value
Get Gold

Get player's gold amount

  • Player
  • Value
Get Graphic

Get player's graphic ID

  • Player
  • Value
Get Graphic

Get mobile's graphic ID

  • Mobile
  • Value
Get Graphic

Get item graphic ID

  • Item
  • Graphic
Get Graphic

Get target's graphic ID

  • Target
  • Value
Get Hits

Get player's current hits

  • Player
  • Value
Get Hits

Get mobile's current hits

  • Mobile
  • Value
Get Hits Max

Get player's maximum hits

  • Player
  • Value
Get Hits Max

Get mobile's maximum hits

  • Mobile
  • Value
Get Hue

Get player's hue/color

  • Player
  • Value
Get Hue

Get mobile's hue/color

  • Mobile
  • Value
Get Hue

Get journal entry hue/color

  • Entry
  • Hue
Get Hue

Get item hue/color

  • Item
  • Hue
Get Int

Get player's intelligence

  • Player
  • Value
Get Is Coin

Check if item is a coin

  • Item
  • Is Coin
Get Is Corpse

Check if item is a corpse

  • Item
  • Is Corpse
Get Is Damageable

Check if item is damageable

  • Item
  • Is Damageable
Get Is Destroyed

Check if item is destroyed

  • Item
  • Is Destroyed
Get Is Empty

Check if item/container is empty

  • Item
  • Is Empty
Get Is Hidden

Check if item is hidden

  • Item
  • Is Hidden
Get Is Locked

Check if item is locked/immovable

  • Item
  • Is Locked
Get Is Lootable

Check if item is lootable

  • Item
  • Is Lootable
Get Is Multi

Check if item is a multi/house

  • Item
  • Is Multi
Get Layer

Get item equipment layer

  • Item
  • Layer
Get Light ID

Get item light source ID

  • Item
  • Light ID
Get Luck

Get player's luck

  • Player
  • Value
Get Mana

Get player's current mana

  • Player
  • Value
Get Mana

Get mobile's current mana

  • Mobile
  • Value
Get Mana Max

Get player's maximum mana

  • Player
  • Value
Get Mana Max

Get mobile's maximum mana

  • Mobile
  • Value
Get Max Followers

Get player's maximum followers

  • Player
  • Value
Get Max Weight

Get player's maximum weight

  • Player
  • Value
Get Multi Graphic

Get item multi graphic ID

  • Item
  • Multi Graphic
Get Name

Get player's name

  • Player
  • Value
Get Name

Get mobile's name

  • Mobile
  • Value
Get Name

Get journal entry speaker name

  • Entry
  • Name
Get Name

Get item name

  • Item
  • Name
Get Notoriety Flag

Get player's notoriety flag

  • Player
  • Value
Get Notoriety Flag

Get mobile's notoriety flag

  • Mobile
  • Value
Get On Ground

Check if item is on ground

  • Item
  • On Ground
Get Physical Resistance

Get player's physical resistance

  • Player
  • Value
Get Properties

Get item properties (OPL data)

  • Item
  • Properties
Get Race

Get player's race

  • Player
  • Value
Get Race

Get mobile's race

  • Mobile
  • Value
Get Root Container

Get item root container serial

  • Item
  • Root Container
Get Serial

Get player's serial number

  • Player
  • Value
Get Serial

Get mobile's serial number

  • Mobile
  • Value
Get Serial

Get item serial number

  • Item
  • Serial
Get Serial

Get target's serial number

  • Target
  • Value
Get Skill

Get skill value (Base or Real)

  • Value
Get Stamina

Get player's current stamina

  • Player
  • Value
Get Stamina

Get mobile's current stamina

  • Mobile
  • Value
Get Stamina Max

Get player's maximum stamina

  • Player
  • Value
Get Stamina Max

Get mobile's maximum stamina

  • Mobile
  • Value
Get Stats Cap

Get player's stats cap

  • Player
  • Value
Get Str

Get player's strength

  • Player
  • Value
Get Text

Get journal entry text

  • Entry
  • Text
Get Text Type

Get journal entry text type

  • Entry
  • Type
Get Time

Get journal entry timestamp

  • Entry
  • Time
Get Tithing Points

Get player's tithing points

  • Player
  • Value
Get Title

Get player's title

  • Player
  • Value
Get Title

Get mobile's title

  • Mobile
  • Value
Get Weight

Get player's current weight

  • Player
  • Value
Get X

Get mobile's X coordinate

  • Mobile
  • Value
Get X

Get item X position

  • Item
  • X
Get X

Get target's X coordinate

  • Target
  • Value
Get Y

Get mobile's Y coordinate

  • Mobile
  • Value
Get Y

Get item Y position

  • Item
  • Y
Get Y

Get target's Y coordinate

  • Target
  • Value
Get Z

Get mobile's Z coordinate

  • Mobile
  • Value
Get Z

Get item Z position

  • Item
  • Z
Get Z

Get target's Z coordinate

  • Target
  • Value
Gump

Get a gump reference by serial

  • Serial
  • Gump
Is Active

Check if a gump is currently active

  • Gump
  • Is Active
Is Dead

Check if player is dead

  • Player
  • Value
Is Dead

Check if mobile is dead

  • Mobile
  • Value
Is Destroyed

Check if player is destroyed

  • Player
  • Value
Is Destroyed

Check if mobile is destroyed

  • Mobile
  • Value
Is Entity

Check if target is an entity

  • Target
  • Value
Is Female

Check if player is female

  • Player
  • Value
Is Female

Check if mobile is female

  • Mobile
  • Value
Is Hidden

Check if player is hidden

  • Player
  • Value
Is Hidden

Check if mobile is hidden

  • Mobile
  • Value
Is Human

Check if player is human

  • Player
  • Value
Is Human

Check if mobile is human

  • Mobile
  • Value
Is Land

Check if target is land

  • Target
  • Value
Is Mounted

Check if player is mounted

  • Player
  • Value
Is Mounted

Check if mobile is mounted

  • Mobile
  • Value
Is Paralyzed

Check if player is paralyzed

  • Player
  • Value
Is Paralyzed

Check if mobile is paralyzed

  • Mobile
  • Value
Is Poisoned

Check if player is poisoned

  • Player
  • Value
Is Poisoned

Check if mobile is poisoned

  • Mobile
  • Value
Is Running

Check if player is running

  • Player
  • Value
Is Running

Check if mobile is running

  • Mobile
  • Value
Is Static

Check if target is a static

  • Target
  • Value
Is Yellow Hits

Check if player has yellow hits bar

  • Player
  • Value
Is Yellow Hits

Check if mobile has yellow hits bar

  • Mobile
  • Value
Item

Get an item reference

  • Item
Journal

Get the journal reference

  • Journal
Last Target

Get the last target object

  • Target
Message Overhead

Display a message above an entity or self

  • flow
  • Message
  • Hue
  • flow
Mobile

Mobile object reference

  • Mobile
Move Items beta

Move items from one container to another with iteration

  • flow
  • Source
  • Target
  • Type
  • Loop Body
  • Completed
  • Item
  • Success
  • Overall Success
Pickup

Pick up an item by serial

  • flow
  • Serial
  • flow
Player

Get the player object

  • Player
Pop Pouch

Use a pouch item

  • flow
  • flow
Press Button

Press a button on a gump

  • flow
  • Gump
  • Button ID
  • flow
  • Success
Say

Send a message in chat

  • flow
  • Message
  • flow
Selected Target

Get the selected target serial

  • Serial
Set Last Target

Set a serial as the last target

  • flow
  • Serial
  • flow
Set Selected Target

Set a serial as the selected target

  • flow
  • Serial
  • flow
Target Cursor

Bring up targeting cursor and capture target

  • flow
  • flow
  • Target
  • Success
Toggle War Mode

Toggle war mode on/off

  • flow
  • flow
Use

Use an item by serial or type

  • flow
  • Serial/Type
  • flow
Use Skill

Use an actively usable skill

  • flow
  • flow
Wait For Gump

Wait for a gump to appear with timeout

  • flow
  • Gump
  • Timeout
  • flow
  • Success
Wait For Target

Wait for targeting cursor with timeout

  • flow
  • Timeout (ms)
  • flow

List

Add

Add element to end of list

  • flow
  • List (list)
  • Element
  • flow
Clear

Remove all elements from list

  • flow
  • List (list)
  • flow
Contains

Check if list contains element

  • List (list)
  • Element
  • Contains
Count

Get number of elements in list

  • List (list)
  • Count
Get

Get element at index

  • List (list)
  • Index
  • Element
Index Of

Find index of element in list

  • List (list)
  • Element
  • Index
Insert

Insert element at specific index

  • flow
  • List (list)
  • Index
  • Element
  • flow
Remove

Remove element from list by value

  • flow
  • List (list)
  • Element
  • flow
  • Success
Remove At

Remove element at specific index

  • flow
  • List (list)
  • Index
  • flow
Set

Set element at index

  • flow
  • List (list)
  • Index
  • Element
  • flow

Logic

AND

Logical AND of two booleans

  • A
  • B
  • Result
Branch

Execute different paths based on condition

  • flow
  • Condition
  • True
  • False
Compare

Compare two numbers

  • A
  • B
  • A > B
  • A < B
  • A == B
Is Valid

Check if a value is valid (not null, not empty)

  • Value
  • Is Valid
NOT

Invert boolean value

  • Value
  • Result
OR

Logical OR of two booleans

  • A
  • B
  • Result

Math

Absolute

Get absolute value (always positive)

  • Value
  • Result
Add

Add two numbers together

  • A
  • B
  • Result
Ceiling

Round up to integer

  • Value
  • Result
Clamp

Clamp value between min and max

  • Value
  • Min
  • Max
  • Result
Divide

Divide A by B

  • A
  • B
  • Result
Floor

Round down to integer

  • Value
  • Result
Max

Get maximum of two numbers

  • A
  • B
  • Result
Min

Get minimum of two numbers

  • A
  • B
  • Result
Modulo

Calculate remainder of A divided by B

  • A
  • B
  • Result
Multiply

Multiply two numbers together

  • A
  • B
  • Result
Power

Raise base to exponent power

  • Base
  • Exponent
  • Result
Round

Round to nearest integer

  • Value
  • Result
Square Root

Calculate square root of value

  • Value
  • Result
Subtract

Subtract B from A

  • A
  • B
  • Result

String

Append String

Append strings with a separator

  • A
  • B
  • Separator
  • Result
Concat Strings

Concatenate two strings together

  • A
  • B
  • Result
String Contains

Check if string contains another string

  • String
  • Search
  • Contains
String Length

Get the length of a string

  • String
  • Length
To Lower Case

Convert string to lower case

  • String
  • Result
To Upper Case

Convert string to upper case

  • String
  • Result

UI

Print Message

Display a message to the user

  • flow
  • Message
  • flow

Variable

Get Variable

Reads a script variable. Created from the Variables panel; the output pin takes the variable's type.

  • myVariable
Set Variable

Writes a script variable. Created from the Variables panel; the value pin takes the variable's type.

  • flow
  • myVariable
  • flow