SlashGeeGee Posted May 9, 2012 Posted May 9, 2012 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 Quote
1 QQfoolsorellina Posted November 10, 2012 Posted November 10, 2012 - 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; } 1 1 Quote
Bahmut Posted May 9, 2012 Posted May 9, 2012 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; } 1 Quote
Syouji Posted May 9, 2012 Posted May 9, 2012 - 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; } 1 Quote
Ryokem Posted November 10, 2012 Posted November 10, 2012 - 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... 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. 1 Quote
dice4real Posted November 10, 2012 Posted November 10, 2012 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? Quote
nanakiwurtz Posted November 10, 2012 Posted November 10, 2012 You don't have to use an actual NPC for that, anyway if you're using a visible NPC, nothing will happen if you click on it. 1 Quote
dice4real Posted November 25, 2012 Posted November 25, 2012 (edited) Its working Both Ways . Thanks For this!! 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 November 25, 2012 by dice4real Quote
Euphy Posted November 25, 2012 Posted November 25, 2012 Read: Basic_Scripting#Message if (isnight()) mes "Good evening!"; else mes "Good morning!"; close; 3 Quote
dice4real Posted November 25, 2012 Posted November 25, 2012 where should i cue it? Thank you For this Quote
Question
SlashGeeGee
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.