mIRC Home    About    Download    Register    News    Help

Print Thread
#101186 20/10/04 11:10 PM
Joined: Sep 2004
Posts: 200
I
IR_n00b Offline OP
Fjord artisan
OP Offline
Fjord artisan
I
Joined: Sep 2004
Posts: 200
im making a bot and when im testing the !help command it sorta messes up the script is:
on *:text:*:#: {
if ($$1 == !help) && ($$2 == $null) {
msg $chan commands are: ...
}
if ($$1 == !help && ($$2 != $null) {
if ($$2 == blah) { msg $chan blah blah
}
}
but when i do just !help it does nothing does anyone know how to fix this?

#101187 20/10/04 11:43 PM
Joined: Mar 2004
Posts: 175
Vogon poet
Offline
Vogon poet
Joined: Mar 2004
Posts: 175
Code:
On *:TEXT:*:#: {
If ($1 == !Help) {
If (!$2) { .notice $Nick Commands are: ... }
If ($2 == Blah) { .notice $Nick Blah Blah. }
If ($2 == Thingy) { .notice $Nick Thingy. }
}
}


- Relinsquish

Link Copied to Clipboard