I'm trying to do a rightclick commands for my hub and everything works fine except this...
curUser:SendData("$UserCommand 1 3 Hub commands\\Kick/Ban\\Nickban $<%mynick> !nickban %[line: Nick]|")
I seem to be blind to my errors :(
Whats wrong with the user command exactly?
My hub disconnects me when I try to use it.
QuoteOriginally posted by Jaakko
I'm trying to do a rightclick commands for my hub and everything works fine except this...
curUser:SendData("$UserCommand 1 3 Hub commands\\Kick/Ban\\Nickban $<%mynick> !nickban %[line: Nick]|")
I seem to be blind to my errors :(
Try this:
curUser:SendData("$UserCommand 1 3 Hub commands\\Kick/Ban\\Nickban $<%[mynick]> !nickban %[line:Nick]||")
Best regards,
jiten
u missed some chars dude,
u have:
curUser:SendData("$UserCommand 1 3 Hub commands\\Kick/Ban\\Nickban $<%mynick> !nickban %[line: Nick]|")
when it should be
curUser:SendData("$UserCommand 1 3 Hub commands\\Kick/Ban\\Nickban $<%[mynick]> !nickban %[line:Nick To Ban]|")
Difference:
<%mynick> = <%[mynick]>
%[line: Nine] = %[line:Nick To Ban]
=]
And it works :D
Thank you.
Nice to know that it's working ;)
Cheers