All pastes #463247 Raw Edit

Miscellany

public text v1 · immutable
#463247 ·published 2007-04-28 21:28 UTC
rendered paste body
on *:TEXT:@adduser *:#ScriptNetwork: {
  if ($ulevel >= 3) { 
    auser $3 $address($2,2) 
    notice $nick You have successfully added  $+ $2 $+  to the userlist with the access of $+  $3  $+ .
  }
}

on *:TEXT:@deluser *:#ScriptNetwork: {
  if ($ulevel >= 3) {
    ruser $address($2,2)
    notice $nick You have successfully removed $+  $2  $+ from the userlist.
  }
}

on *:TEXT:@access:#ScriptNetwork:{ 
  notice $nick You have level $+  $ulevel  $+ access.
}

on *:TEXT:@set greeting *:#ScriptNetwork:{
  if ($ulevel >= 2) { 
    set %greeting $3- 
    notice $nick You have successfully set the greeting.
  }
} 
 
on *:TEXT:@bind *:#ScriptNetwork: {
  if ($ulevel >= 3) { 
    writeini file.ini bindsection $2 $3-
    notice $nick You have binded $+  $2  $+.
  } 
}

on *:TEXT:@unbind *:#: {
  if ($ulevel >= 3) { 
    remini file.ini bindsection $2
    notice $nick $+  $2  $+ has been unbinded.
  } 
}

on *:TEXT:@version:#ScriptNetwork: {
  notice $nick This bot was created by EXHUMED/mklaif of #ScriptNetwork.
}

on *:TEXT:@say *:#ScriptNetwork: {
  if ($ulevel >= 2) {
    msg $chan $2-
  }
}

on *:TEXT:@part *:#ScriptNetwork: { 
  if ($ulevel >= 2) { 
    /part $2 
  } 
} 

on *:TEXT:@join *:#ScriptNetwork: { 
  if ($ulevel >= 2) { 
    /join $2- 
  } 
}

on *:TEXT:@nick *:#ScriptNetwork: { 
  if ($ulevel >= 2) { 
    /nick $2 
  } 
}

on *:TEXT:*:#: { 
  if ($readini(file.ini,bindsection,$remove($1,.)) != $null) { notice $nick $replace(%skin,<info>,$v1) } 
}

on *:JOIN:#ScriptNetwork: { 
  notice $nick %greeting 
}

on *:OPEN:?: { 
  if ($1 == @showcommands && $ulevel >= 2) { 
    msg $nick 1Commands: @adduser <nick> <level(2,3)> -- @deluser <nick> -- @bind <commandname> <commandinfo> -- @unbind <commandname>@say * -- @nick * -- @join #channel -- @leave #channel -- @set greeting <greetinghere> 
  }
}