Seiduna Report post Posted April 10, 2014 Hello eternal people, I am interested in #alias command, in particular for inventory (ctrl i is just to streachy), and can I combine them like: #alias 1 #beam me #open_inventory #sto Also, why can I not use aliases in chat #alias 2 hello people how are you today? @#2 like so, so you do not hacve to type, but have ready aliases... Thank you Share this post Link to post Share on other sites
Raz Report post Posted April 10, 2014 I think the #needs to be at the start of the line so try #alias 2 @@6 hello channel 6 Share this post Link to post Share on other sites
bluap Report post Posted April 10, 2014 To open the inventory using an alias you could do: #alias 1 #keypress #k_items Then: #1 You cannot currently combine multiple command in an alias but patches are always welcome. Perhaps the syntax and code of the command queue module could be reused..... Share this post Link to post Share on other sites
Seiduna Report post Posted April 10, 2014 (edited) Hello Raz and thanks for reply,this works: #alias 1 @hello people also, as Raz suggested, this works: #alias 1 @@123456 hello people on 123456 some common phrases to bind as aliases, #alias 1 Hello there people, #alias 2 novac with bear daily #alias 3 xaqueline with cactus so I can use them in chat: @ #1 today I got #2 and I already done #3 but sadly this does not workbut also for bot, this works: #alias 5 /mercator about me but I would really love this: #alias 5 /mercator about and than: #5 Raz or #5 radu or #5 me ... but sadly this does not work or is there a way...? thank you EDIT: bluap, I did not see your post, but it is most helpfull,could I trouble you for a link or list of such text commandsthat are not in el help (like quests, buddies,..)? Edited April 10, 2014 by Seiduna Share this post Link to post Share on other sites
revi Report post Posted April 11, 2014 (...) but I would really love this: #alias 5 /mercator about and than: #5 Raz or #5 radu or #5 me ... but sadly this does not work or is there a way...? thank you (...) Try #alias 5 /mercator about $0 and use as #5 Seiduna (if you want more variables, use subsequent numbers like $1 $2 $3 ..., and don't forget to type values when using the alias) Share this post Link to post Share on other sites
Seiduna Report post Posted April 11, 2014 #alias 5 /mercator about $0 Now we are talking revi, thank you! so we can not combine two or more commands in one alias, yet, but how about using aliases in chat? #alias 11 @@56565 hy peeps, today I had dailies: $0 $1 $2 #alias 22 haidir rats #alias 33 novac with bear daily #alias 44 xaqueline with cactus so: #11 #22 #33 #44 <--- this does not work #11 haidir_rats xaq_cactus novac_bear <--- this works!!! eg: #alias 99 @@56565 hy peeps, this is me testing aliases in chat $0 this is original line $1 original line $2 #99 FIRST_INPUT SECOND THIRD output: [Ursha @ 56565]: hy peeps, this is me testing aliases in chat FIRST_INPUT this is original line SECOND original line THIRD and commands: #alias 2 #sto #alias 22 $0 #22 #2 <--- this works #22 #sto <--- this also works but: #alias 2 #sto #alias 22 $0 $1 #22 #2 #ci <--- this only executes first command #22 #sto #ci <--- this only executes first command if I found out more I will post, you are welcome too! thank you Share this post Link to post Share on other sites
vinoveritas Report post Posted April 11, 2014 You cannot use aliases to execute multiple commands in a row what you can do us use user menus to do that. for your example #alias 1 #beam me #open_inventory #sto create a text file named MyMenu.menu inside your personal eternallands folder (under linux ~/.elc/main/) Windows ( %HOMEPATH%\Own Documents\Eternal Lands\main\) Write in that file something like Multiplecommands || #beam me || #keypress #k_items || #sto About player ||/mercator about <player name> ... #aliases are nice in combination with users Menu they rock . Share this post Link to post Share on other sites
bluap Report post Posted April 11, 2014 The fill list of posible values for the #keypress command can be found in the client source code here. Share this post Link to post Share on other sites
Seiduna Report post Posted April 12, 2014 yes yes, sorry for delayed response,but I was making me a user menu, khaha,I totally blame vinoveritas (sorry vv, joke)So I use left hand on keyboard and right on mouse,and I want to have more use of my left hand for quick acces,but this user menu is great thing - althow I use my right hand for it...bluap, thanks once again,that link is most helpfull to me!also on el-wiki I found this, also helped a lot:http://el-wiki.net/User_interface#User_menusok, I got what I needed, thank you guys a bunch!!!may Queen of Nature bless you all Share this post Link to post Share on other sites