Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » CMUD General Discussion
Searphim
Beginner


Joined: 10 Jun 2012
Posts: 13
Location: United States

PostPosted: Sun Jun 10, 2012 7:40 pm   

need a little help (ok maybe a lot)
 
i used to use Zmud and have picked up Cmud not long ago ... i would like to do some of the things i used to do it Zmud but its been quite some time

first let me do little explaining i play on a muck and the # is used enough on the muck that i need to turn off that under the special characters so the client does not do strange things when i am sending commends to the muck

i want to highlight words and names

i have tried http://forums.zuggsoft.com/forums/viewtopic.php?t=17674&start=0&postdays=0&postorder=asc&highlight=

did not work, guess because i turned off the # special characters ( or i was just doing it wrong *likely* )

i recall using color word but al but forgotten everything i once knew and even if i did Cmud seems to work diffidently

thanks for any help

Searphim
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4772
Location: Pensacola, FL, USA

PostPosted: Sun Jun 10, 2012 10:57 pm   
 
first off, you likely dont want to turn of the special characters (the lil computer icon by the command line will toggle weather your commands is/are parsed by CMUD before being sent to the game or not)

second, if you haven't already, try to download the colourwheel package from the CMUD library. (it will show you what tha various colour words look like in thier color)

third, to make a highlight is a simple trigger:

#TRIGGER {some string word or phrase to get colored} {#CW green}
_________________
Discord: Shalimarwildcat
Reply with quote
Searphim
Beginner


Joined: 10 Jun 2012
Posts: 13
Location: United States

PostPosted: Sun Jun 10, 2012 11:06 pm   
 
i do want it off the muck uses # on many of its commands that i use often and i want to use if they no way around not using the # guess i am just fubar
Reply with quote
shalimar
GURU


Joined: 04 Aug 2002
Posts: 4772
Location: Pensacola, FL, USA

PostPosted: Sun Jun 10, 2012 11:40 pm   
 
well that is what the computer icon i mentioned will toggle off
you can also quote out special characters with ~ and it will essentially be ignored for that one command
_________________
Discord: Shalimarwildcat
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Mon Jun 11, 2012 12:28 am   
 
Instead of turning off the special characters, why not just change them?
_________________
EDIT: I didn't like my old signature
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Mon Jun 11, 2012 1:15 pm   
 
If you turn off the special characters (especially the #), you will be unable to write scripts, including the trigger you want for highligting words. So you have two options:
1) Always precede a # for a muck command with a ~, e.g. "~#quit". This is a bit of a pain, of course, and hard to get used to. Whether it is easier than the second option is up to you.

2) Change the special characters, rather than turning them off. This is tricky, since Cmud already uses most of the special characters. You can't use a character for more than one Cmud special character. You might be able to use _ or ` in place of # for Cmud commands, though. If you do this, you will have to remember to always use it in your scripts for this muck. So, instead of #VAR, you would use _VAR or `VAR, or whatever special character you assigned for Cmud commands. You will not be able to use scripts from the Package Library unless you replace the characters as necessary. Whenever you copy code from other people, or use the Cmud help pages, you will have to remember to replace the # with your chosen special character.

[edit]Actually, there is a third option. Create aliases for all of the # commands in your muck. So, if there is a muck command "#quit", you could do:
Code:
#ALIAS quit {#SENDRAW ~#quit}

I'm not sure, but you might even be able to do:
Code:
#ALIAS #quit {#SENDRAW ~#quit}

[/edit]
Reply with quote
Searphim
Beginner


Joined: 10 Jun 2012
Posts: 13
Location: United States

PostPosted: Tue Jun 12, 2012 12:15 am   
 
i dont plan on writing scripts (least not that i know of) .... i just gotten so used to using Zmud that when it stopped working (more or less) for my muck... i went and got Cmud i will try using the _ and turn the special character back on ..not sure if you played on a muck but # is used for many of the basic commands that it always conflicts with Zmud when i used to use it

i am all but clueless on commands in Cmud and have a list of things i want to color... so when someone says my name or when i get a notification that X has happen X is colored so i will see it over the chit-chatting that going on... so i will use _ in place of the # ... so i will be able to make triggers (will try to anyway) its been a long long time from when i last made any commands for the game when i started using Zmud was back in 2000
Reply with quote
Searphim
Beginner


Joined: 10 Jun 2012
Posts: 13
Location: United States

PostPosted: Tue Jun 12, 2012 12:29 am   
 
ok i am more clueless then i first thought i have changed # for _ but still no idea what to type where to make a trigger for the words i want to color
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Tue Jun 12, 2012 2:57 am   
 
Shalimar told you that above: #TRIGGER {some string word or phrase to get colored} {#CW green} - of course, you'll need to change the # signs to _ now.
Reply with quote
Searphim
Beginner


Joined: 10 Jun 2012
Posts: 13
Location: United States

PostPosted: Tue Jun 12, 2012 4:37 am   
 
yeah he told me and i have no idea where to type that at ...its not into the command line and on the trigger screen there lot of places i can type that into and no idea what does what
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Tue Jun 12, 2012 6:09 am   
 
Quote:

yeah he told me and i have no idea where to type that at


Into the command line. We can continue this back-and-forth answering of any basic questions that pop into your head, but it will go much faster if you actually read the helpfile.
_________________
EDIT: I didn't like my old signature
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Tue Jun 12, 2012 1:12 pm   
 
Searphim wrote:
i dont plan on writing scripts (least not that i know of) .... i just gotten so used to using Zmud that when it stopped working (more or less) for my muck... i went and got Cmud i will try using the _ and turn the special character back on ..not sure if you played on a muck but # is used for many of the basic commands that it always conflicts with Zmud when i used to use it

Just wanted to note that if you want to change the colors, you _do_ plan on writing scripts. Every alias, every trigger, every variable containing information you want to store in Cmud, uses a script. In fact, if you have your mud session set up to automatically send your account name and password to the muck, then Cmud has already written a script for you. Which reminds me--if you change the special character for commands from # to _, then you may need to change the autologin scripts to get them to work (they were probably created with #).
Reply with quote
Searphim
Beginner


Joined: 10 Jun 2012
Posts: 13
Location: United States

PostPosted: Thu Jun 14, 2012 1:28 am   
 
Yeah we could go back and forth for a while till i learn how to make a trigger where i need to put #TRIGGER {some string word or phrase to get colored} {#CW green} or in my case _ because i changed # for _ and things like do i need to put {} around words and commands or not ...but think just going to give up because everything i have done has done nothing
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Thu Jun 14, 2012 1:57 pm   
 
Matt told you where to put it: in the command line. #TRIGGER is a command that will create the trigger for you. Except that, of course, you need to do _TRIGGER etc. if you have changed the special characters.
Reply with quote
Searphim
Beginner


Joined: 10 Jun 2012
Posts: 13
Location: United States

PostPosted: Fri Jun 15, 2012 12:43 am   
 
lets go back and look at what Matt told me

Into the command line..

this statement assumes i know where the command line is ...i already said i don't more then once

now lets also assume i am not so mad that my dentist is grinning at the thought of my dental bills from grinding my teeth together ...all that aside i will try again as i am going to assume its me, my fault that i keep failing everything i have tried

so step one start Cmud: done
step two connect to my muck: done
step three click on Triggers: done
step four look for command line... not there
step five click the word i am going to use as a trigger off on the left side: done
step six look for command line... not there

(option step everywhere you see ... feel free to to put in your expletive of choice)

so looking at this page that does not have command line written anywhere on it i see down on the right hand side where it says 'Add Action' (ahh ha i think maybe i am getting somewhere)

so a area pops up says scrips now like everyone tells me i go and write in #TRIGGER {some string word or phrase to get colored} {#CW green}
changing out the # for _ and lets use the word page

so now in this area i have _TRIGGER {page} {_CW green}

and click save, back on the muck that running in the background i send a page to myself did it work am i seeing the word page in green ... no

now i did ask before do i need to use the {} no one answered that so lets take them out and see of that works ... did it work ... no

and this ... ladies and ... gentlemen is where i am at ...still have not found ANY command line

if you can point me to this ... command line please feel free as i have yet to see it anywhere ...or maybe i'll just go get another client and forget about the money i spent to get Cmud
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Fri Jun 15, 2012 2:24 am   
 
Quote:

step three click on Triggers: done


Nope, you went too far there. Close the Package Editor window, and then look at the bottom of your screen. The long white thing you send commands to the game is the command line. That you didn't know what this thing was (or that you didn't even see it!) is another indication that you need to read the helpfile. Wink
_________________
EDIT: I didn't like my old signature
Reply with quote
Searphim
Beginner


Joined: 10 Jun 2012
Posts: 13
Location: United States

PostPosted: Fri Jun 15, 2012 3:14 am   
 
ok sent the command there and my muck spits back at me

Huh? (Type "help" for help.)

but still sent the page to myself and no change in color of the word page ...

and i am doing my best to ignore everything you said after the first (

i am mad and frustrated to the point of braking things and moving fast towards to wanting to hurting people

i am trying not to give into hatred ...
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Fri Jun 15, 2012 3:40 pm   
 
Sounds like either 1) you didn't change the command character properly and/or still have turned off, so your command wasn't interpreted as one and was sent to the muck as literal text, or 2) you have parsing off - there's a little computer icon to the right of the command line, if it has a red X through it, click it to turn parsing back on.

EDIT: Alternatively, you could manually make the trigger in the package editor, instead of using the TRIGGER command. Click triggers at the top, click new, type page in the pattern box and type _CW green in the code box, then click save.
Reply with quote
Searphim
Beginner


Joined: 10 Jun 2012
Posts: 13
Location: United States

PostPosted: Sat Jun 16, 2012 3:36 pm   
 
checked everything you said Daern the little computer down on the right hand corner does not have a red X over it and the command character has been changed

i was looking over the package editor trigger window little more and found the area that helps you make a trigger to color a word (the wizard tab) going over the steps there i made a trigger to color the word "page"

then went back to the muck send a page to myself here is what shows up under the word page

_CW hi,magenta

is there another area that sets the parsing off/on other then under options> general>scripting>special character tab

made the mistake of keeping the "page" trigger on while trying to log in, when one logs on tells you that you can co to the web "page" and the client send the command _CW hi,magenta to the mud as i am not logged in sees that as my user name and pass word that is wrong so shows the start again with the word "page" again did this a few 100 times before i could go in and turn off the trigger

i have changed the trigger word now to "pages" for the moment to stop the scroll when i log on as that word is not on the log in screen

for some reason the client is not seeing the special characters as a command to do things

when i downloaded Cmud and set it up it asked me if i wish to use any of the settings Zmud had for the places i connect to of course told it to save the settings of my muck i always connect to

and to Matt i have calmed down a lot and like to say i am sorry but every time someone said to me "read the helpfile" in my head i would hear your dumb you can'f finger out the helpfile, and i am better then you stop bothering me with your petty little problems

i have looked at the helpfile more then once and for me it is confusing

i would like to say thank you to Matt and everyone that has tried to help me with this, making progress i have learned more about the client and something is still not working right

wish i could upload screen shots so you all could see what i see but anyway
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Sat Jun 16, 2012 5:53 pm   
 
Well, I tested it out, and it looks like _ doesn't work as a command character. Not really sure if that's a bug or intended...
Reply with quote
Searphim
Beginner


Joined: 10 Jun 2012
Posts: 13
Location: United States

PostPosted: Sat Jun 16, 2012 6:29 pm   
 
looking over other command character > works now i can make triggers and they are colored

thanks again everyone

take care and be well
Reply with quote
Rahab
Wizard


Joined: 22 Mar 2007
Posts: 2320

PostPosted: Sun Jun 17, 2012 12:20 am   
 
Glad you got it working! Sorry about _ not working. It didn't occur to me that it wasn't allowed as a special character.
Reply with quote
Daern
Sorcerer


Joined: 15 Apr 2011
Posts: 809

PostPosted: Sun Jun 17, 2012 4:38 am   
 
I take it it's not supposed to be allowed as a special character then, Rahab? Do you know the reasoning behind that?
Reply with quote
MattLofton
GURU


Joined: 23 Dec 2000
Posts: 4834
Location: USA

PostPosted: Sun Jun 17, 2012 5:13 pm   
 
Probably something related to it being used in special names, like _previous or _parent. Outside of internally-special use (ie, limitations in the Delphi language or something inherited from Windows), I can't think of anything in CMud other than MXP that actually uses these sorts of names--nor even anything that uses _ for some special use.

Most users tend to favor ease of scriptsharing over the convenience of changing important special characters like # or %, so this could actually be the first time anyone's run into this problem.
_________________
EDIT: I didn't like my old signature
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » CMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net