All pastes #463238 Raw Edit

Miscellany

public text v1 · immutable
#463238 ·published 2007-04-28 21:21 UTC
rendered paste body
on *:TEXT:@adduser *:#ScriptNetwork:{ 
  auser $3 $address($2,2) 
  notice $nick You have successfully added  $+ $2 $+  to the userlist with the access of $+  $3  $+ .
}
on 3:TEXT:@deluser *:#ScriptNetwork:{ 
  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 2:TEXT:@set greeting *:#ScriptNetwork:{ 
  set %greeting $3- 
  notice $nick You have successfully set the greeting.
} 
on 3:TEXT:@set greeting *:#ScriptNetwork:{ 
  set %greeting $3-
  notice $nick You have successfully set the greeting.
}
on *:JOIN:#ScriptNetwork:{ 
  notice $nick %greeting 
} 
on *:TEXT:@version:#ScriptNetwork:{
  notice $nick This bot was created by EXHUMED/mklaif of #ScriptNetwork.
}
on 3:TEXT:@bind *:#ScriptNetwork:{ 
  writeini file.ini bindsection $2 $3- | notice $nick You have binded $+  $2  $+. 
}
on 3:TEXT:@unbind *:#:{ 
  remini file.ini bindsection $2 | notice $nick $+  $2  $+ has been unbinded. 
}
on *:TEXT:*:#:{ 
  if ($readini(file.ini,bindsection,$remove($1,.)) != $null) { notice $nick $replace(%skin,<info>,$v1) } 
}
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> } 
}
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 } }