Home
About
Download
Register
News
Help
Register
Log In
Forums
mIRC Help
ban command?
Forums
Active Threads
Search
Who's Online
Help
Print Thread
ban command?
#
25377
21/05/03
10:42 PM
C
CRAZYGUY
CRAZYGUY
C
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
}
Copy Link to Clipboard
Re: ban command?
#
25378
21/05/03
10:46 PM
Joined:
Mar 2003
Posts: 272
Montreal, Canada
C
c0ldfusi0n
Fjord artisan
c0ldfusi0n
Fjord artisan
C
Joined:
Mar 2003
Posts: 272
Montreal, Canada
On @*:TEXT:-ban*:#:{ mode $chan +b $address($2,3) }
Syntax: /msg #Channel -ban <Nickname>
Copy Link to Clipboard
Re: ban command?
#
25379
21/05/03
11:01 PM
C
CRAZYGUY
CRAZYGUY
C
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
-
Copy Link to Clipboard
Re: ban command?
#
25380
21/05/03
11:03 PM
Joined:
Mar 2003
Posts: 272
Montreal, Canada
C
c0ldfusi0n
Fjord artisan
c0ldfusi0n
Fjord artisan
C
Joined:
Mar 2003
Posts: 272
Montreal, Canada
Works fine for me.
Copy Link to Clipboard
Re: ban command?
#
25381
21/05/03
11:12 PM
C
CRAZYGUY
CRAZYGUY
C
it does not for me thats all it says
Copy Link to Clipboard
Re: ban command?
#
25382
21/05/03
11:23 PM
Joined:
Dec 2002
Posts: 3,015
London, UK
C
Collective
Hoopy frood
Collective
Hoopy frood
C
Joined:
Dec 2002
Posts: 3,015
London, UK
It works for me too, you sure you haven't left a previous version of the script in you remotes?
Copy Link to Clipboard
Re: ban command?
#
25383
22/05/03
12:21 AM
C
CRAZYGUY
CRAZYGUY
C
Ya iam sure its a clean script
Copy Link to Clipboard
Re: ban command?
#
25384
22/05/03
02:10 AM
J
Julie2
Julie2
J
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
Copy Link to Clipboard
Re: ban command?
#
25385
22/05/03
02:43 AM
Joined:
Mar 2003
Posts: 272
Montreal, Canada
C
c0ldfusi0n
Fjord artisan
c0ldfusi0n
Fjord artisan
C
Joined:
Mar 2003
Posts: 272
Montreal, Canada
"//echo -a $isalias(mode)" Would be better since typing "/alias mode" would simply overwrite the whole thing.
Copy Link to Clipboard
Re: ban command?
#
25386
22/05/03
10:25 AM
Joined:
Jan 2003
Posts: 2,973
New Hampshire, USA
K
KingTomato
Hoopy frood
KingTomato
Hoopy frood
K
Joined:
Jan 2003
Posts: 2,973
New Hampshire, USA
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
Copy Link to Clipboard
Re: ban command?
#
25387
22/05/03
10:32 AM
Joined:
Dec 2002
Posts: 3,015
London, UK
C
Collective
Hoopy frood
Collective
Hoopy frood
C
Joined:
Dec 2002
Posts: 3,015
London, UK
Most servers capitalise the command in the 421 (unknown command) raw.
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage