@roz said in Coming Soon: Arx, After the Reckoning:
@griatch said in Coming Soon: Arx, After the Reckoning:
@fortydeuce said in Coming Soon: Arx, After the Reckoning:
@griatch said in Coming Soon: Arx, After the Reckoning:
nick page foo=$1=page foobartholicus=$1
Thanks! I asked on the info chan about how to get nick to do this, and the impression was that it probably wasn't possible. Much obliged.
No problem. I'm surprised that was the impression.
I'm the guilty party, but I thought @fortydeuce was specifically looking for a name alias situation, wherein he could set an alias just for a person's name and have it work anywhere. Not just paging a specific person. Or I would've started looking at setting up a page alias!
Actually, the nick command does this too. By default nick
operates as if you gave the /inputline
switch, that is, it will just match things as you write them, from the beginning of the line. But you can also apply nicks to object-lookups your commands do (a Character is just like any Object in Evennia) by using the /object
switch:
> nick/object dude = griatch
> look dude
<description of Griatch>
> nick/object bbox = great box of apples
> give bbox = dude
You give Great box of apples to Griatch.
> nick/object t$1 = tall $1
> give bbox = tman
You give Great box of apples to Tall man
Use the /accounts
for nicking account references (maybe less often useful).
.
Griatch
PS: The issue was closed. Latest Evennia now allows you to include =
in the pattern by escaping them with \=
.
Edit: Actually page
in particular does not use the regular search mechanism, so you cannot nick that one. Gah ...
Edit2: ... and now you can! At least in base Evennia, don't know when Arx updates.