Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Custom

Quests::Custom Custom Quests here

Reply
 
Thread Tools Display Modes
  #1  
Old 09-02-2013, 05:08 PM
Kingly_Krab
Administrator
 
Join Date: May 2013
Location: United States
Posts: 1,603
Default

On line 50 of global_player.pl you'll see this, change that to the ID of your server controller NPC.

This is Version 1.0, I will be releasing more versions once I come up with more ideas.

CREDITS: Thank you Akkadius for the idea as to your targeting system on your server, thus how I got the idea for mine.

NOTE: If you find any errors or have any suggestions, feel free to message me, thanks.
Code:
if($UserTarget->GetNPCTypeID() == Server Controller ID)
Test_Console_NPC.pl: http://pastebin.com/5hMgT9cu

Test_Target_NPC.pl: http://pastebin.com/yxeScbVd

Global_Player.pl: http://pastebin.com/EQwswZ0P


P.S. Leaving in the credits line just makes it that much more special. Not really, but it'd be nice if you gave credit!

If you want to remove it, search for this:
Code:
##Little Extra -- Credits Line##
if($text=~/^#Credits$/i)
{
	$client->Message(257, "The Server tells you, 'This script was written by Kingly_Krab for the public, if you leave this line in I love you.'");
	$client->Message(257, "The Server tells you, 'You currently have Version 1.0 of Kingly_Krab's global_player.pl.'");
}
EDIT: Forgot to mention I didn't tell you about "#fullheal", it completely restores health, mana, and endurance.
Reply With Quote
  #2  
Old 09-10-2013, 03:09 AM
HnathBST
Sarnak
 
Join Date: Feb 2007
Location: Sunset Home
Posts: 71
Unhappy

Quote:
Originally Posted by Kingly_Krab View Post
This is Version 1.0, I will be releasing more versions once I come up with more ideas.
...
Do these scripts still work? I am trying to do something similar and I can not get the sub EVENT_SAY to accept an unused #command (such as #blarg) I have tried adding them to the command table in the database, commands.pl (using commands_init and command_add) I'm having absolutely no luck adding my own custom commands.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:18 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3