Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Plugins ➜ Socials

Socials

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Zotiel   (14 posts)  Bio
Date Sat 18 Oct 2003 12:21 PM (UTC)
Message
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"




Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 18 Oct 2003 11:19 PM (UTC)
Message
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>


- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Zotiel   (14 posts)  Bio
Date Reply #2 on Mon 20 Oct 2003 09:34 AM (UTC)
Message
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
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


12,779 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.