Error evaluating expression: Sorry, Global is not available in this evaluator #16

Closed
opened 2026-05-22 23:04:06 +02:00 by Xushi · 2 comments
Owner

Looks like the global declaration for functions isn't available which means that you can't edit variables inside functions.

Looks like the `global` declaration for functions isn't available which means that you can't edit variables inside functions.
Xushi self-assigned this 2026-05-22 23:04:06 +02:00
Xushi added this to the Features Board project 2026-05-22 23:04:06 +02:00
Author
Owner

Will probably have to use a temporary variable which will be dumped into the cvar.

Will probably have to use a temporary variable which will be dumped into the cvar.
Author
Owner

Exact error from Avrae:

Traceback (most recent call last):
  Line 380, col 11
    return add_potions()
           ^^^^^^^^^^^^^
  Line 156, col 1, in add_potions
    	global ALC_DATA
     ^^^^^^^^^^^^^^^
FeatureNotAvailable: Sorry, Global is not available in this evaluator
```This is an issue in a user-created command; do *not* report this on the official bug tracker.
Exact error from Avrae: ```py Traceback (most recent call last): Line 380, col 11 return add_potions() ^^^^^^^^^^^^^ Line 156, col 1, in add_potions global ALC_DATA ^^^^^^^^^^^^^^^ FeatureNotAvailable: Sorry, Global is not available in this evaluator ```This is an issue in a user-created command; do *not* report this on the official bug tracker.
Xushi closed this issue 2026-05-24 10:49:11 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
avrae/dr.ath.alc.potions#16
No description provided.