![]() |
New script functions:
NPC Code: I think the command names explain for what they can be used :-) These commands change the local server guild tags, not the global ones. May be there should also be something for listing guild members? |
Perhaps when scripting an NPC, for say a "Guild House" there could be a
showguildmembers, Guild Name command to have a "Listing or Directory" of the Current Members. |
In a sign? Should it display the account name
or nickname or both? May be one sign page per guild tag entry (probably as sign message code to be inserted in a sign) |
Maybe something like this.
It shows the Nick Name and what I think would be really neat, perhaps the 2nd frame of the head that person is using so it would show what he/she looks like and has their nickname. All automated through the NPC Server/Game Coding of course. |
Question...
Who can do this? The owner,co owner, guild admin and does the Script have to go into a NPC?
|
Haha, Godspeed.
"Trunks", the NPC Admin can. |
the guild stuff is good for stuff for things like resteraunts and stuff. like u can add staff to a store or something
|
Wow! Thank you for making
this script Stefan! This script will work perfect for my server because the server is RPing and nothing else. There are 2 Kingdoms, East and West. I can use that script for adding people automaticly to either the (West) tag or (East). |
this will work good for me
it will be cool for me so I dont have to log
onto ftp to make staff tags. so I can make a weapon or something (or a npc in a house) and be like addpolice <accountname> <nickname> rmvpolice <accountname> <nickname> it was a good idea to make that becuase I know it is a pain to just go on ftp to add 1 more guild member to a guild |
You mean;
addguildmember West,Nai,Nai, Emporer of; (P.S. That was an example ;-) |
I beleve
that would probly glitch up...
you have 1 to many ,'s |
It would still work because
the code is mean't for only the guildcode,account,nick so any other commas would not glitch it up and would make it in the tag |
yes right like with setani or setstring where it
accepts commas in the last argument godspeed: it creates the guild file when it doesn't exist |
Forgot to mention: when you have
a guild with a space in the name then it needs to be replaced with _, like addguildmember Pirate_Crew,Captain Stefan; May be i will fix this |
That's great Trunks! I
wonder if that works offline. Well, I guess I will try it out. |
Sorry about that....
I just dont want people to think of me as some Newbie Staff that can script or anything.....And yes the script works offline, but it only lays Green Rupees....It is bugged I am fixing it...If you could help me out with it plz email me at [email protected]...
|
How about:
getmembers guildname, string; it would read all members of guild guildname into the string, string, with a space inbetween each name. Then you can just tokenize the string and do with it what you want. Perhaps a command to add text on the end of a sign would be useful with that though, so if you wanted to display all members in a guild, you could do: setstring guild, guildname; tokenize string; say2 Guild members in #s(guild);#b for (i = 0; i < tokenscount; i++) { AddtoSign #s(#t(i))#b; } it would then send the sign at the end of the script to the player. You could also use this for items a store sells and other things. It'd basically be building a sign within the script. |
Hmmm you could use a this. string
for building the list, but its not possible to put #b into a string because it would be removed when assigning it so everything would be displayed in one line hmmm |
but, erm....
|
Not only would it all be on one line, but if the guild had many members, they would not all show because of the max string length. Just make the NPC keep track of the guild members as you add them... It's not that hard. (Not giving any more code because it winds up everywhere)
|
| All times are GMT +2. The time now is 05:56 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.