WoWInterface

WoWInterface (https://www.wowinterface.com/forums/index.php)
-   General Authoring Discussion (https://www.wowinterface.com/forums/forumdisplay.php?f=20)
-   -   Use html codes in lua (https://www.wowinterface.com/forums/showthread.php?t=58936)

reysattv 09-24-21 01:05 AM

Use html codes in lua
 
Hello

First of all I have to say I'm very very new to lua and wow addons so please if you know the answer please explain to me very simple xD

I'm trying to use an api system to submit a from with a wow addon , I've done a few research and most of people said It's not possible Blizzard blocked this and you can't send a html request with wow addon

I've seen some addons (like TomCat) is currently called a html page using xml

I've tried to do the same but it didn't worked for me , all I need right now is to use html codes on my wow addon

For example if user typed /cmd test in chat , all I need is to pass that test to my api system

Rilgamon 09-24-21 02:07 AM

Not possible. Lua is run in a sandbox and cant connect. Your only hope is to put your content in your addons savedvariables file and after quitting wow you can read it from there.

myrroddin 09-24-21 09:15 AM

In TomCats' case, and my addons, and a few others, the URL is merely an edit box that is pre-filled with the link. There is no external access, as Rilgamon said. You have to copy the text and put it into a browser yourself.

Seerah 09-27-21 11:28 AM

As myrroddin said, it's not a link. It's just a web address as plain text.


All times are GMT -6. The time now is 09:43 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI