yuhsing

Untitled

Apr 10th, 2013
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1.  
  2.  
  3. - script Sample -1,{
  4. OnQuest1:
  5. if( .starter ){
  6. mes "Only 1 person at a time.";
  7. }else{
  8. .starter = getcharid(0);
  9. mes "Quest started.";
  10. }
  11. close;
  12.  
  13. OnQuest2:
  14. if( !.starter ){
  15. mes "Quest has not started yet.";
  16. }else if( .starter != getcharid(0) ){
  17. mes "This quest has been started by other users.";
  18. }else{
  19. mes "You are now in Part 2..and finished.";
  20. .starter = 0;
  21. }
  22. close;
  23. }
  24.  
  25. prontera,155,181,5 script Quest#1 757,{
  26. doevent "Sample::OnQuest1";
  27. }
  28.  
  29. prontera,155,181,5 script Quest#2 757,{
  30. doevent "Sample::OnQuest2";
  31. }
Advertisement
Add Comment
Please, Sign In to add comment