Jump to content
  • 0

SIMPLE SCRIPT FOR AMAZING SCRIPTERS


Buda Beads

Question


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   1
  • Joined:  08/16/14
  • Last Seen:  

How can we give all the players online an item (ex. 501) every TWENTY minutes AT THE SAME TIME?

example:
1:00
1:20
1:40
2:00

2:20

but not for vendors...

 

 

NOTE:  THE HOURLY POINTS WAS BASED ON THEIR STAY NOT ON THE SERVER TIME... I HOPE WE CAN MAKE THE PLAYERS RECEIVE AT THE SAME TIME (BASED ON SERVER TIME)

 

 

THANKS MASTER SCRIPTERS

Edited by Buda Beads
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


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

-	script	Sample#20_min_item	-1,{
	
	OnMinute00:
	OnMinute20:
	OnMinute40:
		addrid( 0 );
		getitem 501,1;
		getitem 501,2;
		getitem 501,3;
		dispbottom "Gained items for every 20 minutes."
		end;
}

try.

 

 

Next time please use an Informative Title, and never post in full caps.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

-	script	Sample#20_min_item	-1,{
	
	OnMinute00:
	OnMinute20:
	OnMinute40:
		addrid( 0 );
		getitem 501,1;
		getitem 501,2;
		getitem 501,3;
		dispbottom "Gained items for every 20 minutes."
		end;
}

try.

 

 

Next time please use an Informative Title, and never post in full caps.

 

emistry, you forget the "not for vendors"

-	script	Sample#20_min_item	-1,{
	
	OnMinute00:
	OnMinute20:
	OnMinute40:
           if (checkvending())
            end;
		addrid( 0 );
		getitem 501,1;
		getitem 501,2;
		getitem 501,3;
		dispbottom "Gained items for every 20 minutes."
		end;
}
Edited by Winz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   1
  • Joined:  08/16/14
  • Last Seen:  

Thanks Master Scripters........    

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  19
  • Reputation:   1
  • Joined:  08/16/14
  • Last Seen:  

Hello again master scripters.. ... how can we disable the script to the ones who are in an "overweight" status?

the coin will be put in to the ground if overweight that seems to be a bug...

 

thans again master scripters

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:  

-	script	Sample#20_min_item	-1,{
	
	OnMinute00:
	OnMinute20:
	OnMinute40:
		addrid( 0 );
		if ( !checkvending() && Weight < ( MaxWeight/2 ) ) {
			getitem 501,1;
			getitem 501,2;
			getitem 501,3;
			dispbottom "Gained items for every 20 minutes."
		}
		end;
}

@Winz

your method in post#3 doesnt really solve what he wanted... you just success to block the dispbottom from displayed and not the items..

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