balanar12321 Posted September 30, 2020 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
0 Neffletics Posted October 3, 2020 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
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
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.