Talcian Posted June 6, 2010 Report Share Posted June 6, 2010 Was hoping to get a little bit of help. What I'm trying to do is set an alias for a command, that will allow for a variable afterwards. For example: dd = dirt In the alias field I type dd In the send field I type dirt If I type dd mushclient will execute dirt. Thats good. But when I type dd bob, mushclient executes dd bob. I want it to execute dirt bob Can anyone give me a hand? Also, taking it a step further, what about spells? For example, if I want to do mm for magic missile, how can I do: mm fred to execute cast 'magic missile' fred Thanks peeps Link to comment Share on other sites More sharing options...
English lad Posted June 6, 2010 Report Share Posted June 6, 2010 Matt's scripts will do all that and more http://forum.theforsakenlands.org/showthread.php?t=12300&highlight=matt+script Link to comment Share on other sites More sharing options...
The-Nameless Posted June 6, 2010 Report Share Posted June 6, 2010 Was hoping to get a little bit of help. What I'm trying to do is set an alias for a command, that will allow for a variable afterwards. For example: dd = dirt In the alias field I type dd In the send field I type dirt If I type dd mushclient will execute dirt. Thats good. But when I type dd bob, mushclient executes dd bob. I want it to execute dirt bob Can anyone give me a hand? Also, taking it a step further, what about spells? For example, if I want to do mm for magic missile, how can I do: mm fred to execute cast 'magic missile' fred Thanks peeps when you set the alias, you need to do this On alias field type dd* Then in output field put dirt %1 in aliases if you put * that is the signal for "whatever I type after the alias" and in the output %1 means target is whatever you typed in. So if I make a say alias, it looks like this. Alias: Say* Output: emote "%1" speaks in a tone befitting a dean of admissions. From that point on all my says come out that way. Link to comment Share on other sites More sharing options...
f0xx Posted June 6, 2010 Report Share Posted June 6, 2010 You know there is an alias system in FL itself. It is good enough for the things you described Link to comment Share on other sites More sharing options...
The-Nameless Posted June 6, 2010 Report Share Posted June 6, 2010 You cannot set variables in FL. Link to comment Share on other sites More sharing options...
f0xx Posted June 6, 2010 Report Share Posted June 6, 2010 You cannot set variables in FL. He is not setting a variable. He is setting a basic alias. As I said, FL's alias system covers that easily. Link to comment Share on other sites More sharing options...
Talcian Posted June 6, 2010 Author Report Share Posted June 6, 2010 Awesome, thanks all Link to comment Share on other sites More sharing options...
The-Nameless Posted June 6, 2010 Report Share Posted June 6, 2010 He is not setting a variable. He is setting a basic alias. As I said, FL's alias system covers that easily. And as I said, mushclients alias system is better. Link to comment Share on other sites More sharing options...
jibber Posted June 6, 2010 Report Share Posted June 6, 2010 Custom alias/target system: match="ALIASNAMEHERE" enabled="y" expand_variables="y" group="Reflexes" send_to="12" sequence="100" >world.send "@target" match="target *" enabled="y" group="Reflexes" send_to="12" ignore_case="y" sequence="100" >world.setvariable "target", "%1" world.colournote "orange", "black", "Target is now: %1" Typically, you'd type: target dirt Anume. At a later time whenever you feel the need, you can also type and it will return with dirt Anume. Link to comment Share on other sites More sharing options...
H&R Posted June 6, 2010 Report Share Posted June 6, 2010 Typically' date=' you'd type: target dirt Anume. At a later time whenever you feel the need, you can also type and it will return with dirt Anume.[/quote'] I want to see you execute that command successfully Link to comment Share on other sites More sharing options...
Mali Posted June 6, 2010 Report Share Posted June 6, 2010 What I do is like this: I have a @target command, so I type "target foxx" Then I have alias's set like this: #alias {di} {dirt @target} or #alias {mu} {murder @target} Then i make those alias's into hot keys so I can just set a target and tap a hotkey.. Link to comment Share on other sites More sharing options...
Lord Antisonic Posted June 7, 2010 Report Share Posted June 7, 2010 I've said it before, and I feel want to say it again. I don't understand why more people don't use Portal Gt D as their mud client. I don't understand why people are still "codding" aliases, variables, and macros. When I want new alias I open alias tab. alias window pops. in the field for new alias I type name then in alias's field window i type in what ever I want it to do. then in game I just type alias name and normal target info etc. Then usually I make variable tied to an alias. eg. target name tied to a script like variable @enem > enem Name Then I usually make a set of macros tied to my alias's so I decide who i want to target in the lands for the time type enem Name then press F5 and get whatever string of alias I have set to whichever variable target I have set. No coding. All done in windows and fields. Then for what people refer to as "triggers", I use the event window. Extremly liberally. Everything from colour coding dropped spells, on me and my opponent. Training strings for places like elemental and the scarecrow fields. Not to mention the disarming events. I have mentioned my macro's and these I set from f1 to f12 and all over my NumPad. I remember it being said that it is quicker for someone to stand in a room and spam one button that >alias @enem then for you to walk into room and start typing even two letters of whatever it is you were about to do. I generally don't have any combat related alias/commands that I type. Then, and this has always been the biggest selling point for me, and quite literally since I paid for a copy of the program license, is the mapping/cartographic utility. without license you can make up to 10 maps, only. which was a good start, when I mapped val, rheydin, mir and the corridors. But then I really got into the swing of exploring, brought the program, and now I have over 180 detailed maps of the lands. Color coded, linked, and detailed info on shrines, blanketed rooms. Even If i am blinded I have more then a visual view of which room I am in at all times, and as long as their are not too many exits on a room am 95 % sure of all my available escape routes and the area I am in. Thunderclap screws this though...ohh and being cocky and running two areas ahead on the mapper while your char is still plodding along, will get you lost, dishorientated and dead when someone comes in and initiates combat half way along...so I usually pull up at the entry and exit of each area to do a where check and let things catch up. Finally, I say just try out Portal...I will look for the addy if anyone is interested. BUt it is worth going out and having a look at. Link to comment Share on other sites More sharing options...
Lord Antisonic Posted June 7, 2010 Report Share Posted June 7, 2010 I'd also like to say that for awhile I wanted to offer these maps to the community. I have never really had any stand out chars, though I have always been lurking quietly along since AR and CF just after Fl went live. And as an aside I really only learnt as much as I have now after doing such an extensive survey of the lands. That being said I never knew if certain Vets, 1337's and Imp's/Gods would want these freely available to anyone who wanted to load up Portal as a mud client. Considering the amount of info I have dropped onto each of the maps. But I would always have thought that it is something that i wanted to share and would help out the general player base. and would instantly give anyone, Newb or 1337 alike an overlay to the entire game (0ver 180 maps does not make the entire mud, but I could never solo Deso/factions/etc....). Also if the mud community ever decided that it wanted to stop hoarding secrets, such as many these maps could provide, it would help anyone interested or new to the game and does not reveal qclass/race skills abilities but does reveal shrine/quest/Id info that the community may feels they wish to be held closed to general consumption. shrug, said enough... again...I am soo noisy and troublesome, thus why i rarely post...and why I never said anything regarding that discussion on Science/parapsychology/belief systems. An Anthro would eat your little discussion on the way of things, and I don't feel hungry... Link to comment Share on other sites More sharing options...
Lord Antisonic Posted June 7, 2010 Report Share Posted June 7, 2010 p.s. whomever coded the pentegram is insane and mean. I had a fight with my wife and went crazy while cartographing that place...(/implicit sarcasm)I hate you(/end implicit sarcasm). Link to comment Share on other sites More sharing options...
f0xx Posted June 7, 2010 Report Share Posted June 7, 2010 p.s. whomever coded the pentegram is insane and mean. I had a fight with my wife and went crazy while cartographing that place...(/implicit sarcasm)I hate you(/end implicit sarcasm). Pentagram is easy man, volcano is the sh!t But there are some NICE things there Link to comment Share on other sites More sharing options...
Mali Posted June 7, 2010 Report Share Posted June 7, 2010 Coding aliases is the same as entering it in a window only faster and with less clicking. My example of "coding", however, was pre-built into the CMUD architecture. Link to comment Share on other sites More sharing options...
Dead Voodoo Doll Posted June 7, 2010 Report Share Posted June 7, 2010 What I do is like this: I have a @target command, so I type "target foxx" Then I have alias's set like this: #alias {di} {dirt @target} or #alias {mu} {murder @target} Then i make those alias's into hot keys so I can just set a target and tap a hotkey.. I have something similar to this Link to comment Share on other sites More sharing options...
Grishnak Posted June 7, 2010 Report Share Posted June 7, 2010 The in game alias system actually does allow for variables if you get creative. use an alias "settarget" to setup your variable system. What that alias does is it restrings all of your major aliases "dd" "trt" "bt" etc to target your newest target. What it doesn't do, sadly, is allow for highlighting of names (which you can then program just as easily via your mud client). Example: alias settar alias dd dirt @;alias trt trip @;alias bt bash @;etc It's quick and easy to change, and the best part about using the in game system is that all translations are done server side and you don't have any worry about added lag or delays as a result of the alias. Not that it's a major concern either way, but it at least takes a little bit of fear out (say your processor gets a heavy burden unexpectedly there could be a few millisecond delay in your client calculating what the command actually means before sending it to the MUD). It's actually very nice for setting up rp triggers and emotes as well, especially if you commonly use a repeat pmote and want to include your new target there: alias setpmtar PMNAME pm does some action towards @, with some descriptive information that sound cool following a comma. Link to comment Share on other sites More sharing options...
Talcian Posted June 7, 2010 Author Report Share Posted June 7, 2010 Sounds pretty cool Antisonic, I may look into that one as well. That's actually the sole purpose of my current character. Coming back I want to map as much as I possibly can, get up to date ID's on alot of the gear, test the herbs and all that good stuff. May take awhile but it'll be well worth it for future characters I think. I actually had a targeting system set up before in zmud- but now I'm on Windows 7 it's not usable anymore, so I'll look into that too. And I agree with you Grishnak, I always found the in game system good for emotes and custom "say" commands. Link to comment Share on other sites More sharing options...
L-A Posted June 7, 2010 Report Share Posted June 7, 2010 I've said it before, and I feel want to say it again. I don't understand why more people don't use Portal Gt D as their mud client. I don't understand why people are still "codding" aliases, variables, and macros. When I want new alias I open alias tab. alias window pops. in the field for new alias I type name then in alias's field window i type in what ever I want it to do. then in game I just type alias name and normal target info etc. ... I use JMC as my client - coming from telnet -> GMUD -> JMC I picked it up for two reasons: 1) I wanted variables in my aliases, triggers, macro's etc. Like most of us I have my 'prey' command to select a name for my aliases to target. Obviously switching all my commands to a new target easily make life a lot easier. 2) I wanted full 'command line' capability to create, destroy and alter my setup eg aliases. This is very important to me - if I need to create a new alias in the middle of PK I don't have the time to grab the mouse, nagivate the menu, find the alias/macro/trigger windows, open it, put it in then close it. Also, while I'm in the 'alias' menu I can't enter commands on the 'telnet' screen so I can get half way through doing an alias and see myself die before I can hit cancel and get that vial down :-( From the command like (since I play with QWERTY setup and can type) its just one simple command and anything can be altered. The ability to do this is something I find most conveinient. You're client may do the same (I haven't used a lot of clients, usually only changing for functionality) but that is the reason I'm with JMC. Does all I want or need (haven't tried automapping yet, unsure if it has this....). Cheers, L-A Link to comment Share on other sites More sharing options...
Lord Antisonic Posted June 8, 2010 Report Share Posted June 8, 2010 I see what you guys are saying about inputting data on your command line for aliases. yet I did neglect to mention that Portal has a feature to select instant alias/macro/event/nickname recording. I just dont do it on the run, as I have all my given aliases set to each of my "class" files. want a full ranger skill set/event/alias/macros. I roll new char, save, change char name info in the "class" loggin data. And away my new ranger goes. 0-50 skillset/training/triggers/highlights/macros ready to go. I stopped makeing new aliases and such awhile ago. I have about 9 class files, of the fav's I play, and I rarely need to change any of the mechanics in my mud client for a new char. Link to comment Share on other sites More sharing options...
Kyzarius Posted June 8, 2010 Report Share Posted June 8, 2010 Wintin FTW! It even has WIN in the name! Link to comment Share on other sites More sharing options...
The-Nameless Posted June 8, 2010 Report Share Posted June 8, 2010 It even has WIN in the name! WINdows Vista Your argument is rendered invalid. Link to comment Share on other sites More sharing options...
Kyzarius Posted June 9, 2010 Report Share Posted June 9, 2010 WINdows Vista Your argument is rendered invalid. garrr!!! windows 7? it is better... Link to comment Share on other sites More sharing options...
Kyzarius Posted June 9, 2010 Report Share Posted June 9, 2010 WINdows Vista Your argument is rendered invalid. garrr!!! windows 7? it is better... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.