Hi, i wanna make a command in my bot which will change the bot's nick on a certain command. It doesnt work though. Here it is:
on *:TEXT:*.nick *:#: { if ($nick isop #Hazemaker) { /nick $2 } ELSE { //notice $nick 4This command is a command that only can be used by a Botmaster/owner --> Acces denied } }
on *:TEXT:.nick *:#: { if ($nick isop #Hazemaker) { /nick $2 } ELSE { //notice $nick 4This command is a command that only can be used by a Botmaster/owner --> Acces denied } }
on *:TEXT:.nick *:#:{
if ($nick isop #Hazemaker) {
nick $2
}
else {
notice $nick 4This command is a command that only can be used by a Botmaster/owner --> Acces denied
}
}
it works fine for me hope this helps theres still a few potential holes, nothing earth shattering. im sure you'll find them
on *:TEXT:.nick *:[color:red]#Hazemaker[/color]: {
if ($nick isop #) {
nick $2
}
else {
notice $nick 04 $+ This command is a command that only can be used by a Botmaster/owner --> Access denied $+
}
}