ID:266567
 
I have a join team verb that allowes the player to join your team. But I want it when that player joines your team it adds a new statpanel with his name on it and verbs at the end so it would be like statpanel("[guys.name] verbs") then in that statpanel I want all the verbs that the guy has.

Then I want a verb that will del that statpanel when I use the leave team verb.

Ohh please I am just so new.
I think this may be what you're looking for..
mob
var
teamname
teamleader
inteam = 0
Stat()
if(src.inteam == 1)
statpanel("Team")
stat("Team Leader:","[src.teamleader]")
stat("Team Name:","[src.teamname]")
verb
create_team(team as text)
if(src.inteam == 0)
src.teamname = team
src.inteam = 1
src.teamleader = src
else if(src.inteam == 1)
alert("Can't!")
add_to_team(M as mob in world)
M.teamname = src.teamname
M.inteam = 1
M.teamleader = src
remove_from_team()
//sorry don't know this one!

I hope thats what your looking for!