Jump to content
  • 0

@cash gift


PapaZola

Question


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

prontera,147,85,4 script NPC NEW GIFT 465,{

if(##sorry == 1) goto L_1;
mes "Welcome To Diablo Ragnarok Online " + strcharinfo(0) + " !!";
next;
mes "So You Is A New Player Here Right?";
next;
mes "Take My Reward Now And Have Fun With DiabloRO";
next;
getitem 7539,3000;
getitem 30391,1;
getitem 30392,1;
getitem 30393,1;
getitem 4302,1;
getitem 4174,1;
getitem 4403,1;

announce "DiabloRO : Happy New year To [ "+strcharinfo(0)+" ] !!",1;
emotion e_thx;
set ##sorry,1;
close;
OnInit:
waitingroom "2012 GIFT",0;
end;
L_1:
mes "Hey! you Already Get Reward From Me.";
mes "Sorry I Cant Give You Anymore Again More Than 1 Times.";
next;
mes "I dont Care You Crying Or Not. Tell You Mom Also Me not Scare~wu!!";
emotion e_bzz;
close;
}

how i can added gift +500 cash point

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  24
  • Topics Per Day:  0.01
  • Content Count:  189
  • Reputation:   16
  • Joined:  11/20/11
  • Last Seen:  

You can do this by using the atcommand command:

Ex.

atcommand "@cash 500"; 

This will add 500 to their cash points.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  392
  • Reputation:   47
  • Joined:  11/18/11
  • Last Seen:  

prontera,147,85,4 script NPC NEW GIFT 465,{

if(#sorry == 1) {
       mes "Hey! you Already Get Reward From Me.";
       mes "Sorry I Cant Give You Anymore Again More Than 1 Times.";
       next;
       mes "I dont Care You Crying Or Not. Tell You Mom Also Me not Scare~wu!!";
       emotion e_bzz;
       close;
   } else {
       mes "Welcome To Diablo Ragnarok Online " + strcharinfo(0) + " !!";
       next;
       mes "So You Is A New Player Here Right?";
       next;
       mes "Take My Reward Now And Have Fun With DiabloRO";
           getitem 7539,3000;
           getitem 30391,1;
           getitem 30392,1;
           getitem 30393,1;
           getitem 4302,1;
           getitem 4174,1;
           getitem 4403,1;
           atcommand "@cash 500"; //+500 Cash Points

       announce "DiabloRO : Happy New year To [ "+strcharinfo(0)+" ] !!",1;
       emotion e_thx;

       set #sorry,1;
       close;
   }

end;

OnInit:
   waitingroom "2012 GIFT",0;
   end;
}

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

instead of using this

atcommand "@cash 500"; //+500 Cash Points

it is advised to use this....

set #CASHPOINTS,#CASHPOINTS + 500;

* AtCommand is Evil ! xD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  318
  • Topics Per Day:  0.07
  • Content Count:  925
  • Reputation:   32
  • Joined:  12/05/11
  • Last Seen:  

thx slim,ifoxkun and emistry

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