@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7



Comments:

<0> for u to check
<1> waiting get
<0> ok
<0> sat u here
<2> just post the link
<0> http://www.nomorepasting.com/paste.php?pasteID=63252
<0> i just need u guys to help
<0> me
<0> i left it blank what i need help with
<0> the commands
<0> the rest seems to be working fine
<0> just need to get the commands functioning
<0> .roster
<0> etc..
<3> here's the problem with your .roster there...
<0> also i wanna be able to do .set roster [whatever]



<3> it's not as you posted
<3> the * belongs before the :
<0> for
<0> all the commands?
<3> on *:TEXT:.roster:*%clanchan:{ if } } => on *:TEXT:.roster*:%clanchan:{ if } }
<3> pretty much yeah
<0> so
<0> on *:TEXT:.roster*:%clanchan:{ if } }
<3> * is a wildcard
<0> k
<0> now i just need help with the if statement
<3> yeah but i would also add a space between the : and { ... i'm not sure if it matters.
<3> i think mIRC does that automatically when using the {} button though, so i imagine it's good practice
<3> you had the if statement fine above
<3> why'd you scrap it?
<0> it wasnt working
<1> #dance
<3> on *:TEXT:.roster*:%clanchan: { if ($nick isop #) { set %roster $2- } }
<3> that works
<3> on *:TEXT:.roster:*%clanchan: { if ($nick isop #) { set %roster $2- } }
<3> that doesn't.
<3> :) scripting typos are a pain.
<0> ok
<0> so with that 1 line
<0> both .roster
<0> and .setroster
<0> will function
<0> ?
<3> no...
<3> you need another event for .setroster
<0> okie
<0> so im gonna have 2 events for each command
<0> like 2 for roster
<0> 2 for website
<0> etc.
<3> ... not really.
<3> if that's how you like to think about it, sure.
<3> each event performs on one command. "setroster" is a different command from "roster"
<0> ok
<0> so ill have on *:TEXT:.roster*:%clanchan: { if ($nick isop #) { set %roster $2- } }
<3> they have differnt purposes; roster is requesting information, setroster is setting that information.
<0> what would the line look like
<0> then for set roster
<3> ooh
<3> sorry i wasn't paying attention to your intention
<0> :)
<3> no if you want .roster to message out, you'll want...
<3> on *:TEXT:.roster*:%clanchan: { msg $chan Roster: %roster }
<3> on *:TEXT:.etroster*:%clanchan: { if ($nick isop #) { set %roster $2- } }
<3> erm, setroster*
<0> k
<0> lemme try this
<0> beautiful
<0> so only the @
<0> can set
<0> commands
<0> right
<0> like change roster
<4> more words per line please
<0> sorry
<3> heh.. fun



<3> i ought to make a script one day to average someone's words per line, and when they hit a threshold min, do some action.
<3> Enc0re: with the ($nick ISOP #), yes.
<3> only ops can set the %roster variable.
<3> bear in mind that uhm... the "msg $chan Roster: %roster" above is really flawed since it can be flooded off...
<3> it might be smarter to do something like ".timerMsgRoster 1 2 msg $chan Roster: %roster" to prevent excess flooding.
<3> but if you're not worried about such, then i suppose there is no need
<0> okie dojo now thats just showing plain text what if i wanna set to like Roster 1nubstick slappy oats turtle random templar : .name for bio
<3> ...
<3> that's a lot more work
<3> well, maybe not... i was going to say you'd have to loop
<3> but you could probably use $replace
<3> /help $replace
<3> you'll want to do something like...
<0> hmm
<3> on *:TEXT:.roster*:%clanchan: { msg $chan Roster: Roster $+ $replace(%roster,$chr(32), ) }
<3> you can control+copy that to hold the color codes
<0> the set line would stay the same
<0> ?
<3> oh you can ad ".name for bio" too at the end of course.
<3> yeah you probably don't want all that junk in your set line
<3> because when people set it, you don't want them to have to type: .setroster nubstick slappy turtle etc
<3> that gets annoying. you'd want them to type .setroster nubstick slappy turtle etc
<0> exactly
<0> k
<0> its showing up like this
<0> Roster: Roster GourMLoSkYlInE
<0> how can i elminate the plain Roster: so it just shows Roster GourMLoSkYlInE
<3> ... delete "Roster:"
<3> :)
<3> it's all plain text bud.. that's the beauty of mIRC's language
<3> if it doesn't start with a $ or %... it'll probably be displayed right (unless of course it's some funky non-standard ASCII)
<0> Jinx how can can i make the whole background black like the beginning roster part
<3> 164 displays properly as far as i've seen... although it turns into an n with a tilde in some fonts.
<5> oooooooo man kill the color
<3> ^K0,1
<3> yeah sorry Modoc... i knew we'd get yelled at for that :)
<5> np
<0> Dojo where do i put that in the roster line
<3> prior to whatever you want to have a "foreground color of 0 (white) and background color of 1 (black)"
<3> which i ***ume is the word "Roster"
<3> but could also include those symbols you have all around
<6> heh
<7> hello?
<8> Ganse: hi, is there something we can help you with?
<7> i don`t now..maybe! ;P
<9> Hi
<8> hi
<0> anyone here
<10> nope
<0> k im working on a clanbot i want it to display like this when someone does .roster Roster 1SkYlInE Gour MLo `wondi deL : .name for bio
<0> right now i have
<0> on *:TEXT:.roster*:%clanchan: { msg $chan Roster: Roster $+
<0> $replace(%roster,$chr(32), ) }
<6> why not just...
<6> on *:TEXT:.roster*:%clanchan: { msg $chan Roster
<6> not very difficult
<6> just delete Roster:
<3> jeez... i forget to delete one piece of information and the guy can't seem to get rid of it.
<6> it was the first thing i noticed when he first asked the quesiton
<6> but you already said the answer
<3> Enc0re: you have the basics. i already gave you a working script that displays properly.
<6> Enc0re: if you don't delete "Roster: " from the script your script will never function properly
<3> the color codes are up to you. i told you /help control codes if you want to use them. This channel is for help with scripting--which I don't think includes color codes.
<6> because people who are not using color codes will still see "Roster:" even if the background of it is black
<3> ... are you kidding me? sure the script will function properly... it'll just display what it's told to.
<6> that is what i mean
<6> his original question was how to get rid of Roster:
<0> nono
<0> i got that
<6> you deleted it?
<0> yes
<0> im questioniing the colours background
<6> or you just using the black background?
<0>


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #mirc
or
Go to some related logs:

#politics
#beginner
armada 4150 xf86config
#politics
#visualbasic
#politics
#slackware
#beginner
flybed trampolines
ARP-defense pix



Home  |  disclaimer  |  contact  |  submit quotes