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

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

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

open file: ioGINFO.itcl

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

add:
PHP Code:
proc ioGINFO:help {} {
  
iputs -nobuffer " Syntax:"
  
iputs -nobuffer " site group <groupname>"
  
return
}

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