Jump to content
  • 0

R>modified gold room (points system)


donpedro

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   2
  • Joined:  03/24/14
  • Last Seen:  

can anyone have a script of gold room where the maximum total points you can get from farming is 8k only? and it will say 'you have reached maximum gold points. exchange it now'

 

i really appreciate it to who will give me this kind of script. tnx :)

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  


- script Sample -1,{

OnNPCKillEvent:

if ( strcharinfo( 3 ) != "your gold room map" ) end;

if ( GP < 8000 ) GP++;

else message strcharinfo( 0 ),"You have reached maximum gold points. Exchange it now";

end;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   2
  • Joined:  03/24/14
  • Last Seen:  

thankyou i will test it right now.

Link to comment
Share on other sites


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


prontera,0,0,0,0 monster Poring 1002,100,0,0,"gold_room::OnKill"

- script gold_room -1,{

OnKill:

if( #gold_point < 8000 ){

#gold_point++;

dispbottom "You have "+#gold_point+" gold points.";

}

else{

dispbottom "Gold Points overload, exchange it now..";

}

end;

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   2
  • Joined:  03/24/14
  • Last Seen:  

the script is working fine. but when my character gets 8k points he can still recieve gold points. i nid to know on how to set this script that when you reached 8k gold points you cannot recieve gold points anymore. tnx for advance :)

 

 

 

EDIT -- problem solved :) . tnx for the script guys  /no1

Edited by donpedro
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...