Jump to content
  • 0

Auto Reward Guild Members


balanar12321

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   0
  • Joined:  04/11/15
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  149
  • Reputation:   24
  • Joined:  02/11/16
  • Last Seen:  

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...