Ticket #336 (new enhancement)

Opened 4 years ago

Last modified 6 months ago

user/chan commands replace chattr/whois/chaninfo/chanset

Reported by: motion Owned by: bryan
Priority: minor Milestone:
Component: cmds Version: 1.2.2
Keywords: chaninfo chanset whois chattr channels userlist Cc:

Description

* Replace the whois/chattr commands with user

* replace the chaninfo/chanset commands with chan

user <user> [flags [ | chanflags <channel>] ]
chan <chan> [flags]
user motion
--- display !whois about user

user motion +x|+y #chan
--- react the same way as !chattr
--- output chattr output or full output like !user motion

chan #wraith
--- display chaninfo of specfied channel

chan #wraith -inactive limit 10
--- modify channel like chanset
--- output either chanset output or chaninfo.

to go further we could add userlist command into user:

user [user [ globflag [ | chanflag #chan ] ] ]

user
--- output !userlist

and further with chan to put channels into this as well. although this might require changing/renaming the channel command on leafs, maybe to schan to mimic the other s... commands.

chan [ #chan [ flags ] ]

chan
--- output !channels output of accessible channels

this condenses 6 commands down to 2 which all relate to eachother and doesnt break anything. personally i think it makes more sense as well. if anyone else really likes this idea im willing to take the help of all 4/6 commands and condense them together. this might make help a little long but i can make a way to shorten some of it down. i think some of the chaninfo help is a little verbose anyhow :x

Change History

follow-up: ↓ 3   Changed 4 years ago by sknake

instead of the code for users/channels being segregated as they are currently, we'd be joining code together for the sake of save the number of commands. i'm entirely against this, and if you implement it PLEASE leave the old command structure in tact. I don't want to re-learn and re-train all my users. The nice thing about wraith is it uses eggdrop style codes, so everyone knows how to use it...

  Changed 4 years ago by sknake

  • milestone changed from 1.3.0 to 2.0 (Public)

in reply to: ↑ 1   Changed 4 years ago by bryan

Replying to sknake:

instead of the code for users/channels being segregated as they are currently, we'd be joining code together for the sake of save the number of commands. i'm entirely against this, and if you implement it PLEASE leave the old command structure in tact. I don't want to re-learn and re-train all my users. The nice thing about wraith is it uses eggdrop style codes, so everyone knows how to use it...

Quite the contrary; a lot of wraith users have *never* used eggdrop. In fact, it bothers me when people treat wraith like eggdrop, such as with userflag +f. I will definitely be using a completely different cmd interface to separate wraith from eggdrop with 2.0. Worst case are these condensed cmds. I may do something simple and just mimic irc cmds.

  .mode [#chan/user] flags
  .join
  .part

I'll experiment once I get enough of 2.0 done. So far at this point I am no where near the user interface.

  Changed 6 months ago by bryan

  • milestone 2.0 deleted

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.