Jump to content

About reward distribution to all party members


Recommended Posts


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  10/12/12
  • Last Seen:  

Magpapatulong  lang po sana ako dun sa script para sa reward distribution ng mga party member kapag nanalo sila sa isang event. Salamat po. /thx

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   2
  • Joined:  11/20/11
  • Last Seen:  

Let @winner$ = variable for party name of the winner

 

prontera,123,123,4     script     Event Prize    123,{

 

if(getcharid(1) == @winner$) {

mes "Congrats! Here's your prize.";

close2;

getitem @itemid,@amount;

end;

 

}

mes "Sorry, but your party didn't win.";

close;

Edited by Pinoy Fury
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  10/12/12
  • Last Seen:  

Salamat po boss Fury  /no1

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
Reply to this topic...

×   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...