balanar12321 Posted September 30, 2020 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 20 Reputation: 0 Joined: 04/11/15 Last Seen: August 13, 2021 Share Posted September 30, 2020 if ($eventgid) { .@aid = getcharid(3, getguildmaster($eventgid)); if (.@aid && isloggedin(.@aid)) { getitem 1080, 10, .@aid; } }how to make this every guild member instead of guild master only, to recieve prizes at the end of the event Quote Link to comment Share on other sites More sharing options...
0 Neffletics Posted October 3, 2020 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 149 Reputation: 24 Joined: 02/11/16 Last Seen: May 16, 2023 Share Posted October 3, 2020 If you will read the documentation, you'll understand how to do it. I suggest that you read it instead of asking others to finish it for you. Here's the link to getguildmember script command, that should do the trick.https://github.com/HerculesWS/Hercules/blob/1f78dc3468f1a4afe1f8bd09ea340a715af1d206/doc/script_commands.txt#L3890 Quote Link to comment Share on other sites More sharing options...
Question
balanar12321
if ($eventgid) {
.@aid = getcharid(3, getguildmaster($eventgid));
if (.@aid && isloggedin(.@aid)) {
getitem 1080, 10, .@aid;
}
}
how to make this every guild member instead of guild master only, to recieve prizes at the end of the event
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.