Legends of the Jedi Forums Newbie Watering Hole Helpful scripts (CMud)
This topic has 38 replies, 18 voices, and was last updated 13 years, 5 months ago by Cortanis.
Viewing 15 posts - 16 through 30 (of 39 total)
    • Avanga Member
      October 6, 2008 at 9:29 pm #7888

      I GONNA TRY DIS AS SOON AS I GET HOME

    • Avanga Member
      October 6, 2008 at 10:35 pm #7889

      Alright… so I tried it. It seems to do stuff when I type researchall 90 but then it just sits there and gags everything on my screen.

      Hmm… are there any special characters that need to be enabled for this to work? I tend to leave a couple of the annoying ones disabled.

    • CruelAngel Member
      October 6, 2008 at 11:40 pm #7890

      After you ‘researchall 90’ you just have to use ‘research’ by itself and it should start attempting to research stuff. However, I had to go through and remove all the quotes from the triggers, otherwise they’d input ‘research "blah"’ and the MUD tells me to stop smoking crack (which is problematic for some skills… advanced electronics got researched but small spacecraft did not). If you have it set to strip quotes in your preferences it may not be an issue for you though. Other than that it seems to work just fine.

    • Avanga Member
      October 6, 2008 at 11:46 pm #7891

      I’ll try it again, but last time, I’d type ‘research’ and nothing would happen.

    • Avanga Member
      October 6, 2008 at 11:50 pm #7892

      [code:1ewze4mt]#ALIAS research {#if () {#var research 0 "LOTJ Research";#loop (%numparam( ) -1) {#var research %concat( @research, " ", %param( %i + 1))};#additem researchlist @research};#if (@researchlist) {~research %item( @researchlist, 1)};#noop}
      ^ syntax error[/code:1ewze4mt]

    • Niath Member
      October 8, 2008 at 11:55 am #7895
      "Avanga":1zaq4nyn wrote:
      [code:1zaq4nyn]#ALIAS research {#if () {#var research 0 "LOTJ Research";#loop (%numparam( ) -1) {#var research %concat( @research, " ", %param( %i + 1))};#additem researchlist @research};#if (@researchlist) {~research %item( @researchlist, 1)};#noop}
      ^ syntax error[/code:1zaq4nyn][/quote:1zaq4nyn]
      The code you are quoting is stripped down compared to the original one (%1 is missing). Try using File -> Import from the Settings Editor (after c/p’ing the code in a file) instead of issuing the code as a command.

      As for what CruelAngel said, it has never occurred to me and it seems strange given that the code is not designed to add quotes anywhere (Unless I’m mistaken, research works without quotes on all skills – I’ll double check when I get home). I’ll check the relevant settings and their impact and get back to you.
      Try using File -> Import as well.

    • CruelAngel Member
      October 8, 2008 at 2:04 pm #7896

      <= @resthreshold)AND(!%null(%%1))) {#additem researchlist [b:26in83os]"%%1"[/b:26in83os]};#if ((%number(%%5)

      There’s at least two other lines in that same trigger that have quotes as well. Once I removed those it stopped putting quotes around the research topic. Like I said though, it may just be me having strip quotes off.

    • Avanga Member
      October 8, 2008 at 4:38 pm #7898

      Yay, your wordpad suggestion worked BUT:

      [code:junrw24t]Starting scan!
      practice
      Scan done! Researching now...
      research "dock"

      HP: 1125/1125 [OOC: ||||||] Time: [ day ] Tone: [ melodic ] Movement: 100% >
      Current Comlink: [ -:- ] Currently Approached: [ ]
      You search and search but cant find that information.
      research "emergency_refuel"

      [/code:junrw24t]

      It’s insisting on putting stuff in quotations.

      Weird part is, it only insists on doing it to certain skills. So far, it hasn’t put quotations around weapon systems and blasters.

    • Niath Member
      October 8, 2008 at 6:51 pm #7900

      I apologize but it seems you are right, CruelAngel, even though I actually can’t recreate the problem.
      In any case I now see no reason why I would have put those quotations there! Try changing all the #additem commands (there are three of them all in the same trigger) and removing the double quotations from them. Let me know how it goes or if you need help with that.

      And thank you for pointing it out and thus helping me better know/understand zMUD. <!– s:) –><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!– s:) –>

    • Avanga Member
      October 8, 2008 at 10:49 pm #7901

      Cool beans! Looks like it works. &lt;3

    • Walldo Keymaster
      December 8, 2008 at 6:26 pm #8352

      So here’s a softball scripting question. I just bought Cmud (that isn’t my question).

      I had originally declined to set up auto login stuff when creating my session profile, but i’ve changed my mind. I went into the session properties and put @Walldo etc. into the ‘auto login’ bit but it doesn’t work. How can I manually set this up?

    • Ranman Participant
      December 8, 2008 at 6:58 pm #8354

      Someone make this work for Mush please! &gt;.&lt;

    • Csilla Member
      December 13, 2008 at 4:49 am #8455

      Would it be be possible to get a script similar to the research one except for writing datachips?

    • Trayn Participant
      December 20, 2008 at 7:49 am #8551

      I keep geting this error when trying to load it, File :. Line: 2 col: 1 Error: this is a invalid data after Xml docment. what am i doing wrong?

    • Goner Member
      February 27, 2009 at 4:47 pm #9290

      Um… Anyone have any good scripts for MUSHClient?

Viewing 15 posts - 16 through 30 (of 39 total)
You must be logged in to reply to this topic.