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

Quests::Custom Custom Quests here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 11-28-2009, 12:28 PM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

This script could easily be modified to support multiple guilds on the server.

instead of using this line for a one guild setup:

Code:
elsif ($text=~/Interested/i)
		{
			quest::setguild(1,0);
			quest::say("Welcome to the guild $name!");
		}
You could modify it for each guild like so:

Code:
elsif ($text=~/Guild1/i)
		{
			quest::setguild(1,0);
			quest::say("Welcome to the guild $name!");
		}

elsif ($text=~/Guild2/i)
		{
			quest::setguild(2,0);
			quest::say("Welcome to the guild $name!");
		}

elsif ($text=~/Guild3/i)
		{
			quest::setguild(3,0);
			quest::say("Welcome to the guild $name!");
		}
and so on... Of course you would have to change the intro text to support the new guild names.

the quest::setguild(x,y); command uses the "x" value as the guild ID on the server, which you can find with the GM command #guilds list. The "y" value is the guild status so 0 is member, 1 is officer. You probably want to keep the "y" value as 0 since the bot is auto-inviting members.
Reply With Quote
 


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 01:35 PM.


 

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