Jump to content
  • 0

Help for broadcast then give item


itsmeyoe

Question


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  54
  • Reputation:   1
  • Joined:  05/19/12
  • Last Seen:  

Hi guys this is my script Freeitemforall



- script EmpireRO -1,{
//--Start of the Script
OnMinute30: // SET THE 30 TO THE MINUTE YOU WANT THE EVENT TO START EACH HOUR.
announce "Server Attendant : Hi Players!, Every 30 minutes you will receive a gift from us.",0;
sleep2 10000;
announce "Server Attendant : Please make your way to the centre of Prontera.",0;
sleep2 10000;
announce "Server Attendant : After all this message you will receive a attendance card.",0;
sleep2 10000;
announce "Server Attendant : Special thanks to [GM Yoe].",0;
end;
}


 

[make way to prontera is just for fun so that i can see who are the active players].

This is what i want now friends/cogms

i want to give item to all the player with this id 6101 when the broadcast stop broadcasting a dispbotton thank you for playing will pop up at they're chat box then the item will be received by the players.

Thanks in advance please help

Edited by Patskie
We can read a title in lowercase you know..
Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  


- script EmpireRO -1,{

//--Start of the Script

OnMinute30: // SET THE 30 TO THE MINUTE YOU WANT THE EVENT TO START EACH HOUR.

announce "Server Attendant : Hi Players!, Every 30 minutes you will receive a gift from us.",0;

sleep2 10000;

announce "Server Attendant : Please make your way to the centre of Prontera.",0;

sleep2 10000;

announce "Server Attendant : After all this message you will receive a attendance card.",0;

sleep2 10000;

announce "Server Attendant : Special thanks to [GM Yoe].",0;

dispbottom "Thank you for playing EmpireRO";

getitem 6101,1;

end;

}

Edited by Yoga
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  54
  • Reputation:   1
  • Joined:  05/19/12
  • Last Seen:  

- script EmpireRO -1,{
//--Start of the Script
OnMinute30: // SET THE 30 TO THE MINUTE YOU WANT THE EVENT TO START EACH HOUR.
announce "Server Attendant : Hi Players!, Every 30 minutes you will receive a gift from us.",0;
sleep2 10000;
announce "Server Attendant : Please make your way to the centre of Prontera.",0;
sleep2 10000;
announce "Server Attendant : After all this message you will receive a attendance card.",0;
sleep2 10000;
announce "Server Attendant : Special thanks to [GM Yoe].",0;
dispbottom "Thank you for playing EmpireRO";
getitem 6101,1;
end;
}

i think this one is not working bro i remember making it that way.

 

hindi sya gumana help po please

 

not working. help please

Edited by Patskie
Translate to english
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  66
  • Reputation:   1
  • Joined:  06/06/12
  • Last Seen:  


Aumm

Edited by Yoga
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  21
  • Topics Per Day:  0.01
  • Content Count:  182
  • Reputation:   22
  • Joined:  12/30/12
  • Last Seen:  

 

Hi guys this is my script Freeitemforall
- script EmpireRO -1,{
//--Start of the Script
OnMinute30: // SET THE 30 TO THE MINUTE YOU WANT THE EVENT TO START EACH HOUR.
announce "Server Attendant : Hi Players!, Every 30 minutes you will receive a gift from us.",0;
sleep2 10000;
announce "Server Attendant : Please make your way to the centre of Prontera.",0;
sleep2 10000;
announce "Server Attendant : After all this message you will receive a attendance card.",0;
sleep2 10000;
announce "Server Attendant : Special thanks to [GM Yoe].",0;
end;
}
 
[make way to prontera is just for fun so that i can see who are the active players].
This is what i want now friends/cogms
i want to give item to all the player with this id 6101 when the broadcast stop broadcasting a dispbotton thank you for playing will pop up at they're chat box then the item will be received by the players.
Thanks in advance please help

 

 

This requires SQL database querying.

Just a brief workflow:

  • Query all characters that are online, their location is on Prontera
  • Store the queried account IDs to an array variable.
  • Loop the rewards to all account IDs stored on the array.
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  54
  • Reputation:   1
  • Joined:  05/19/12
  • Last Seen:  

 

 

Hi guys this is my script Freeitemforall
- script EmpireRO -1,{
//--Start of the Script
OnMinute30: // SET THE 30 TO THE MINUTE YOU WANT THE EVENT TO START EACH HOUR.
announce "Server Attendant : Hi Players!, Every 30 minutes you will receive a gift from us.",0;
sleep2 10000;
announce "Server Attendant : Please make your way to the centre of Prontera.",0;
sleep2 10000;
announce "Server Attendant : After all this message you will receive a attendance card.",0;
sleep2 10000;
announce "Server Attendant : Special thanks to [GM Yoe].",0;
end;
}
 
[make way to prontera is just for fun so that i can see who are the active players].
This is what i want now friends/cogms
i want to give item to all the player with this id 6101 when the broadcast stop broadcasting a dispbotton thank you for playing will pop up at they're chat box then the item will be received by the players.
Thanks in advance please help

 

 

This requires SQL database querying.

Just a brief workflow:

  • Query all characters that are online, their location is on Prontera
  • Store the queried account IDs to an array variable.
  • Loop the rewards to all account IDs stored on the array.

 

can you make this one for me bro?

or when the broadcast is finish a mes will pop out and message content thank you for playing and get item is it possible?

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:  

announce "You all gained reward...",bc_all;
addrid(0);
getitem 512,1;
getitem 512,2;
getitem 512,3;
end;

addrid with 0 as parameter will attach the script to everybody~

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