mIRC Home    About    Download    Register    News    Help

Print Thread
N
Nav
Nav
N
on *:TEXT:!wahh *:#: {
if ($nick == person1 ) {return}
if ($nick == person2) {return}
write wahh.txt $2- $+
msg $chan /me fsudikjhfb
}

Want to give access to a command to specific peoples ! how do ?"

Joined: Nov 2009
Posts: 295
P
Fjord artisan
Offline
Fjord artisan
P
Joined: Nov 2009
Posts: 295
This should work.

if (!$istok(nick1 nick2 nicketc,$nick,32)) return

B
Bramzee
Bramzee
B
I use something similar to this...

Code:
 

alias trusted { 
  if ($readini(trusted.ini,$2,$1)) return 1 
} 

on *:text:!trust*:#: {
  if ($nick == YOURUSERNAMEHERE) {
    writeini trusted.ini # $2 1
  }
  else return
}

;;Then to use in the command

on *:text:!wahh*:#: {
 if ($trusted($nick,#)) {
   write wahh.txt $2- $+ 
   msg $chan /me fsudikjhfb
 }
  else return
}



Link Copied to Clipboard