| |
| |
| |
|
Page: 1 2
<MiX-MaN> new question ;) .. how would i make a list nice and pretty when it displays to the channel... (line up the names) ie: <MiX-MaN> <CoffeePot> 1) tripwire: 2 mix-man_: 1 tripwire: 1 tripwire: 1 <MiX-MaN> <CoffeePot> 2) mix-man_: 1 mix-man: 0 mix-man: 0 mix-man: 1 <MiX-MaN> theres the goods <iad> ;format <iad> format <iad> format? <Sarius> hi guys <Sarius> i've a triviabot and i want to let my users /msg my bot to add their own questions <Sarius> but this part of the script doesnt seem to be working <Sarius> http://paste.anbcs.com/3522 <Sarius> the error is that my bot keeps noticing -Primer- Usage: /msg Primer add QUESTION*ANSWER1*ANSWER2*ANSWER3 <Sarius> and refuse to accept the submission <iad> regsub -nocase -all \[{}] $args "" args <iad> wtf <iad> this guy doesn't understand the concept of a list <iad> but the 3rd party rule from the other chan applies - ask the author :] <Sarius> it's something I tried to write myself actually <Sarius> it's not included in the original script <iad> ok <iad> what's the binding? <Sarius> bind msg - add KAOS_Submission <iad> then you don't need 'args' <iad> the text is just one 'arg' <Sarius> ah.. ok! tks! <Sarius> brb <McGuyver> looks like the braces aren't evenly matched <iad> the indentation is pretty novel anyway <McGuyver> that part is weird to me <Sarius> yes it works! <Sarius> thanks everyone! <Sarius> the damn braces! <Sarius> lol <McGuyver> thought might have been causeing you problems <Sarius> hehe <Sarius> my indentation sux :p <iad> uh, the braces did match <McGuyver> i saw that after i worked on a local paste <McGuyver> but he had if statements that didn't get ran because they were between braces <McGuyver> atleast that's what i saw <iad> owel, thank god that's over :P <McGuyver> lol
Return to eggtcl or Go to some related
logs:
|
|