| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> the way its ran there it wouldnt know them <0> yes <1> okay <1> thats what i was figuring out somehow. <1> let me try this again with a different format <0> just try changing what u (tried) to understand here and paste it again :) <1> okay <0> dont test first :) <1> hmm <1> its long as hell <1> im going to copy it to notepad <1> brb a sec <1> http://paste.anbcs.com/4020 <1> flowy!!!! <1> you ****er long time no see ;p <1> blade did that seem right?
<0> if {![channel get $channel cypher-masterlock]} {set cypher-masterlock-status "OFF"} <0> if {[channel get $channel cypher-masterlock]} {set cypher-masterlock-status "ON"} <0> if {![channel get $channel cypher-securitylock]} {set cypher-securitylock-status "OFF"} <0> it still doesnt know what channel is ;) <0> it doesnt know what $mode is either <0> putcmdlog "\[Nick: $nick\]\[Hostname: $hostname\]\[Handle: $handle\]\[Channel: $channel\]\[Mode: $mode\]\[Arguments: $arguments\]" <0> so far i have only been fixing bugs with nagelfar :) <1> okay so i stick it in a proc <1> hehe <1> ok <1> so how do i set the chan as dynamic. <1> i cant stick it in the same because it will be a bitch to setup on every line. <1> or will it global if i stick it there immediately. <0> you check within proc <0> u cant do a check like u do there <1> proc cypher-pub {nick hostname handle channel arguments} { <1> global botnick cypher cypher-masterlock cypher-securitylock <1> if {![channel get $channel cypher-masterlock]} {set cypher-masterlock-status) "OFF"} <1> if {[channel get $channel cypher-masterlock]} {set cypher-masterlock-status "ON"} <1> if {![channel get $channel cypher-securitylock]} {set cypher-securitylock-status "OFF"} <1> if {[channel get $channel cypher-securitylock]} {set cypher-securitylock-status "ON"} <1> if {![channel get $channel cypher]} {set cypher-status "OFF"} <1> if {[channel get $channel cypher]} {set cypher-status "ON"} <1> oh and i have an extra brace <1> on cypher-masterlock-status) <0> also, use 1 and 0 <0> easier to check for :) <1> really? <0> if you actully used them for something.. yes <1> but this is a true or false thing, i guess it changes everything to a number <1> i have nothing to convert to 1 or 0 because its returning text <0> well, doesnt matter the way u use them atm ;) <1> hehe <1> i do appreciate your help on this blade <0> my pleasure :( <0> :) <1> try now <0> !cypher <2> [CYPHER: cypher 1.0.0][STATUS: DISABLED][SECURITY LOCK: OFF][MASTER LOCK: OFF] <2> [CYPHER: cypher 1.0.0][STATUS: ACCESS DENIED BREACH OF SECURITY DETECTED][WARNING: NOTIFYING YOUR NICK: BL4DE AND IPADDRESS: party@66.252.31.69 TO OWNER FOR IMMEDIATE ACTION][STATUS: BOTNET LOCKDOWN IN PROGRESS] <1> thanks <1> perfect? <0> :) <1> hehe thanks a tonne man <0> well, i dont know what the script does, but it's working ;) <1> now how do i global this? <1> indeed <1> its just a guard thing for a chan <1> i basically allow commands in some channels to be used by my users in a private place, in some channels its disabled <1> and in some its filtered <1> due to access levels always. <1> complicated thing. <0> :) <0> global what ? <1> its like 1000 lines+ <1> i want to global the set thing <1> the cypher-masterlock-status <0> paste last revision <1> so i can call it in another process. <1> ok <1> http://paste.anbcs.com/4021
<1> what would make the bot spit out this <1> [07:12:28] ef'cypher [07:10] Tcl error [cypher-pub]: can't read "mode": no such variable <0> cypher-masterlock cypher-securitylock <- global these in all procs, the problem is, however, that you will need to run cypher-pub BEFORE it will work, and it will have the premission from the last chan cypher-pub was triggered in <1> what line did you see it on <0> just search for $mode <1> ok <1> so how would i fix mode <1> because in some cases its triggered. <1> actually mode would be the same as arguments right? <1> like, !cypher on would return the mode for cypher not the argument. <0> that's hard to tell for me <1> !cypher on <1> !cypher off <0> then yes <1> [07:18:44] ef'cypher [07:16] [Nick: ghost_][Hostname: ghost@shadow.darkmage.org][Handle: ghost][Channel: #eggtcl][Mode: on][Arguments: on] <1> [07:18:47] ef'cypher [07:16] [Nick: ghost_][Hostname: ghost@shadow.darkmage.org][Handle: ghost][Channel: #eggtcl][Mode: off][Arguments: off] <1> but in this situation it returned with an error <1> how would i control that <1> just remove it from there right? <0> huh ? <1> im trying to simplify the entire thing <1> its hard to do this seeing so many lines <0> the way u designd it made it complicated already <1> i should have finished it simplified and then expanded on each area systematically. <0> hehe <0> its alot of line <0> s <0> i doubt it'd need to be that long <1> i tend to do that with everything. <1> i prefer to declare what to do in all situations <1> its basically got everything, ill send you it when its finished <0> u can still do it alot more simple than that ;) <1> really <1> tell me ;) <0> u missed a few vars, u use ON and OFF <0> on and off is alot longer if's ;) <0> it seems like u didnt really think about what people might need of commands, that might just be my idea tho :) <1> yeah <1> im making a complete thing, its got all commands. <1> this is merely what ive pasted <1> the real thing is huge over many many files ;) <0> ye, u mentioned that <1> i just have a hard time putting all together <0> file A do X and file B do Y <1> now that i dont understand. <0> well, organizing what diffrent files do <1> :) <1> blade you ever play poker <0> nop <1> tell me something, i was rehashing my config when i noticed, in putlog, it doesnt exactly return my variable. <1> putlog { <1> <================================================> <1> $cypher(release) by ghost activated <1> <================================================> <1> } <1> but normally it will <0> cause u use {} around it <1> oh ok <1> i did that :) <1> still same ;p <1> ${cypher(release)} <0> oh no <0> the putlog uses {} <1> i know id like it over 3 lines though <0> just putlog 3x <0> easiest <1> can i just use a return "${cypher(release)}" <0> eh ? <0> cant see the point in a putlog :) <1> ok nevermind <1> its not important ill just add it in manually ;) <1> want to try playing poker with me? <1> www.pokerstars.com <1> its great fun :)
Return to
#eggtcl or Go to some related
logs:
Blackberry 8750 #vmware #politics where do i get lputil for solaris QUOTES FROM GOOFELLAS #delphi #hardware #flash the cranberrys linger #heroin
|
|