multiple commands in the userlist buttons editor

Asked by Hesham on 2007-05-30

hello.. i was trying to add a /kick %c %s Bad nick.. Change it ... then ban the nickname only ! on the userlist buttons editor.. i need to make multiple commands " in the same time" how can i do that???

Question information

English Edit question
Ubuntu xchat Edit question
No assignee Edit question
Last query:
Last reply:

Check this:

/kick %c nick1,nick2,nick3

I use separates with ','

Hesham (hesham-kamar) said : #2

No sir.. I wan to add a commmand that will kick someone for a reason.. then bans his nick
just by clicking on the button he will be kicked for bad nickname with message " bad nick detected"
then will set a ban on his nickname! nick!*@*

so i need a command seperator.. so i make two commands kick %c %s bad nick <sep> mode %c +b %s

thank you for your concern

You need a script.
I have made some scripts on python for xchat. One of these is for "auto" kick a person with say a forbidden word .
Then, you can use the script and parser your commands. Ask me if you need more info.

Raúl Soriano (gatoloko) said : #4

You can use the "User commands" option from "Configuration --> Advanced" menu. You can add a command like "myban" multiple time, and put one command in echat of them. something like:

myban kick %c %s Bad nick.. Change it ...
myban ban %s!*@*

This way when you type /myban both commands are scheduled. You can add userlist buttons too, and link one of them with this command.

Can you help with this problem?

Provide an answer of your own, or ask Hesham for more information if necessary.

To post a message you must log in.