All pastes #245882 Raw Edit

Anonymous

public text v1 · immutable
#245882 ·published 2006-11-11 15:34 UTC
rendered paste body
on *:TEXT:*:#:{ 
  if ($1 == !wsuggest) && ($Nick isop $chan || $nick ishop $chan) {
    if ($read(wsuggest.txt,w,$+(,$$2,))) && ($2 isnum) { 
      notice $nick $nick You can only suggest members worlds! 
    }
    elseif ($2 isnum) {
      set $+(%,nick.,$chan) $nick 
      set $+(%,world.,$chan) $2 
      msg $chan $nick has suggested a world. Type !view to see the world.(Must be Voice and higher to see) 
    } 
  } 
  elseif ($1 == !view) { 
    if ($nick !isreg $chan) { 
      notice $+(%,nick.,$chan) has suggested world $+(%,world.,$chan) 
    } 
  } 
}