EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Quests::Q&A (https://www.eqemulator.org/forums/forumdisplay.php?f=599)
-   -   Creating Line Breaks in Quests (https://www.eqemulator.org/forums/showthread.php?t=33988)

Kingmen30264 08-11-2011 05:35 PM

Creating Line Breaks in Quests
 
On some servers that I have messed around with in the past, I have noticed that when they tell you something, SOME of them are
kind
of
like
this.

Now when I test this on my server, this is the command that I am running:

Code:

Code 1

plugin::Whisper("These are some of the things that I can provide:");
plugin::Whisper("Provision 1");
plugin::Whisper("Provision 2");

Something else that I have tried is this:

Code:

Code 2

plugin::Whisper("These are some of the things that I can provide: <br>Provision 1 <br>Provision 2");

When I try Code 2, it shows up like this:

Code:

NPC NAME whispers, 'These are some of the things that I can provide: <br>Provision 1 <br>Provision 2'
Is there another way of doing this that I am simply missing?

Thanks in adavance :)

Tabasco 08-11-2011 08:16 PM

I output quest text like that quite a bit. I've even settled on a kind of menu standard that I use since the old [keyword] style is antiquated and I got tired of writing my quest text around the key phrase.

To answer your question, try:

Code:

plugin:Whisper("Opening statement");
$client->Message(<whisper color>, "Additional text on new line");
$client->Message(<whisper color>, "* - $saylink1");
$client->Message(<whisper color>, "* - $saylink2");

If you look in the plugins folder in your quest directory you can see what all those plugin:* functions are doing as well as add your own.

Kingmen30264 08-11-2011 10:34 PM

Alright thanks. I will take a look into this.

Akkadius 08-11-2011 10:56 PM

Quote:

Originally Posted by Kingmen30264 (Post 202155)
Alright thanks. I will take a look into this.

plugin::ClientSay("Text here"); will give you a line break as long as you have plugins sourced from this SVN:

http://eqemulator.org/forums/showthread.php?t=32608


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

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