Welcome Guest [Log In] [Register]
Welcome to Yamagakure. We hope you enjoy your visit.

This is a game which is provided by seasoned role-players wanting a place to do their writing. As it is role-playing, there will be very little verbs if any that will allow your character to do anything outside walk around the village. The majority of actions which your character can and will perform are done through the emote verb. In order to begin your RP experience here, it is necessary that you visit the forum for the game so that you can create a character application whereupon it will be accepted by the Administrators of the forum given it adheres to the criteria of the game. Once your set, you can dive into an experience of RP that will pull you into it just as though you were actually reading a story.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.



Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
OOC changes
Topic Started: Sep 14 2010, 05:24 PM (85 Views)
Anonymous
Member Avatar

On/Off switch:
Seriously. It isn't rocket science. Here, watch.

Quote:
 

/*This would be your main code for OOC itself, I coded it mainly to be able to test the switch*\

OOC(msg as text)
set category="Other"
msg=copytext(msg,1,500)
if(findtext(msg,"<font")==0|findtext(msg," ")==0)
if(OOC) if(talk) for(var/mob/M) if(M.OOCon)M<<"<[OOCColor]>[name]: <font color=white>[html_encode(msg)]"
else usr<<"OOC is disabled currently."

/*This would be your main code for incorporating the verb to turn OOC on and off. It took me barely a minute to code *\
mob/verb

OOC_Switch()
set category="Other"
if(OOCon)
OOCon=0
usr<<"OOC text is now off."
else
OOCon=1
usr<<"OOC text is now visible."

/*Be sure to add an OOCon=1 variable to your mob variable list*\


Coloring:
Because quite frankly the blue and white blinds your eyes and makes it difficult to sift through the text. Especially if there's only one going on at a time. Here's one for both:
Quote:
 

Say_Color()
set category="Other"
switch(input("Choose Color", "", text) in list \
("Blue","Light Blue","Red","Crimson","Purple","Teal","Yellow","Green","Pink","Custom"))
if("Blue") SayColor="blue"
if("Light Blue") SayColor="#00CCFF"
if("Red") SayColor="#FF3333"
if("Crimson") SayColor="#CC0000"
if("Purple") SayColor="purple"
if("Teal") SayColor="teal"
if("Yellow") SayColor="yellow"
if("Green") SayColor="green"
if("Pink") SayColor="#FF69B4"
if("Custom")
SayColor=input("Input an html color code") as text
SayColor=copytext(SayColor,1,8)
SayColor="font color=[SayColor]"

OOC_Color()
set category="Other"
switch(input("Choose Color", "", text) in list \
("Blue","Light Blue","Red","Crimson","Purple","Teal","Yellow","Green","Pink","Custom"))
if("Blue") OOCColor="blue"
if("Light Blue") OOCColor="#00CCFF"
if("Red") OOCColor="#FF3333"
if("Crimson") OOCColor="#CC0000"
if("Purple") OOCColor="purple"
if("Teal") OOCColor="teal"
if("Yellow") OOCColor="yellow"
if("Green") OOCColor="green"
if("Pink") OOCColor="#FF69B4"
if("Custom")
OOCColor=input("Input an html color code") as text
OOCColor=copytext(OOCColor,1,8)
OOCColor="font color=[OOCColor]"


The ooc code above is pre-encoded to work with the color changer.

I'm not attempting to force you to change by posting this here, simply attempting to make it more easy for you to incorporate it should you choose to. I realize the new person generally isn't supposed to request major changes, I just thought this would improve the atmosphere a bit.
Edited by Anonymous, Sep 14 2010, 05:25 PM.
Kiriai current theme as determined by lyrics
Offline Profile Quote Post Goto Top
 
Makoto Ukiyo
No Avatar
Dragon Of The Mountains
i like the blue..
Offline Profile Quote Post Goto Top
 
Makoto Ukiyo
No Avatar
Dragon Of The Mountains
Also, the code isn't compatible. I get errors, sorry.
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
« Previous Topic · Suggestions & Complaints · Next Topic »
Add Reply