i'm trying to fix this guild bug i have and in the disband verb, its for/var/mob/ in world and if(M.guild == src.guild) i do the removing verb and stuff. but if the player is offine and in the guild, when they login, they have the verbs, and the guild is still there but the own who was online while the leader disbanded, its free to go. so in my create guild verb, it has guilds += list("[guildname]") and guilds is var/list/guilds = new. on the disband, it has guilds -= list("[guildname]"). to make the mob/Login() for a list check, do i put it as below?
mob
Login()
..()
if(!guild == src.guildname)
verbs -= typesof(/mob/Guilds/verb)
guild = "none"
guildname = "none"
ID:173781
![]() Nov 15 2003, 4:47 pm
|
|