Jump to content
  • 0

@reward request


Question

Posted

Please help me.. I've been having problems with corrupt gm's recently.. 
I want to add a command that does this things so i will be able to see in logs:

@reward1 Player name = Give item 7720 to a player and announce that he won an Event Coin.
@reward2 Player name = Give 50 berry ticket (ID 7307) to a player and announce that he won 50 berry tickets.. 

Please help me.. This is the only solution i find to avoid these corrupt GM's.. :(

13 answers to this question

Recommended Posts

Posted

 

I have uploaded a file.. Though it's still under approval, check it later!

 

http://rathena.org/board/files/file/3118-gm-reward-giver/

 

You should use .@ vars instead of @ vars which persist through execution. I've re-uploaded and approved the script.

 

 

Thank you sir! Hope my other scripts gets approved as well. xD I admit they are kinda badly coded for they have been written years ago already..

Posted

thanks a lot ! ermm.. but where should i put these ? 

CREATE TABLE evt_prize
(
rwd_time varchar(255),
player varchar(255),
item_id varchar(255),
amount varchar(255),
gm_name varchar(255)
);

will these work with @command like @reward ? 

thank you all for your fast replies :D 

Posted

Sir santa poring where i put the script that u give??

My name isn't Santa Poring though... /swt

 

Place the script in your npc (probably somewhere like npc/custom/) and then type @loadnpc npc/custom/reward.txt in-game. After you've run the SQL query in your logs schema, type @reward in-game to use the command (default syntax: @reward <preset> <player name>); there's no NPC to click, since the script is activated via @reward.

Posted

OK

 

 

Sir santa poring where i put the script that u give??


My name isn't Santa Poring though... /swt

 

Place the script in your npc (probably somewhere like npc/custom/) and then type @loadnpc npc/custom/reward.txt in-game. After you've run the SQL query in your logs schema, type @reward in-game to use the command (default syntax: @reward <preset> <player name>); there's no NPC to click, since the script is activated via @reward.

 

OK thanks :D  /thx


bugg_zpsbae900a1.png

 

Sir santa poring.. i have enconuter error?

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...