View Single Post
Old 02-02-2006, 08:13 AM  
iXi
Senior Member
 
Join Date: Nov 2002
Posts: 220
Default [mod] ioB 2.0 r1 ioUINFO.itcl

another ioB 2.0r1 mod (this time no 3th party addon) just moded ioUINFO.itcl

default site user output:
Quote:
[R] site user
[R] 200 Command successful.
moded site user output:
Quote:
[R] site user
[R] 200- Syntax:
[R] 200- site user <username>
[R] 200 Command successful.
the following files are needed (can be found @ scripts section):
- ioB 2.0 r1 by Harm

open file: ioUINFO.itcl

search:
PHP Code:
if {![info exists args]} {return 0}
return [
uinfo
remove both lines

add:
PHP Code:
proc ioUINFO:help {} {
  
iputs -nobuffer " Syntax:"
  
iputs -nobuffer " site user <username>"
  
return
}

if {([
info exists args])} { return [uinfo] } else { ioUINFO:help 
save and exit thats it
iXi is offline   Reply With Quote