PDA

View Full Version : [Fixed] Problem with Vampire.skin


djrob
06-28-2004, 10:51 AM
Is the skin i use with iobanana and have been for quite some time. Originally it didn't work with iobanana20rcX but after some editing it did BUT with the new iobanana20pre1 it stopped working again, giving errors when starting windrop so my request is:
Could anyone help out making this skin work with iob20pre1? :)

btw, here's the error i get when trying to start with vampire.skin:


[19:30] Tcl error in file 'djrob.conf':
[19:30] invalid command name "fixsm"
while executing
"fixsm $ioBvar(quota)"
(procedure "ioB:skin" line 73)
invoked from within
"ioB:skin"
(procedure "ioB:init" line 19)
invoked from within
"ioB:init"
invoked from within
"if {!$ioBvar(distributed)} {
set ioBvar(status) 1
ioB:init
}"
(file "scripts/ioBanana.tcl" line 2771)
invoked from within
"source scripts/ioBanana.tcl"
(file "djrob.conf" line 1278)
[19:30] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

neoxed
06-28-2004, 06:33 PM
All the procedures in ioBanana v20-pre1 were renamed. Open your skin file and replace all instances of "fixsm" with "ioB:fixsm". If you're upgrading from a previous ioBanana version, be sure to add the new skin lines.

Please post in the proper forums next time, this isn't a script request. ;)

djrob
06-29-2004, 04:55 AM
Great, seems to be working fine now :D

About the posting in wrong forum, i thought the entire skin needed to be remade and that sounded like a script request to me. Won't ever happen again :p

djrob
06-29-2004, 05:00 AM
I'll attach it here as well since i made som other changes to make it work with iob20. Perhaps someone else uses this skin :)

ChipMunk666
07-02-2004, 01:54 AM
Can this skin use colors too?

Harm
07-02-2004, 03:41 AM
If it doesn't by default (which i haven't checked), you can add them easily. Edit the skin and add the colours: [c]<code> <text>[c]

djrob
07-02-2004, 11:14 AM
Yep, it can use colors (even though i don't use that) :)


#######################
### Display options ###
#######################

## You can customize those. Try not to break anything by adding invalid chars like " or []
## [b] for bold, [c]x for color x, [u] for underline
## Use \n to split messages on multiple lines

proc b {} {return }; # bold code
proc c {} {return }; # color code
proc u {} {return }; # underline code
set splitter(CHAR) "\n"


Add this as well for nuke to announce properly:

################
# For !commands:
################

proc ioB:skin {} {
global ioBvar announce nuke

set nuke(SPLITTER) "@"

djrob
07-04-2004, 06:10 AM
Looks like i missed some other stuff as well so here's an updated version that should work well with iob20pre3 :)