FlexHub Forum

Command Clean Main Chat

Offline massi

  • FlexHub Ambassador and Forum Stalker
  • *
  • 301
Command Clean Main Chat
« on: April 16, 2012, 20:59:31 »
Hi all  ;)

please controll all parameter and function in function textcommands, because for example in commands clean mainchat, now don't work correctly and visible only operator but not visible for user ... please take a look ... thanks ;-)
nb. i hope it's a bug and resolve in next release

Best regards
Massimiliano
« Last Edit: April 16, 2012, 21:02:36 by massi »

Re: Command Clean Main Chat
« Reply #1 on: April 16, 2012, 22:36:56 »
check so the uselevel is set to the lowest level that is supposed to be able to use the command
and set profilelevel to the lowest level that is supposed to see the output of the command

Offline massi

  • FlexHub Ambassador and Forum Stalker
  • *
  • 301
Re: Command Clean Main Chat
« Reply #2 on: April 17, 2012, 07:01:30 »
check so the uselevel is set to the lowest level that is supposed to be able to use the command
and set profilelevel to the lowest level that is supposed to see the output of the command


Uhm ...

Hi en_dator, excuse me ... but this commands or parameter for example it's wrong ?

-> !addcmd cleanchat -o0 -p4 -m10 -u4 -t0 -h"Clean Chat" "textexample"

nb. i hope that correct mode it's -->  !addcmd cleanchat -o34 -p-1 -m10 -u4 -t0 -h"Clean Chat" "textexample"

nb. only min 4 level can be used this command , and visible profile -1 to 10 ... yes ? correct ?
nb. option 2+32=34 ( 2=show all + 32=don't create right commands)
nb. take me a right example if possible if it's wrong ;-)

Thanks for support and assistance
Best regards
Massimiliano
« Last Edit: April 17, 2012, 09:18:00 by massi »

Offline massi

  • FlexHub Ambassador and Forum Stalker
  • *
  • 301
Re: Command Clean Main Chat
« Reply #3 on: April 17, 2012, 09:41:59 »
Hi, excuse me for stress  ;D ;)

I've create this commands, but don't work correctly, where is the error ? User unreg don't seen clean ...  ??? ::)

1) textcommands for right mouse only for 4 level and up
!addcmd cleanmainchatmenu -o332 -p4 -m10 -u4 "$UserCommand 1 3 • Milliways and Galeone Menù •™\* Clean Mainchat\Clean Mainchat (for spam or also)$<%[mynick]> !cleanmainchat&#124;|"

2) textcommands visible all
!addcmd cleanmainchat -o32 -p-1 -m10 -u4 -t0 -h"Clean Chat" "
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  :
                                :                                : :                                 :
                               : :          :                    : :                     :         : :
                               : :           : :                  :                    : :         : :
                                  : :.         : :.            / ~\              . : :       . : :
                                       : : .       :: : .   /       \\      . : :      . : :
                                         : : .       : : /            \\ : : :    . : :
                                              :     : : (                 ) : : : : :
                                                        \\  ____  /
                                            . : : : : :  / `        ` \ : : : : : .
                                        . : :        . : \\  o o  / : .       : : .
                                     . : :        . : :       :    :      : : .        : : .
                                  . : :           : :                        : :           : : .
                                 : :               : :                        : :              : :
                                : :                                                            : :

      Mainchat clean by %[user_name]
      In main chat please be respectful and no stress xD
      Please talk only English or Italian so others can understand and help you
      For more information please send a PM to one of the administrators
      Best regards the Daywalker Team =)"

Thanks for support and assistance ;-)
Best regards
Massimiliano
« Last Edit: April 17, 2012, 09:44:14 by massi »

Offline massi

  • FlexHub Ambassador and Forum Stalker
  • *
  • 301
Re: Command Clean Main Chat
« Reply #4 on: April 17, 2012, 09:50:35 »
Hi  ;)

Finally I understood and I solved it. I use the wrong options. Thanks for the assistance and support. You are always kind and helpful. I leave here in the public domain and running the right commands. There was no option 2 (see all 2 +32 = 34)

Now perfect  :)

!addcmd cleanmainchatmenu -o332 -p4 -m10 -u4 "$UserCommand 1 3 • Milliways and Galeone Menù •™\* Clean Mainchat\Clean Mainchat (for spam or also)$<%[mynick]> !cleanmainchat&#124;|"

!modcmd cleanmainchat -o34 -p-1 -m10 -u4 -t0 -h"Clean Chat" "
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  ::
                                                                  :
                                :                                : :                                 :
                               : :          :                    : :                     :         : :
                               : :           : :                  :                    : :         : :
                                  : :.         : :.            / ~\              . : :       . : :
                                       : : .       :: : .   /       \\      . : :      . : :
                                         : : .       : : /            \\ : : :    . : :
                                              :     : : (                 ) : : : : :
                                                        \\  ____  /
                                            . : : : : :  / `        ` \ : : : : : .
                                        . : :        . : \\  o o  / : .       : : .
                                     . : :        . : :       :    :      : : .        : : .
                                  . : :           : :                        : :           : : .
                                 : :               : :                        : :              : :
                                : :                                                            : :

      Mainchat clean by %[user_name]
      In main chat please be respectful and no stress xD
      Please talk only English or Italian so others can understand and help you
      For more information please send a PM to one of the administrators
      Best regards the Daywalker Team =)"

Thanks for all
Best regards
Massimiliano
« Last Edit: April 17, 2012, 09:52:06 by massi »

Re: Command Clean Main Chat
« Reply #5 on: April 17, 2012, 17:25:46 »
Good that you solved it massi,
I know that sometimes it takes a few tries before one gets it the way one wants, but I do believe that the addcmd function is working correctly now



There is one thing though - You should not need to create a RC menu of your own like you do with your cleanmainchatmenu, all the text commands that you create (that does not contain the option 32 - dont create a right click item) will have a menu iten created for them in the FlexHub menu under the Textcommands folder and using the string you entered as help text as the menu label.

/1d

Offline massi

  • FlexHub Ambassador and Forum Stalker
  • *
  • 301
Re: Command Clean Main Chat
« Reply #6 on: April 17, 2012, 18:04:03 »
Thanks en_dator   ;)

NB. It would be interesting in my opinion implemetare in flexhub this command by default on the right mouse. With the possibility that the owners perhaps to change at the discretion of the text file visible in Mainchat.


Thanks for all !!! Flex Rocks !!!
Best regards
Massimiliano
« Last Edit: April 17, 2012, 18:06:15 by massi »

Re: Command Clean Main Chat
« Reply #7 on: April 17, 2012, 19:53:02 »
I agree that it could be useful, but I think it maybe will be too complicated to setup.

I will keep it in mind for the future, but I'm not promising anything  ;)

Offline massi

  • FlexHub Ambassador and Forum Stalker
  • *
  • 301
Re: Command Clean Main Chat
« Reply #8 on: April 17, 2012, 23:01:39 »
Hi  ;)

don't worried ... it's ok ...  :)

Thanks for all o/

Best Regards
Massimiliano