Binding aliasing

General discussion of the port and Doom-related chat.
Post Reply
Powerman
Forum Regular
Posts: 106
Joined: Mon Jul 02, 2012 2:45 am
Location: Places

Binding aliasing

#1

Post by Powerman » Tue May 21, 2013 4:08 am

How do you bind aliases to like N?
http://brutaldoomwads.weebly.com/
Also Now Every Wednesday is Brutal doom Co-op! Just Look For powerman in the name!

legion
Retired Staff / Community Team Member
Posts: 315
Joined: Sat Jun 02, 2012 7:36 am

RE: Binding aliasing

#2

Post by legion » Tue May 21, 2013 4:18 am

alias +command <do stuff here>
alias -command <stop doing stuff here>
bind <key> +command
Image

Powerman
Forum Regular
Posts: 106
Joined: Mon Jul 02, 2012 2:45 am
Location: Places

RE: Binding aliasing

#3

Post by Powerman » Tue May 21, 2013 6:47 am

alias +command <do stuff here>
alias -command <stop doing stuff here>
bind <key> +command

so to do a name alias, I would do

Alias name "Name"?
http://brutaldoomwads.weebly.com/
Also Now Every Wednesday is Brutal doom Co-op! Just Look For powerman in the name!

User avatar
Cyber'
Retired Staff / Community Team Member
Posts: 252
Joined: Fri May 25, 2012 1:14 am
Location: Colorado
Clan: The Professionals
Clan Tag: <PRO>
Contact:

RE: Binding aliasing

#4

Post by Cyber' » Tue May 21, 2013 6:57 am

Right, for example:

Alias A1 "name <PRO>Cyber.
Alias stealthmode "name Jackal

Bind u "A1
Bind o "stealthmode
Projects completed : PROCTF, Jump Maze, Tricky ST, RJX, RJX Remastered, Jump Maze X
Newest Project : Nothing at present, potentially a JM1 update.


Jumpmaze X post is here viewtopic.php?f=58&t=9981&p=115929#p115929
I always love these calm moments before the storm...

Powerman
Forum Regular
Posts: 106
Joined: Mon Jul 02, 2012 2:45 am
Location: Places

RE: Binding aliasing

#5

Post by Powerman » Tue May 21, 2013 7:14 am

I keep getting "alias name tried to recurse"

[spoiler]Alias stimpy "name \clStim\chpy
Alias Power "name \cm<\cdN\cm> \crpower\ciman
Bind e "power"
Bind n "stimpy"[/spoiler]
Last edited by Powerman on Tue May 21, 2013 7:59 am, edited 1 time in total.
http://brutaldoomwads.weebly.com/
Also Now Every Wednesday is Brutal doom Co-op! Just Look For powerman in the name!

User avatar
Cyber'
Retired Staff / Community Team Member
Posts: 252
Joined: Fri May 25, 2012 1:14 am
Location: Colorado
Clan: The Professionals
Clan Tag: <PRO>
Contact:

RE: Binding aliasing

#6

Post by Cyber' » Tue May 21, 2013 9:08 am

alias stimpy "name \"\clStim\chpy
bind n "stimpy

alias power "name \"\\cm<\cdN\cm> \crpower\ciman
bind e "power

Give this a shot.
Projects completed : PROCTF, Jump Maze, Tricky ST, RJX, RJX Remastered, Jump Maze X
Newest Project : Nothing at present, potentially a JM1 update.


Jumpmaze X post is here viewtopic.php?f=58&t=9981&p=115929#p115929
I always love these calm moments before the storm...

Cruduxy
Zandrone
Posts: 1059
Joined: Fri Jun 08, 2012 4:24 pm

RE: Binding aliasing

#7

Post by Cruduxy » Tue May 21, 2013 11:40 am

You might need a few wait statements here and there so alias doesn't get terminated I think
[][][][][][][][][][][][][][][]
Nothing to see here
[][][][][][][][][][][][][][][]

Powerman
Forum Regular
Posts: 106
Joined: Mon Jul 02, 2012 2:45 am
Location: Places

RE: Binding aliasing

#8

Post by Powerman » Tue May 21, 2013 3:12 pm

I had to mess with the config file, but after that it works! Thanks everyone!!!!!
http://brutaldoomwads.weebly.com/
Also Now Every Wednesday is Brutal doom Co-op! Just Look For powerman in the name!

one_Two
Addicted to Zandronum
Posts: 1753
Joined: Thu Jun 07, 2012 4:47 pm

RE: Binding aliasing

#9

Post by one_Two » Tue May 21, 2013 3:36 pm

A similar question, I know it's kind of spammy but how do you make a bind to print multiple lines of text? like that BE message I think Water used to have.

Tux
Forum Regular
Posts: 510
Joined: Mon Jun 04, 2012 1:18 pm
Location: satan's gaping anus
Contact:

RE: Binding aliasing

#10

Post by Tux » Tue May 21, 2013 4:09 pm

alias HI 'say \cH\cgI;wait 18;say BAD PEGG'
bind kp1 'HI'
press kp1 and voila

OR
bind 'kp1' 'say \\ccH\\cgI;wait 18;say BAD PEGG'
press kp1 and voila


////type alias to see all your aliases
Last edited by Tux on Tue May 21, 2013 4:15 pm, edited 1 time in total.
Image
dear diary, tux today was a faggot again[/size]

Post Reply