Manual commands in bar dont run

Which hub software is the best? Where can I find script XXX? Discuss it here...(no, this is not for advertising your hub...)

Moderator: Moderators

Locked
narillian
Posts: 3
Joined: 2003-05-28 17:41
Location: germany

Manual commands in bar dont run

Post by narillian » 2003-05-28 17:54

hi, my problem is, that our kick- and ban-commands will be accepted only in the mainchat. if i type the nick of our script (it is registered in hub!) where we manually can write the commands to kick or ban it wont work.
i hope my english is not to awful and somebody can help me. thx
always be polite so i will be on your side.........rilli

Marvin
Posts: 147
Joined: 2003-03-06 06:56
Location: France
Contact:

Post by Marvin » 2003-05-28 23:37

I might not understand what you said. Did you try to send the command to the bot (aka script) in a private message window or in the main chat ?

However, If you want to be able to type them in a PM and that didn't work, your script need some tuning.

narillian
Posts: 3
Joined: 2003-05-28 17:41
Location: germany

Post by narillian » 2003-05-29 05:54

hi, in the settings there is the possibility that you can add manual commands to the right-click-bar (user-menu-items). so i added 2 commands in there. if i let the line PM to empty the command will send to main chat and appears there for everyone in the main chat an also will be excecuted by our bot. but when i type in our bots name in the line PM to, there is no response on the command.
for example our bot-kick-command is: #kick;NICK;REASON. it runs as pm to the bot even as message in the main. but i think nobody should see this in the main.
i hope my problem is now to understand.
always be polite so i will be on your side.........rilli

Marvin
Posts: 147
Joined: 2003-03-06 06:56
Location: France
Contact:

Post by Marvin » 2003-05-29 06:16

I think I got it this time : here is the user command you should use :

Code: Select all

<%mynick> #ban;%[nick];%[line:Reason]
With the bot's nick in the PM To box.

PS : Do not forget the blankspace between > and #.

narillian
Posts: 3
Joined: 2003-05-28 17:41
Location: germany

Post by narillian » 2003-05-29 06:40

thx a lot.........<%mynick> wasn't there in my command.........now it works
always be polite so i will be on your side.........rilli

Locked