EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Clicky webpage in game? (https://www.eqemulator.org/forums/showthread.php?t=43502)

Jorin 12-26-2021 08:59 AM

Clicky webpage in game?
 
Back in the day I remember there was a way to have a npc give a clicky link to webpages. Ive looked around for about an hour now and don't see any references to this. Would anyone happen to know how to do this?


For clarity, basically hail npc, npc says blah blah click here to visit website. Clicking here takes you to eqemu for example.

NatedogEZ 12-26-2021 06:13 PM

http://spire.akkadius.com/quest-api-...ang=perl&q=web

Jorin 12-26-2021 07:30 PM

That is extremely helpful not going to lie. I only have 1 question That I dont really see an answer for. Where ot says string in this line, what goes there or if you have a link to explain that, either way.

Code:

$client->SendWebLink(string website_url);

Maze_EQ 12-26-2021 10:04 PM

Quote:

Originally Posted by Jorin (Post 267520)
That is extremely helpful not going to lie. I only have 1 question That I dont really see an answer for. Where ot says string in this line, what goes there or if you have a link to explain that, either way.

Code:

$client->SendWebLink(string website_url);


Literally the website url.

String is the identifier, such as int, bool, etc

Jorin 12-26-2021 10:09 PM

Cool thanks man

jsr 01-10-2022 10:32 AM

You probably worked this out, but just to clarify - you don't put anything where it says 'string', that's just to tell you the type of data that is expected to replace 'website_url'

i.e.

$client->SendWebLink("www.somewebsite.com");

brightsun 02-07-2022 09:08 AM

Hi. I'm not very versed in the topic of programming, but I wanted to clarify. Do I need to do a 'website_url' transition check in case the site is not responding?


All times are GMT -4. The time now is 07:12 PM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.