Ok, I have been working on a ban command for my bot but it seems not to work heres what i have:
on *:text:-ban *:#:{
set %nick $2
mode # +b $address(%nick,3)
unset %nick
}
On @*:TEXT:-ban*:#:{ mode $chan +b $address($2,3) }
Syntax: /msg #Channel -ban <Nickname>
Hmm well that seems to not work it says:
-
+B Unknown command
-
+B Unknown command
-
+B Unknown command
-
+B Unknown command
-
+B Unknown command
-
+B Unknown command
-
+B Unknown command
-
+B Unknown command
-
it does not for me thats all it says
It works for me too, you sure you haven't left a previous version of the script in you remotes?
Ya iam sure its a clean script
from that error msg, it sounds like you may have accidentally created an alias named mode. try typing in mirc /alias mode
if it finds one and deletes it, then try your script again
"//echo -a $isalias(mode)" Would be better since typing "/alias mode" would simply overwrite the whole thing.
b and B are two diff modes. Make sure you typed a lowercase b for ban, rather than an uppercase when transferring the script that coldfusi0n made
Most servers capitalise the command in the 421 (unknown command) raw.