iDB Community Forum

Full Version: IDB-IRC Channel
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4
The nomore.lag.in name finally died (it was fairly unstable) - please use either vancity.ath.cx or smoothieserver.ath.cx - the irc.finalhit.org name is also broken because of this error.

This will make things simpler anyways Toungue

Update: Back down
I made a nice script to choose a random WB message for someone. Tog and Graphite did/are doing the same thing apparently. XD For you WB message fanatics out there:

on *:JOIN:#idb:{
if ($isfile($mircdir $+ / $+ %wbDirName $+ / $+ $nick $+ .txt)) {
msg $chan 2*WB7( $+ $nick $+7)2WB* - $read($mircdir $+ / $+ %wbDirName $+ / $+ $nick $+ .txt)
}
}

Put that in a "remote" script file. (in the "msg $chan..." line, you have to press ctrl+k before the numbers, after "WB7(", and after "WB*") In your "variables" file, add the line
%wbDirName <how to get to the directory where your WB files are from the mIRC directory>
For example, if they are in a subdirectory of the mIRC folder called WBs, then it would be "%wbDirName WBs".

In your WB directory, make a file for each of the people you want to have WB's for. The files should be named nickofpersontobewelcomed.txt . If the person has multiple nicks that they use, make a file for each of the nicks. I think that capitalization doesn't count as a "different" nick on Windows, but on unix-like OS's, I think it will count as "different".

Each file must consist of the WB messages you would like to use for that person, one per line, with nothing else and no blank lines.

This script will pick a random WB message for a person joining #idb if you have a wb message file for that person.


More useful scripts:

on *:NOTICE:*If it is your nickname*:*:/identify <yourpassword>
For people with registered nicks: put that in a "remote" script file and you will automatically identify whenever you need to. Useful if you get disconnected, and better than doing it only when connecting because services occasionally go down and come back.

login {
/msg IRPG LOGIN <irpgname> <irpgpass>
/msg IRPG2 LOGIN <irpg2name> <irpg2pass>
}
logout {
/msg irpg logout
/msg irpg2 logout
}

Put those in an "alias" script file and you can login and logout of irpg and irpg2 by typing /login and /logout
you can slightly alter spaz's code above to allow for different colours in each of the instances of 2*WB7( $+ $nick $+7)2WB* instead of having it messaging the same version of that to the chan then reading the welcome back from the text file, but the WB bit in the file too, but edit your script thus:-

on *:JOIN:#idb:{
if ($isfile($mircdir $+ / $+ %wbDirName $+ / $+ $nick $+ .txt)) {
$read($mircdir $+ / $+ %wbDirName $+ / $+ $nick $+ .txt)
}
}

in the text file you then have the full WB (including the WB bit) this allows for different colours for different WB's, AND for actions on people joining instead of messages

Example of text file:-

/msg $chan 2*WB7( $+ $nick $+7)2WB* <Spaz> They have very very small...confidence
/msg $chan 3*WB1( $+ $nick $+1)3WB* <Spaz> "WB <name>" is so boring though ._.
/msg $chan 4*WB8( $+ $nick $+8)4WB* <Spaz> /ooo, I can do that too Toungue
/describe $chan Welcomes Spaz and pulls him up a chair

That example will have the WB a different colour in each message (put the  before the numbers in each WB and after the last WB)
and also you can then do the /describe line in there that will do the welcome back as an action (same as /me) in the channel. You could set it up to do other things too if you REALLY wanted (leave the channel, change nick, etc) but those 2 would be the main ones you would use.

NOTE:- to get the strange symbol that does colour changing in mirc into a text file do ctrl+k on a chan in irc, then copy/paste it to text file.
Edit: This code sucks. Don't use it. D: You've been warned.
More scripts! Here's one that will write anything involving you in an irpg to the status window, to make it easier to see what happens to you without sorting through everyone else. This goes in a "remote" script file.

on *:TEXT:*<your irpg char name>*:#irpg,#irpg2:{
echo -s $timestamp < $+ $nick $+ > $1-
echo -s -
}

Example:

on *:TEXT:*Spaz*:#irpg,#irpg2:{
echo -s $timestamp < $+ $nick $+ > $1-
echo -s -
}

If your character names are different in irpg 1 and 2, just put it twice, change the names accordingly, and remove the irrelevant channel.
I think we should have a list of the permanent channels in this thread. I'll start it off, channel owners can post their own descriptions if they don't like mine.

#idb - Main channel where almost all chat takes place
#irpg and #irpg2 - Idle RPG games where the goal is basically to just login when you come on and logout when you leave and stay on as long as you can. (#irpg owned by Tog, #irpg2 owned by Mike)
#ms - Discussion of Maple Story (owned by Spaz)
#help - Help channel
#geek - Discussion of geeky things, like coding and geek humor (owned by Spaz)
#music - Channel for people with plugins to automatically say what they're listening to (owned by regelus)
#rs - When theres a few people RS'ing and a lot talking in #idb its where we spam our RS'es and misses to avoid mass spam in main channel, also, timed adverts for trades/malls/shops are allowed in #rs (owned by Tog)


I've been trying a different client recently: KVIrc, a cross-platform, open-source client.

Pros:
  • VERY configurable
  • Its scripting language is slightly more powerful than mIRC's.
  • Its scripting language is a lot easier to use than mIRC's and the documentation is much better than mIRC's
  • Windows, Mac, Linux, Unix - works on all of them
  • Open source
  • No window nagging you after you've used it for 30 days

Cons:
  • Very hard to find what you are looking for in the huge options menu
  • Some important features you may have to implement yourself by using scripts, such as flashing the taskbar when a channel message is received
  • Some GUI issues, like channel windows being way too big by default
  • Some odd default GUI settings
  • Will take some time to get it "mIRC-like" if that's what you want
  • Much smaller selection of pre-made scripts and plugins (not really its fault, but something to consider)

Overall, I wouldn't recommend it for most people. mIRC is much more user-friendly except for when it comes to writing scripts. But I think that I'll switch to it once I get the "flash the taskbar when a channel message is received" issue solved and I port my mIRC scripts (including the Winamp "now listening to ...").
I was looking at that yesterday Spaz after I got up and saw you had been discussing it in channel, looked very nice to me, I might well download it and give it a try for the 2nd me in chat to get used to it and have a mess with it..

Also, add #rs to the channel list in your post Wink when theres a few people RS'ing and a lot talking in #idb its where we spam our RS'es and misses to avoid mass spam in main channel, also, timed adverts for trades/malls/shops are allowed in #rs (im the owner)
I got an awesome idea while in the shower.

Wouldn't it be cool to have a rep-like system for IRC? Only my idea would be for something much less serious than forum rep, and you would be able to rep/derep a person multiple times. "reps" would be smoothies, and "dereps" would be blasts. smoothies and blasts would be given for specific things someone does in IRC, not like in the forums, where you generally rep or derep a person because of who they are.

Example: heidi helps Kage with a faery quest on neo, so Kage types something like "/msg SmoothBot smoothie heidi #idb <insert quote of heidi giving shops> she helped me with a faerie quest"
heidi gets a message from SmoothBot saying "Kage has handed you a smoothie. Reason: <insert quote of heidi giving shops> she helped me with a faerie quest", and SmoothBot says in #smoothies "Kage has handed heidi a smoothie. Reason: ......"

Example2: <sicnarf> Naruto is cool
Then I do "/msg SmoothBot blast sicnarf #idb <sicnarf> Naruto is cool LIEZ!"

Although it wouldn't be serious, it would be structured, with specific guidelines as to what you can and cannot give smoothies/blasts for. For example, you cannot blast someone just because they blasted you. I would monitor it personally, and delete smoothies/blasts with invalid reasons. I'll be a little forgiving with people new to the system, but people who should know better will get modblasted. People who abuse the system may be banned from using it.

SmoothBot would be run by me, and therefore would not be on when I'm not on. To give smoothies/blasts when I'm not on, memoserv could be used.

People would be limited to giving a certain amount of smoothies/blasts per day, per week, or something, I haven't worked out the limit exactly yet. Different people may have different limits. In order to enforce limits and bans, only users registered with chanserv will be able to use SmoothBot. Possibly only user registered with chanserv will be able to be given smoothies and blasts.

To reiterate: SmoothBot would *not* be serious. It *would* have specific guidelines as to what you can give smoothies/blasts for. It would be just for fun. Abusers would be punished. Smoothies/blasts would be given for specific things said or done on IRC, not for who someone is or as revenge. No drama. Not serious business. You could certainly blast someone for insulting your favorite browser/operating system/text editor/programming language/tv show/etc. And like-minded people could give a smoothie to the insulter. I would monitor all smoothies and blasts to make sure all reasons are valid.


What do you guys think? People I explained it to in chat seemed to like the idea. This is so those of you who weren't there can see it. As long as there is sufficient interest, I plan on doing this. This idea was inspired by Graphite and azulblast. I plan on doing this as an IRC script, with the data stored in a mySQL database on my computer.
So this is what you guys were talking about Toungue

Sounds like a great idea, Spaz.
It sounds like a sound idea, Spaz.
#smoothies is already registered, hehe .-.

But yeah, sounds quite interesting Happy
Pages: 1 2 3 4
Reference URL's