mIRC Home    About    Download    Register    News    Help

Print Thread
#162142 15/10/06 02:12 AM
Joined: Oct 2006
Posts: 68
B
BuTLeR Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 68
sorry for the multi post grin

Code:
on *:text:*#*:#: {
  if ($level !isnum 250-1000) { 
    .msg $chan .: 5Please Dont Advertise Here  $+ $nick $+  :.
    mode $chan -o-v $nick $nick
  }
}

on *:action:*#*:#: {
  if ($level !isnum 250-1000) {
    .msg $chan .: 5Please Dont Advertise Here  $+ $nick $+  :.
    mode $chan -o-v $nick $nick
  }
}  


For some reason its still saying please dont ect ect and deoping,devoicing users that are level 250 and abouv please help

Last edited by BuTLeR; 15/10/06 02:13 AM.

At Your Service.
#162143 15/10/06 02:42 AM
Joined: Mar 2003
Posts: 612
B
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
$level($ial($nick,1)) perhaps?


billythekid
#162144 15/10/06 02:52 AM
Joined: Oct 2006
Posts: 68
B
BuTLeR Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 68
so i would replace this line:

($level !isnum 250-1000)

with this line:

($level($ial($nick,1)) 250-1000)

confused


At Your Service.
#162145 15/10/06 02:52 AM
Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
$level is not the right identifier wink
Quote:
$level(address)
Finds a matching address in the remote users list and returns its corresponding levels list.
$level(*!*@mirc.com) returns =5,10,20,21,32


Replace "$level" in your code with "$ulevel"
Quote:
$ulevel
Returns the user level that was matched for the currently triggered event.

#162146 15/10/06 02:55 AM
Joined: Oct 2006
Posts: 68
B
BuTLeR Offline OP
Babel fish
OP Offline
Babel fish
B
Joined: Oct 2006
Posts: 68
Thanks deegee it works now =)


At Your Service.
#162147 15/10/06 02:57 PM
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
Sorry, that was my fault. Bad memory when mIRC isn't in front of me. frown


Invision Support
#Invision on irc.irchighway.net

Link Copied to Clipboard