Jump to content

Question

Posted

Hello rA :)

i would like to request a script that goes like this :)

when 06:00 day command and it announces "Good Morning Intel Ragnarok Players."

when 18:00 night command and it announces "Good Evening Intel Ragnarok Players."

Thanks,

SlashGeeGee

10 answers to this question

Recommended Posts

  • 1
Posted
-    script    DayNight    -1,{
   end;
OnClock0600:
   announce "Good Morning Intel Ragnarok Players",bc_blue|bc_all;
   day;
   end;
OnClock1800:
   announce "Good Evening Intel Ragnarok Players",bc_blue|bc_all;
   night;
   end;
OnInit:
   if(gettime(3)>=6 && gettime(3)<18)
       end;
   else
       night;
end;

}

  • Upvote 1
  • Love 1
Posted

Here:

-<tab>script<tab>DayNight<tab>-1,{
OnInit:
 if ((gettime(3) < 6) || (gettime(3) >= 22)) night;
 end;

OnClock0600:
 announce "The sun is rising. [6:00]",bc_all,0xEEEEEE;
 day;
 end;

OnClock1800:
 announce "It's getting dark and the moon is rising. [18:00]",bc_all,0xEEEEEE;
 night;
 end;
}

  • Upvote 1
Posted
- script DAYNNIGHT -1,{
OnClock0600:
announce "Good Morning Intel Ragnarok Players",bc_blue|bc_all;;
end;
OnClock1800:
announce "Good Evening Intel Ragnarok Players",bc_blue|bc_all;;
end;

}

  • Upvote 1
Posted

-    script    Day_Night    -1,{
OnClock0600:
  announce "Good Morning Intel Ragnarok Players",bc_blue|bc_all;
  day;
  end;

OnClock1800:
  announce "Good Evening Intel Ragnarok Players",bc_blue|bc_all;
  night;
  end;
}

where to put this script sir... /ok

Put it into a txt file, tabulate the header and then place the txt inside your NPC folder in your server. Make it to be loaded permanent at every server reload, then load it into the game.
  • Upvote 1
Posted

prt_in,175,50,4 script Tambayan 747,{

OnInit:

if ((gettime(3) < 6) || (gettime(3) >= 22)) night;

end;

OnClock0600:

announce "The sun is rising. [6:00]",bc_all,0xEEEEEE;

day;

end;

OnClock1800:

announce "It's getting dark and the moon is rising. [18:00]",bc_all,0xEEEEEE;

night;

end;

}

I did it like this one. and put in custom folder. is that ok. making it an existing npc?

Posted (edited)

Its working Both Ways ^_^. Thanks For this!! /no1

I want to put mes on it hahaha. Saying Good evening or Good Morning etc. When you click on it. I know its posible But dont know how to do it...

Edited by dice4real

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