Jump to content
  • 0

REQUESTING FOR THE SCRIPT


Question

Posted

// //=====// /==/ /==/ /==/
// // // /==/ /==/ /=/ /==/
// //=====// /==/ /=/ /==============/ /========/ /==//===/ /==/ /==/
// //=////// /==/ /==//=/ /==/ /==/==/==/==/==/ / / / /==/ /==/ /==/
// // == /==/ /==//=/ /==/ /==/ /==/ /==/ ======/ / /==/ /==/ /==/
// // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ / /===/ / /==/ /==/ /==/
// // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ / /===/ / /==/ /==/=====/==/
// // == /==/ /==/ /=/ /==/ /==/ /==/ /==/ /========/ /==/ /==///////==/
// ================ rAthena Script ====================================================================
//=== Made by Rikimaru
//==================== Information ====================================================================
//==== Daily Reward Script
//================= Version : =========================================================================
//=== V 1.1 Fixed a typo in the Script [ Rikimaru ]
//=== V 1.0 Finished Scripting the Daily Reward Script [ Rikimaru ]
//============== Credits : ============================================================================
//=== Credits to Rikimaru for the Daily Reward Script
//=== rAthena Profile Link : http://rathena.org/board/user/434-rikimaru/
//=====================================================================================================
//*************************************************************************
prontera,164,160,4 script CrownRo Vote NPC 911,{
mes "[Vote NPC]";
if(DailyReward>gettimetick(2)) {
set .@Time, DailyReward-gettimetick(2);
set .@SecondLeft,( .@Time % 60 );
set .@MinuteLeft,( .@Time / 60 % 60 );
set .@HourLeft,( .@Time / ( 60 * 60 ) % 24 );
set .@DayLeft,( .@Time / ( 24 * 60 * 60 ) );
set .@TimeLeft$,(( .@DayLeft )?.@DayLeft+" Day ":"" ) +
(( .@HourLeft )?.@HourLeft+" hours ":"" ) +
(( .@MinuteLeft )?.@MinuteLeft+" minutes ":"" ) +
(( .@SecondLeft )?.@SecondLeft+" seconds":"" );
mes "You have to wait for ^FF0000"+.@TimeLeft$+"^000000 before you can claim your prize again.";
close;
}
mes "Hello "+strcharinfo(0)+"!";
mes "Here's your Vote Reward.";
getitem 672,25;
set DailyReward, gettimetick(2)+43200;
next;
mes "[Vote NPC]";
mes "Talk to me again in the next 12 hours.";
close;
}

 

How can i make this to Base Account because this script is base for Character Only so Player Will Abuse it

 

Sorry for my english >.<

3 answers to this question

Recommended Posts

Posted

Actually, there's only 1 variable you need to rename: DailyReward

Change that to an account variable: #DailyReward

(replace 3 times in the script).

THanks it's work ! 

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