Skip to content

Conversation

@Tranq1
Copy link

@Tranq1 Tranq1 commented Nov 23, 2021

This PR enables string interpolation for variables in sysmessage and overhead outputs. To achieve this, put your variable in between double curly braces like this: {{myvar}}.

Example script:

@setvar myvar backpack
getlabel backpack mylabel

removelist mylist
createlist mylist
pushlist mylist "hello"

sysmsg "myvar: {{myvar}}" 40
sysmsg "mylabel: {{mylabel}}" 30
foreach listvar in mylist
    sysmsg "list var: {{listvar}}" 20
endfor
sysmsg "not found: {{doesntexist}}" 10

Result:

image

Jaedan and others added 30 commits August 15, 2021 21:29
Stop using the ConfigurationManager because that file changes when the
program is run. This makes it difficult for launchers to ship good
settings files.
This allows us to shift a bunch of code out of the packet handlers and
into the individual files that handle each of these features.
fix dummy save

Fix getName
Marcin Dyrka and others added 27 commits August 15, 2021 21:29
They just return -1.

This partially fixes UOOutlands#32.
To get local variables, just put unsetvar at the end of the script.

Fixes UOOutlands#37
Dead feature. Hasn't been used in a decade.
rename expresson blessed with invul
@anethus
Copy link

anethus commented Dec 14, 2021

Beta Client Build and Release #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants