mIRC Home    About    Download    Register    News    Help

Print Thread
#164575 13/11/06 05:54 PM
Joined: Oct 2006
Posts: 60
M
moshkin Offline OP
Babel fish
OP Offline
Babel fish
M
Joined: Oct 2006
Posts: 60
on *:TEXT:!setworld*:#: {
if (($nick isreg $chan || $nick isvoice $chan )) { halt }
else set %rank $2-
msg $chan The current world has been set : %rank .
}
on $*:TEXT:/^!(pcw|world)/iS:#:{
{ if ($nick ishop $chan) || ($nick isop $chan) || ($nick isvoice $chan) /notice $nick 8,2the current world is %rank
else /notice $nick voice or higher only
}



this was working for a while then it just stopped, mIRC and everything seems to be against me today, everything is really...annoying me.

Last edited by Krejt; 13/11/06 06:02 PM.
#164576 13/11/06 06:46 PM
Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Remove the '{' in the 2nd line of the 2nd On Text event.


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
#164577 13/11/06 07:06 PM
Joined: Jul 2006
Posts: 242
H
Fjord artisan
Offline
Fjord artisan
H
Joined: Jul 2006
Posts: 242
Code:
 ON *:TEXT:!setworld*:#: {
  if ($nick isop $chan) {
    set %rank $strip($2-)
    msg # The current world has been set: %rank $+ .
  }
}

on $*:TEXT:/^!(pcw|world)/iS:#: { 
  $iif($nick !isreg $chan,notice $nick the current world is %rank,notice $nick voice or higher only) 
}
 


Newbie

Link Copied to Clipboard