Making Socials
Okay, here is my little tutorial on making a social for the new Nightrunners Talker. This new system is based off a having a single file for each social, therefore making socials easier to create. Anyway, on with the tutorial:
Make a text file called <social>.dat where <social> is the name of your social.
Line 1: What to execute when the social is used by itself.
Line 2: What to execute when the social is used on the same user executing the social. (ie, dethtoll types .hug dethtoll)
Line 3: What to execute when the social is used on another user who is not in the same room. This line will display to the given user.
Line 4: What to execute when the social is used on another user who is not in the same room. This line will display to the user using the social.
Line 5: What to execute when the social is used on another user who is in the same room as the user using the social. This will be written to the entire room.
Lines 1, 2, 3, and 4 require that your pass off a %s somewhere within the line, which will eventually be replaced with either the users name, or the given users name. You can only have one %s in each of those lines. Line 5 however, you need 2 (two) %s’ one to pass off the given users name and one for the user executing the socials name. A sample of each of the lines is as follows:
smoke.dat
Line1: %s takes out a smoke and starts puffing away.
Line2: %s tosses $G2self a smoke and puffs away happily.
Line3: — %s tosses you a smoke and a lighter.
Line4: — You toss %s a smoke and a lighter.
Line5: %s tosses %s a smoke and a lighter.
You can also get the genders of the users with the following flags:
$G1 = his/her/it for the user executing the social.
$G2 = him/her/it for the user executing the social.
$G3 = he/she/it for the user executing the social.
$G4 = his/her/it for the given user.
$G5 = him/her/it for the given user.
$G6 = he/she/it for the given user.
And ladies and gents, it’s that simple.
Cheers,
Dethtoll
This entry was posted on February 3, 2008 at 5:40 am and is filed under Talkers with tags coding, socials, talker, tech. You can follow any responses to this entry through the RSS 2.0 feed You can leave a response, or trackback from your own site.
February 3, 2008 at 6:05 am
Absolutely brilliant idea! aiight peeps! submit your socials directly here at the comment box! You can also submit your
socials at these sites:
http://nrunner.webng.com – The official website
or
http://nrunner.webng.com/chat.html – Our chat at webng.com
FORUMS:
http://tech.groups.yahoo.com/group/nrunner/ – Yahoo Groups
http://groups.myspace.com/nrunner – Myspace.com
http://www.friendster.com/group/tabmain.php?gid=1042422 – Friendster
http://www.facebook.com/group.php?gid=5515179985 – Facebook
February 3, 2008 at 6:15 am
You can also simply email the .dat file directly to me (dethtoll): lbarnett83@gmail.com
February 5, 2008 at 5:11 am
nice nice!!
March 3, 2008 at 4:15 am
some of the socials btw needed editing too.. since some of the socials are coming out as
Agentx scratches his/her head in confusion.
it comes out exactly like that.. so the genders need fixin? no idea on this one!