Socials

Posted by Zotiel on Sat 18 Oct 2003 12:21 PM — 3 posts, 15,819 views.

#0
My mud has 332 socials, many of which need a target, and others I'd like to *social self* with, but mostly ones I'd just assume not bother with. Is there a way to pull the 'random social' from a txt file, or other list instead of removing the 312 socials I don't want?

as in...
Instead of calling from the ENTIRE Social list can it pull from a stored list of socials and maybe emotes/poses like -->

"smile", "violin self", "idiot self", "Emote wishes he had a clue!", "Meditate", "etc", "etc", "etc"




Australia Forum Administrator #1
The plugin maintains its list in its "state file" which is in a directory under the plugins directory. You could edit that with Notepad or some similar editor and just change the list manually.

For example, this is what mine looks like:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE muclient>
<!-- Saved on Sunday, October 19, 2003, 9:15 AM -->
<!-- MuClient version 3.42 -->
<!-- Written by Nick Gammon <nick@gammon.com.au> -->
<!-- Home Page: http://www.muclient.com/ -->

<!-- Plugin state saved. Plugin: "Random_Socials". World: "SMAUG - iMac". -->

<muclient>

<!-- variables -->

<variables
   muclient_version="3.42"
   world_file_version="15"
   date_saved="2003-10-19 09:15:12"
  >
  <variable name="socials"> accuse ack blah-blah yoga yoyo yummy zombie</variable>
</variables>
</muclient>

#2
I knew it had to exist...but could not figure out it's location.

C:\Program Files\MUSHclient\worlds\plugins\state\98c0c9ba04b78895ff32b465-982581e59ab42844527eec80-state.xml

I think it was the file name that threw me...though now that I look at it, it makes perfect sense...tis the ID name.

Is there a way to let multi-word commands in? Like Emotes?

EX: Emote hops it can be done.

& Thanks again Nick


-Zot