ID:157586
 
I want things like this:

when people log in they are added to some sort of logged in players list.
When they log out they are taken out of it.

You can only have 1 clan at a time.
You can only be in 1 clan at a time.

There are 4 verbs: Join_Clan, New_Clan, Invite, Kick_Out, and Delete_Clan, all in category "Clans".

When you make a new clan you choose if you want it to be private or public.
If public, anyone can join at any time.
If private, you have to be invited to join.
You choose the maximum amount of people you want to join at a time.
You make the name of the clan.
The name of the clan is added to some kind of clan list.
If it's private it's added to a private clan list.
If it's public it's added to a public clan list.

When you invite someone you choose their name from the logged in player's list.
Whoever's name is chosen gets a message telling them they've been invited.

When you click to join a clan you choose private or public.
If public you choose from a list of public clans.
If private you choose from a list of private clans.
If you're invited to that clan you join it.
If not you do not.

When you kick some one out they are no longer a part of the clan.

When you delete a clan it doesn't exist anymore.

Can that be done?
Please reply with an example if you will.
Kokomo0020 wrote:
Can that be done?

Yes.

Please reply with an example if you will.

I don't work for free. Take it to Classified Ads.
In response to Garthor (#1)
Garthor wrote:
I don't work for free. Take it to Classified Ads.

Lol
Well you just pretty much explained everything you want so why not do it? Nothing you want is hard to do, and you pretty much described it exactly how you would program it.

//I want things like this:      
var/list/playerlist[]//when people log in they are added to some sort\
of logged in players list.


var/list/clans[]//The name of the clan is added to some kind of clan list.\
If it's private it's added to a private clan list.\
If it's public it's added to a public clan list. no need to even do this\
you can set the clans private or public in the list


clan

var/list/members[]//add members here check the length to see how\
many are in it

var/name//You make the name of the clan.

New()
//stuff when clan is created here

Del()
//stuff when clan is deleted here

proc/members()
//stuff to add/remove clan members here check if they are in the\
clan if so remove them if not do what you do when they are added


mob/var/clan/clan//You can only have 1 clan at a time. You can only be in 1 clan at a time.

mob/verb/invite()
//call members

mob/verb/kick()
//call members

mob/verb/create()
//call New()

mob/verb/disband()
//call Del()

mob/verb/leave()
//call members


There's your example, please don't write me back telling me it doesn't work. You actually have to do stuff to it, this is just an example.
In response to Ulterior Motives (#3)
Cool, thanks.
I didn't know you could give vars to vars.
That's what i needed.
Now it's time to go to work.
In response to Kokomo0020 (#4)
Well, I'm not giving variables to variables, I giving variables to a datum.