I want players have the ability to manage there own guild costs players and everything would any one mind helping me start this? Npc based maybe gui. I’m new to this and most of it makes no since .-. i know a bit but nothing able to do this…
If any one would layout the things i would need to do to make this thanks!
[QUOTE=lexkymbeth;101797]
I want players have the ability to manage there own guild costs players and everything would any one mind helping me start this? Npc based maybe gui. I’m new to this and most of it makes no since .-. i know a bit but nothing able to do this…
If any one would layout the things i would need to do to make this thanks!
[/QUOTE]
For guild control.
[QUOTE=server-readme.txt]
Controlled by the setting triggerhack_guilds:
triggeraction 0,0,gr.addguildmember,guild,account,nickname;
Adds a player to the specified guild. Nickname is optional.
triggeraction 0,0,gr.removeguildmember,guild,account;
Removes a player from the specified guild.
triggeraction 0,0,gr.removeguild,guild;
Removes the guild from the server.
triggeraction 0,0,gr.setguild,guild,account;
Sets the player's guild tag to the specified guild.
[/QUOTE]
And I made a gui tutorial but it went somewhere and I can’t find it… To make guis, basically use showimg and then your standard choice of either keyboard our mouse input. Look at commands.rtf eitherway.
[QUOTE=hosler;101814]do the guild text update as soon as you save them, or is there some command you need to run via rc/triggerhack to load it?[/QUOTE]
Not sure exactly what you mean, but I don’t think there’s anything extra you have to do. I’ve played with these features in the past and guild changes were applied immediately without the need for an extra call. So I think the answer to your question is yes.
I checked and the guild files are not made or changed it just affects your name ?? Maybe it does some sort of change while you play like teams its not permninate? I don’t think
Do this
[php]
if (playerchats && startswith(/join guild,#c)){
setstring this.guild,#t(#e(12,strlen(#c)-12,#c));
triggeraction 0,0,gr.addguildmember,#s(this.guild),#a,#n;
}
[/CODE]
and tell me if it generates the text file entry you’d expect. I think you were just using the setguild triggerhack.