
05-11-2001, 09:50 PM
|
|
-. .`
|
 |
Join Date: Mar 2001
Posts: 1,000
|
|
|
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. |
|
|
|