how do i add my own commands or extra commands to the popups

Asked by jones

ok i want to add few commands to what i already have [the basics] but the menu is not very helpful as you might think it would be. it gives general answers but not how to place them or in what order. if i wanted to change the topic for instance what would i chose raw or chat its most likly raw but it doesnt say. what context does it belong in as well hub or user or can i put it in both. as a irc user the way things work as easy to under stand but dc++ is different in ways.from Mirc. if i want to add a command that let me ask the stats on a user in the hubs channel what would i put?
 now being a operator is a given and they do have aset of commands that you can get installed once you are logged in. what i want to do is modify those or even add to them a little. this is where im stumped.
who can help
thanks.
 J

Question information

Language:
English Edit question
Status:
Solved
For:
DC++ Edit question
Assignee:
No assignee Edit question
Solved by:
jones
Solved:
Last query:
Last reply:
Revision history for this message
MikeJJ (mrmikejj) said :
#1

To change the ones you get when you log in, the hubowner will need to changes the ones sent to you.
As for making your own, Raw / Chat, either would work really.
Chat would probably be easier.
for example if the hub supports a command which you can type in main chat for !stats
If you just send !stats as a Chat message in right click, it will be the same as typing !stats in main chat.
Or another example
As a Chat command
!topic [%line:Enter a topic]

Should give you a pop up box where you can type in the topic you want. And then send it to the hub when you click okay. if !topic is what the hub responds too.

This same command as a Raw would be
<%[myNI]> !topic [%line:Enter a topic]|

As for context, Hub or Chat or both would work fine. Experiement with it. Put it in "hub" and see which right click it turns up in. Same with "User" (this one i assume you get when you right click on a user).

Revision history for this message
jones (bids) said :
#2

ok i try what you have showna nd see how well i can get it to work. thanks.
question. is there a way to look at or open the file that the hub commands is placed in once you are logged into the hub. as a op i get certain commands and as a non-op but just aregisterd user i get some other commands i do not want to modify them [it would only bring disasterto the hub] but study to build on them or learn the way it works. this is how i learned to write Mirc scripts in the past. for me seein it will help me understand it. im sure it would take a lot of time or someoen here to write all this down and i dont want to impose sucha heavy task on you.
J

Revision history for this message
MikeJJ (mrmikejj) said :
#3

As far as i know there is no way of looking at the commands sent from the hub.
Best bet is to ask the hub owner to send you a copy of them so you can examine them. :)

Revision history for this message
jones (bids) said :
#4

ok i will do that then but im not sure he understands them any better then i do really.
thanks for the input on this mater
J