Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

Reply
 
Thread Tools Display Modes
  #1  
Old 12-14-2009, 04:56 PM
Akkadius's Avatar
Akkadius
Administrator
 
Join Date: Feb 2009
Location: MN
Posts: 2,071
Default Teams

There is a script that I have been trying to get together that will divide people into teams, now I have spoke with Secrets and she came up with something like this which would simple place 1 and 2, but how would I cap it out at different limits?

Quote:
CODE:
sub EVENT_SAY
{
my $number = 0;
if($number%2==1)
{
quest::say("Number is Odd.");
$number++;
}
else {
quest::say("Number is Even.");
$number++;
}
}
Any help would be appreciated, or Trevius if you're around if you could PM me and help me out with something i'm trying to achieve I would make it worth your while.
Reply With Quote
  #2  
Old 12-14-2009, 07:15 PM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

For the record, I don't take money for helping around here lol :P

If you can describe exactly what it is you are trying to do, I can probably help come up with a solution for it. I just need more details on what you are doing. Most likely, you can use qglobals to track the teams and how many are in each team and to divvy out teams evenly and so on. The qglobals are very useful and versatile and once you know how to use them well enough, you can do almost anything with them fairly easily.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
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:15 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3