Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Sogou, Google, Yandex

Members: 0
Guests: 3
Stats
Files
Topics
Posts
Members
Newest Member
481
3,734
19,366
618
Micheal64X
Today's Birthdays
Vintar (28)
Related Links
» SmaugMuds.org » Codebases » AFKMud Support & Development » Channels
Forum Rules | Mark all | Recent Posts

Channels
< Newer Topic :: Older Topic > how can i add alias to immtalk?

Pages:<< prev 1 next >>
Post is unread #1 Apr 29, 2003, 4:00 pm
Go to the top of the page
Go to the bottom of the page

Tunsanshi

GroupMembers
Posts2
JoinedApr 29, 2003

I have some exp with smaug code base...

there it is quiet easy to add a short alias to any channel
(for example the char + for immtalk)

in this codebase channels are not exactly commands...

how can i implement those aliases?

thx in advance

Davide
       
Post is unread #2 May 4, 2003, 3:35 am
Go to the top of the page
Go to the bottom of the page

Samson
Black Hand
GroupAdministrators
Posts3,643
JoinedJan 1, 2002

Not entirely sure I understand the question, but I'm assuming you simply wish to use "immtalk" instead of "think" as your immortal channel? And I'm also assuming you're refering to AFKMud? Channels were removed as commands because it was just silly to waste space on extra code when the system that's there now will do just fine.

So on that note, have a look at the helpfiles for the setchannel and showchannels commands. This should point you in the right direction to be able to either rename "think" or to just setup a separate "immtalk" channel.
       
Post is unread #3 May 4, 2003, 3:48 pm
Go to the top of the page
Go to the bottom of the page

Tunsanshi

GroupMembers
Posts2
JoinedApr 29, 2003

Thx in advance...

but i think i havent' explained well my problem

i have a immtalk channel...

only for immortals (yes similar to think)

but i want to add a alias so that instead of writing every time immtalk or think

i simply type
+

where + is a built in alias for immtalk or think or what else channel i want to add an alias...

is there a way to do this?

thx

Davide aka Tunsanshi
       
Post is unread #4 May 5, 2003, 7:37 pm   Last edited Nov 24, 2007, 4:37 pm by Samson
Go to the top of the page
Go to the bottom of the page

Xorith
The Null Value
GroupAFKMud Team
Posts254
JoinedFeb 23, 2003

I see what he's getting at here... I had the same issue when I was trying to write a Newbie Guide.

With the old way, one could simply add a dummy command with cedit that referenced to the do_chan code. For instance:
cedit nc create do_newbiechat
cedit nc level 1
cedit save cmdtable


Doing this would in affect create an alias for the newbiechat command, making it easier on newbies.

If AFKMud does not have a way to do this, I think I'm going to try and expand the player's personal alias code to encompass a global alias type thing that an immortal can set.

For now, the only thing I've been able to do is use this issue in teaching newbies how to create an alias. (I have them type: alias nc newbiechat)

Hope that clears things up.
       
Pages:<< prev 1 next >>