Log in

View Full Version : Creating Line Breaks in Quests


Kingmen30264
08-11-2011, 05:35 PM
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 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 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:


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:


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
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