mIRC Home    About    Download    Register    News    Help

Print Thread
on:TEXT person only #256462 18/01/16 01:52 PM
Joined: Jan 2016
Posts: 79
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 79
Code:
on *:TEXT:!komutlar:{
if $nick == Person { /msg $chan  $nick you can use this commands }
}
on *:TEXT:!komutlar:* { msg $chan $nick you cant use this commands}


what is wrong help me

Last edited by x3pos; 18/01/16 02:24 PM.
Re: on:TEXT [Re: x3pos] #256463 18/01/16 01:54 PM
Joined: Dec 2008
Posts: 1,511
westor Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
Try use this:

Code:
on *:TEXT:!komutlar:#: {
if ($nick == Person) { msg $chan $nick you can use this commands }
}

Last edited by westor; 18/01/16 01:55 PM.
Re: on:TEXT [Re: x3pos] #256464 18/01/16 01:58 PM
Joined: Jan 2016
Posts: 79
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 79
first text working already but second text doesnt work.

Re: on:TEXT [Re: x3pos] #256465 18/01/16 02:01 PM
Joined: Dec 2008
Posts: 1,511
westor Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
If you want to add multiple commands use this code instead.

Code:
ON *:TEXT:*:#: {
  if ($1 == !command1) {
    if ($nick == Person) { msg $chan $nick you can use this commands }
  }
  if ($1 == !command2) { msg $chan $nick test command2 }
}


Read more in the WIKI: http://en.wikichip.org/wiki/mirc

or in mIRC: /help on text

Last edited by westor; 18/01/16 02:03 PM.
Re: on:TEXT [Re: westor] #256466 18/01/16 02:06 PM
Joined: Jan 2016
Posts: 79
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 79
i dont want command1 and command2. only "commands"
VIP Person:!commands
bot:this commands only for you.....
everyone:!commands
bot:!commands dont work to yo!

Re: on:TEXT [Re: x3pos] #256467 18/01/16 02:09 PM
Joined: Dec 2008
Posts: 1,511
westor Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
OK next time i will smell my feets what you want for.

Try to describe better next time.

Code:
ON *:TEXT:!commands:#: {
    if ($nick == Person) { msg $chan $nick Commands are 1,2,3 }
    else { msg $chan $nick You have not access for this command! }
}

Re: on:TEXT [Re: westor] #256469 18/01/16 02:16 PM
Joined: Jan 2016
Posts: 79
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 79
person:!commands
bot:Person commands are 1,2,3
bot:Person You have not access for this command!
everyone:!commands
bot:You have not access for this command!

Last edited by x3pos; 18/01/16 02:22 PM.
Re: on:TEXT [Re: x3pos] #256470 18/01/16 02:19 PM
Joined: Dec 2008
Posts: 1,511
westor Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511

Re: on:TEXT person only [Re: x3pos] #256471 18/01/16 02:25 PM
Joined: Jan 2016
Posts: 79
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 79
it doesnt work sorry.

Re: on:TEXT person only [Re: x3pos] #256473 18/01/16 02:28 PM
Joined: Dec 2008
Posts: 1,511
westor Offline
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,511
What exactly does not working? i try it and it worked, try to create a new file in Remotes tab and paste the code on it, remove any older !commands on text event and try again, if this will not work then you've made something incorrect.

Re: on:TEXT person only [Re: x3pos] #256474 18/01/16 02:30 PM
Joined: Jan 2016
Posts: 79
X
x3pos Offline OP
Babel fish
OP Offline
Babel fish
X
Joined: Jan 2016
Posts: 79
im fixed now thank you for helping.