Update 43 is now available for testing on the PTS! You can read the latest patch notes here: https://forums.elderscrollsonline.com/en/categories/pts

Slash command to run a script ?

Bodo
Bodo
Soul Shriven
Hello there !

I have been looking for a slash command to type in the chat to specify that lua code will follow, for the addons are lua-based. I tried things like '/run', but without success.
By the way, I tried them followed with 'print("a")', (e.g. '/run print("a")' ), I think the print() function is intrinsic to the lua language, but I can be wrong.

Thanks for your help !
  • Smaxx
    Smaxx
    ✭✭✭✭✭
    The command you're looking for is /script. Everything that follows will be executed as Lua script. For example, you could do something such as /script d(50 + 5 * 2) and it will print 60 to your chat window.
    Options
  • Bodo
    Bodo
    Soul Shriven
    Indeed, I didn't think to try this one. Thank you very much !
    Options
Sign In or Register to comment.