Proof of concept: Group challanges

MentaL

Jev For Admín!
VIP
Mar 3, 2004
3,843
552
385
Cardiff
NPC 1

;; Group challanger by MentaL!!!

;- Errors

[@error1]

Sorry but your not high enough level to use this!\

<exit/@exit>

[@error2]

Sorr but your not group leader and cannot use this!\

<exit/@exit>

;-- Begin

[@main]

Welcome to the Group Challanger, i am the leader of the\

environments that you will be taken to, but there are a\

few rules which must be read before attempting the chall-\

nge, so if your ready for the battle of your life, read\

the rules!!!\

<The Rules/@rules>\\

<Enter the lobby/@begin>\\

<exit/@exit>

[@rules]

<The Rules are as follows>:\

\

- You must be group leader \

- You can only have a max of 4 people in your grp \

- The Leader must be over the level of 30\

- Only the leader recieves the prize!\

\

<Enter the lobby/@begin>\\

<Main/@main>\

<exit/@exit>

[@begin]

#IF

checklevelex > 29

#ACT

goto @begin1

#ELSEACT

goto @error1

[@begin1]

#IF

isgroupmaster

#ACT

goto @working

#ELSEACT

goto @error2

[@working]

#IF

checkhum rzgbattle1 1

#ACT

goto @peoplewaiting

#ELSEACT

groupmapmove rzgbattle1



NPC 2


[@main]

Hi, welcome to the lobby, when your group is ready and four\

of you are willing, we can begin the challange, but remember!\

we are not responsible for you loosing your items or to replace\

them, good luck but remember, this is all about teamwork!\

\ \

<Begin the challange/@begin>\

<Exit/@leave>

[@leave]

#ACT

groupmapmove 0101

[@begin]

#IF

checkhum rzgbattle1 4

#ACT

goto @toomany

#ELSEACT

goto @begin1

[@toomany]

Hi, it seems you have to many people inside your group!\

<exit/@exit>

[@begin1]

#IF

isgroupmaster

#ACT

goto @begin2

#ELSEACT

goto @leaderonly

[@leaderonly]

Hi, this is for your group leader only, be patient!!!\

<exit/@exit>

[@begin2]

OK



Woola.
 

Killmaster

Legend
Legendary
Golden Oldie
Loyal Member
Nov 13, 2003
3,967
27
274
MentaL said:
#ACT

goto @peoplewaiting

soz if i missed it but in the npc i didnt see the part that this leads to... i may jus be blind and its a new and handy thing to have, thanks alot for the release :)
 

Fire

Golden Oldie
Golden Oldie
Apr 15, 2003
1,302
1
175
have you worked out a way to restrict and check the group members as well, for example to check that they all have a particular flag or are all above a certain level...

the other way u could of done it was using the grouprecall.

nice job on the group mapmove though
 

thisguy

Dedicated Member
Dedicated Member
Aug 29, 2003
17
0
77
should put some group challengers on rz... none that i know of at least.