mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Apr 2017
Posts: 1
N
Nav Offline OP
Mostly harmless
OP Offline
Mostly harmless
N
Joined: Apr 2017
Posts: 1
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


http://scripting.pball.win
My personal site with some scripts I've released.
Joined: Apr 2014
Posts: 170
Vogon poet
Offline
Vogon poet
Joined: Apr 2014
Posts: 170
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