Jump to content

Makaze's Script Shop [REQUESTS OPEN]


Makaze
 Share

Recommended Posts

  • Replies 284
  • Created
  • Last Reply

Top Posters In This Topic

Code Request

Description: Has Blue Skies as the theme for IP.Chat and the default for forums.

Features: Above, and allows you to change which theme for which section.

Style: N/A

Didn't realize there was a form.

Just in case you didn't see the post on chat

Clicking on the plaintext bbcode link takes me to hide gender.

Edited by BlueWyvern4
Link to comment
Share on other sites

JavaScript: IP.Chat-Specific Theme 1.1.3

// requested by BlueWyvern4

Adds the ability to use a specific theme for IP.Chat separate from the forum theme. The theme can be changed while in IP.Chat via a separate menu next to the default theme changer.

Images:

7ni3F.png

How to Install


Code Request

Description: Has Blue Skies as the theme for IP.Chat and the default for forums.

Features: Above, and allows you to change which theme for which section.

Style: N/A

Didn't realize there was a form.

Just in case you didn't see the post on chat

Clicking on the plaintext bbcode link takes me to hide gender.

Is it what you wanted?

Fixed the link. Nice catch.

Edited by Makaze
Link to comment
Share on other sites

Ah yes. This works even better than I hoped. Thanks!

EDIT: By any chance, could you fix the logo?

bwVRIqg.png

2fXHBNa.png

(Switching from one theme to another on the same IP>Chat window transferred the old logo over. The second one is there for comparison.)

Edited by BlueWyvern4
Link to comment
Share on other sites

Added banner changing.

Individual banners must to be manually changed or added when themes are edited.

Edited by Makaze
Link to comment
Share on other sites

The View Log is so awesome!

Would it be possible to add a feature that allows us to manually delete logs that we don't want? The reason being that some of us may prefer to delete useless logs instead of saving useful ones, the latter of which is what we would have to do if the oldest logs get deleted automatically once the size gets too big.

Link to comment
Share on other sites

For the logs, linebreaks are not recorded correctly.

When I enter (copy and paste from the log to chat)

[12:08:33] Euklyd: this is[12:08:34] Euklyd: a test[12:08:38] Euklyd: of things to quote

it appears as

[12:08:52] Euklyd: [12:08:33] Euklyd: this is[12:08:34] Euklyd: a test[12:08:38] Euklyd: of things to quote

in the log.

Not exactly a huge problem, but it'd be maybe useful to fix.

Also seconding Proto wrt manual deletion of selected logs.

Link to comment
Share on other sites

The View Log is so awesome!

Would it be possible to add a feature that allows us to manually delete logs that we don't want? The reason being that some of us may prefer to delete useless logs instead of saving useful ones, the latter of which is what we would have to do if the oldest logs get deleted automatically once the size gets too big.

Can do. I'll get back to you.

For the logs, linebreaks are not recorded correctly.

When I enter (copy and paste from the log to chat)

[12:08:33] Euklyd: this is

[12:08:34] Euklyd: a test

[12:08:38] Euklyd: of things to quote

it appears as

[12:08:52] Euklyd: [12:08:33] Euklyd: this is[12:08:34] Euklyd: a test[12:08:38] Euklyd: of things to quote

in the log.

Not exactly a huge problem, but it'd be maybe useful to fix.

Also seconding Proto wrt manual deletion of selected logs.

Will be fixed momentarily.

Fixed! Messages should log as intended, with styling and all.

Edited by Makaze
Link to comment
Share on other sites

The View Log is so awesome!

Would it be possible to add a feature that allows us to manually delete logs that we don't want? The reason being that some of us may prefer to delete useless logs instead of saving useful ones, the latter of which is what we would have to do if the oldest logs get deleted automatically once the size gets too big.

Finished! Individual logs can be deleted using the button to the right of their headers:

7qUyQ.png

Link to the original post.

Edited by Makaze
Link to comment
Share on other sites

In other news I'm having problems with processors pegging and then Chrome crashing.

This started before the most recent update.

Processors certainly peg when I enter the room, and if I'm not careful Chrome crashes, and then occasionally when I'm in the room the same thing happens. It may be linked to people exiting the room.

I have not yet updated to the latest version; I'll leave a note if the problem goes away.

Link to comment
Share on other sites

It may not be a problem I can fix. The IP.Chat application is JavaScript-heavy as is. My logging script ensures that even more code gets run every time a message is posted. The combination of this script and the history extension script may cause issues due to heavy RAM usage over time.

Link to comment
Share on other sites

That's what I was worried about. Oh well.

Worst comes to worst I can use IP.Chat in Firefox and use Chrome to do everything else.

Link to comment
Share on other sites

Code Request

Description: Notify you when the chat when your name/a word is mentioned

Features: Have it on the tab. You can customize what words notify you. Hopefully. :P

Style: Example of tab: (word that was mentioned ex: NOD) (number of posts ex: 7 (optional, you can remove it if it takes too much space)) Chat - Serenes foblahablah

Edited by NutOfDeath
Link to comment
Share on other sites

If I can add on to that, it'd also be interesting to be able to highlight words on a list that you make as well.

Like, make them a brighter color and/or bold them.

This is something that my IRC client of choice does and it's pretty useful.

Link to comment
Share on other sites

Bumping this because I have a bug report and I dunno if Makaze has seen my previous post yet.

For the Plain Text editing, it doesn't work when I am editing an existent post.

Link to comment
Share on other sites

Are you using the latest version? Try to replicate the problem after updating and tell me if it keeps happening. After Userscripts comes back online, that is.

The script requests and updates will be posted as soon as Userscripts is back online. Apologies for making you wait.

Link to comment
Share on other sites

Site is back up. Requests complete!

Various scripts have been updated, including: IP.Chat Logs, IP.Chat-Specific Theme and Post Auto-Saving + Management

Please update them or they might short each other out.

@Euklyd: Now is a good time to update.

Edited by Makaze
Link to comment
Share on other sites

JavaScript: IP.Chat Pings + Highlights 2.4.1

// requested by NutOfDeath, Euklyd and Proto

**Notice: Certain characters need to be escaped or they will break pings. See below.**

Adds IRC-style pings to IP.Chat, complete with audible bell.

Full features:

  • Adds a notice to the page title when selected words are mentioned.
  • Plays an audible bell when selected words are mentioned.
  • Highlights the message with a style of your choosing when selected words are mentioned.
  • Pings when specific users join the chat (using User ID #).
  • Ping is set to your username by default.
  • Settings can be changed using the. Ping Settings .button to the bottom right of the IP.Chat window.
Escapes:

The following characters have functions and must be escaped to work normally: . . $ ^ { } [ ] ( ) | * + ? \ / .

Escape special characters by prepending a backslash ( \ ).

Example: To escape Makaze? as a ping, use . Makaze\? .

Learn about Regular Expressions for more info.

Options:

Name:. ipc_pings_script_delay .

Type:. Number .

Description: Keeps the script from starting for Number milliseconds.

Default:. 0 .

Name:. ipc_pings_in_title .

Type:. Boolean .

Description: Change page title when pinged.

Default:. true .

Name:. ipc_audible_ping .

Type:. Boolean .

Description: Play a sound when pinged.

Default:. true .

Name:. ipc_audible_ping_on_focus .

Type:. Boolean .

Description: Play audible ping when the chat window has focus.

Default:. false .

Name:. ipc_audible_ping_file .

Type:. String .

Description: Sound file to play when audibly pinged.

Default:. https://dl.dropboxusercontent.com/u/45569424/Saved_FE7.mp3 .

Name:. ipc_highlight_pings .

Type:. Boolean .

Description: Highlight pinged words in the chat.

Default:. true .

Name:. ipc_ping_style .

Type:. String .

Description: CSS for highlighted messages.

Default:

font-weight: bolder;
font-size: 120%; 
color: #f24;
text-shadow: 0px 1px #222;

Name:. ipc_pings .

Type:. Object .

Description: List of pings. Can only be set from script menu.

Default:. empty .

Name:. ipc_user_pings .

Type:. Object .

Description: List of users to ping on join. Can only be set from script menu.

Default:. empty .

Images:

7uB7Q.png

How to Install

Edited by Makaze
Link to comment
Share on other sites

CSS: Fixed Size Smilies (for IP.Chat)

Forces smilies to keep their actual size even before they load. Helps fix IP.Chat breaks when smilies are used in messages.

The code:

/* Normal Smilies */

img[src*="XD.gif"],
img[src*="cry.gif"],
img[src*="sob.gif"],
img[src*="emo13.gif"],
img[src*="emo12.gif"],
img[src*="emo14.gif"],
img[src*="emo11.gif"],
img[src*="emo10.gif"],
img[src*="ebilsmirk.gif"],
img[src*="drool.gif"],
img[src*="sweatdrop.gif"],
img[src*="wtf.gif"],
img[src*="gee_wiz_emoticon.gif"],
img[src*="colon-e.gif"],
img[src*="colon3.gif"],
img[src*="noes.gif"],
img[src*="cool.png"],
img[src*="laugh.png"],
img[src*="biggrin.png"],
img[src*="tongue.png"],
img[src*="wink.png"],
img[src*="ohmy.png"],
img[src*="happy.png"],
img[src*="huh.png"],
img[src*="rolleyes.gif"],
img[src*="sleep.png"],
img[src*="dry.png"],
img[src*="ph34r.png"],
img[src*="blink.png"],
img[src*="wacko.png"],
img[src*="unsure.png"],
img[src*="sad.png"],
img[src*="angry.png"],
img[src*="default/smile.png"],
img[src*="mellow.png"],
img[src*="spengbab.gif"] {
width: 20px;
height: 20px;
}

img[src*="wub.png"] {
width: 20px;
height: 29px;
}

img[src*="smug.gif"] {
width: 26px;
height: 25px;
}

img[src*="Facepalm_emote_gif.gif"] {
width: 22px;
height: 18px;
}

img[src*="Cthulu_Emote.gif"] {
width: 22px;
height: 31px;
}

/* Flags */

img[src*="Argentina.gif"],
img[src*="Australia.gif"],
img[src*="Belgium.gif"],
img[src*="Brazil.gif"],
img[src*="Canada.gif"],
img[src*="China.gif"],
img[src*="Cuba.gif"],
img[src*="DominicanRepublic.gif"],
img[src*="England.gif"],
img[src*="France.gif"],
img[src*="Germany.gif"],
img[src*="GreatBritain.gif"],
img[src*="Greece.gif"],
img[src*="Greenland.gif"],
img[src*="HongKong.gif"],
img[src*="Iceland.gif"],
img[src*="India.gif"],
img[src*="Ireland.gif"],
img[src*="Italy.gif"],
img[src*="Jamaica.gif"],
img[src*="Japan.gif"],
img[src*="Libya.gif"],
img[src*="Mexico.gif"],
img[src*="Netherlands.gif"],
img[src*="NewZealand.gif"],
img[src*="Phillippines.gif"],
img[src*="Poland.gif"],
img[src*="PuertoRico.gif"],
img[src*="Scotland.gif"],
img[src*="SouthKorea.gif"],
img[src*="Sweden.gif"],
img[src*="Taiwan.gif"],
img[src*="Texas.gif"],
img[src*="UnitedStates.gif"],
img[src*="Vietnam.gif"],
img[src*="Wales.gif"] {
width: 28px;
height: 21px;
}

img[src*="Switzerland.gif"] {
width: 21px;
height: 21px;
}

/* Fire Emblem Characters */

img[src*="Amelia.gif"] {
width: 28px;
height: 30px;
}

img[src*="Arione.gif"] {
width: 28px;
height: 40px;
}

img[src*="Artur.gif"] {
width: 30px;
height: 28px;
}

img[src*="Athos.gif"] {
width: 36px;
height: 34px;
}

img[src*="Arvis.gif"] {
width: 33px;
height: 34px;
}

img[src*="Beowulf.gif"] {
width: 27px;
height: 26px;
}

img[src*="Carlyle.gif"] {
width: 32px;
height: 26px;
}

img[src*="Colm.gif"] {
width: 33px;
height: 30px;
}

img[src*="Cord.gif"] {
width: 27px;
height: 28px;
}

img[src*="Cyas.gif"],
img[src*="Loise.gif"] {
width: 27px;
height: 34px;
}

img[src*="Diadora.gif"],
img[src*="Trabant.gif"] {
width: 32px;
height: 41px;
}

img[src*="Dieck.gif"] {
width: 26px;
height: 25px;
}

img[src*="Delmud.gif"] {
width: 27px;
height: 27px;
}

img[src*="Eirika.gif"],
img[src*="Lyn.gif"],
img[src*="Lyon.gif"],
img[src*="LyonEvil.gif"] {
width: 35px;
height: 35px;
}

img[src*="Ewan.gif"] {
width: 31px;
height:30px;
}

img[src*="Fa.gif"],
img[src*="Dozla.gif"] {
width: 31px;
height: 27px;
}

img[src*="Farina.gif"],
img[src*="Fergus.gif"] {
width: 30px;
height: 29px;
}

img[src*="Fee.gif"] {
width: 29px;
height: 29px;
}

img[src*="Fiora.gif"] {
width: 30px;
height: 35px;
}

img[src*="Fir.gif"] {
width: 32px;
height: 29px;
}

img[src*="Florina.gif"],
img[src*="Natasha.gif"],
img[src*="Syrene.gif"],
img[src*="Yuno.gif"] {
width: 34px;
height: 34px;
}

img[src*="Fury.gif"] {
width: 31px;
height: 42px;
}

img[src*="Gerik.gif"] {
width: 26px;
height: 27px;
}

img[src*="Gilliam.gif"],
img[src*="Sain.gif"] {
width: 28px;
height: 26px;
}

img[src*="Gonzales.gif"],
img[src*="Hector.gif"] {
width: 29px;
height: 26px;
}

img[src*="Haar.gif"],
img[src*="Wrys.gif"] {
width: 25px;
height: 23px;
}

img[src*="Hugh.gif"],
img[src*="Lugh2.gif"] {
width: 28px;
height: 35px;
}

img[src*="hat.gif"] {
width: 23px;
height: 27px;
}

img[src*="Idoun.gif"],
img[src*="Jaffar.gif"],
img[src*="Knoll.gif"] {
width: 32px;
height: 34px;
}

img[src*="Ilyana.gif"] {
width: 37px;
height: 37px;
}

img[src*="Innes.gif"] {
width: 28px;
height: 28px;
}

img[src*="Joshua.gif"] {
width: 33px;
height: 37px;
}

img[src*="Kappa.gif"] {
width: 21px;
height: 27px;
}

img[src*="Kent.gif"] {
width: 31px;
height: 26px;
}

img[src*="KnollRoll.gif"] {
width: 40px;
height: 40px;
}

img[src*="Lugh.gif"],
img[src*="Rei.gif"],
img[src*="Yahn.gif"] {
width: 28px;
height: 27px;
}

img[src*="Laylea.gif"] {
width: 32px;
height: 42px;
}

img[src*="Lilina.gif"] {
width: 35px;
height: 37px;
}

img[src*="Linoan.gif"] {
width: 32px;
height: 40px;
}

img[src*="Lute.gif"] {
width: 33px;
height: 33px;
}

img[src*="MarcusOld.gif"] {
width: 22px;
height: 25px;
}

img[src*="MarcusYoung.gif"] {
width: 22px;
height: 26px;
}

img[src*="Marisa.gif"] {
width: 38px;
height: 35px;
}

img[src*="MerlinusYoungSmile.gif"] {
width: 28px;
height: 23px;
}

img[src*="Murdock.gif"],
img[src*="Tirado.gif"] {
width: 25px;
height: 22px;
}

img[src*="Myrrh.gif"] {
width: 34px;
height: 33px;
}

img[src*="Neimi.gif"] {
width: 34px;
height: 27px;
}

img[src*="Nergal.gif"] {
width: 26px;
height: 23px;
}

img[src*="Nils.gif"],
img[src*="Roy.gif"] {
width: 29px;
height: 28px;
}

img[src*="Ninian.gif"] {
width: 35px;
height: 33px;
}

img[src*="Nino.gif"] {
width: 32px;
height: 27px;
}

img[src*="Orson.gif"] {
width: 28px;
height: 25px;
}

img[src*="Pent.gif"] {
width: 27px;
height: 36px;
}

img[src*="Santhos.gif"] {
width: 40px;
height: 41px;
}

img[src*="Sara.gif"] {
width: 29px;
height: 38px;
}

img[src*="Sety.gif"] {
width: 28px;
height: 29px;
}

img[src*="Soldier.gif"] {
width: 25px;
height: 29px;
}

img[src*="Sue.gif"] {
width: 26px;
height: 33px;
}

img[src*="Tate.gif"] {
width: 29px;
height: 30px;
}

img[src*="Tinny.gif"] {
width: 32px;
height: 43px;
}

img[src*="Ursula.gif"] {
width: 30px;
height: 31px;
}

img[src*="Valter.gif"] {
width: 35px;
height: 31px;
}

img[src*="Zagaro.gif"] {
width: 30px;
height: 25px;
}

img[src*="Tangerineemote4.gif"] {
width: 22px;
height: 22px;
}

/* Tangerine Smilies */

img[src*="Tangerineemote5.gif"],
img[src*="default/t.gif"],
img[src*="Tangerineemote10.gif"] {
width: 17px;
height: 17px;
}

img[src*="TangerineemoteNO.gif"] {
width: 63px;
height: 54px;
}

img[src*="Tangerineemote12.gif"] {
width: 41px;
height: 29px;
}

img[src*="Tangerineemote9.gif"] {
width: 23px;
height: 17px;
}

/* Miscellaneous Smilies */

img[src*="har.gif"] {
width: 20px;
height: 21px;
}

img[src*="itsame.gif"] {
width: 22px;
height: 24px;
}

img[src*="kefka.gif"] {
width: 22px;
height: 25px;
}

img[src*="NewYearsEmoticon.gif"] {
width: 39px;
height: 35px;
}

img[src*="pirate.gif"] {
width: 21px;
height: 23px;
}

How to Install

Edited by Makaze
Link to comment
Share on other sites

**Warning: Lag will grow as logs build up. If you are experiencing lag, copy your logs into a text file and delete them from the log viewing page. I experienced lag at 20% capacity. Your mileage may vary.**

Hmmm, can we have a DELETE ALL button then? It should be much more convenient than manually deleting every section of the logs one by one.

Pings or notifies you when important words are said in the chat. Automatically changes the tab title to include "(P: <Pinged Word)". Highlights the messages in the chat with a style of your choosing.

Any way to get an audio ping? Edited by Railgun
Link to comment
Share on other sites

How can I clear my logs? I've tried localStorage.removeItem('IPChatLogs'); (like you told me ot use last time) but it's not working.

EDIT: ninja'd by Proto. I was about to say that a DELETE ALL button would be nice as well.

Edited by Euklyd
Link to comment
Share on other sites

Hmmm, can we have a DELETE ALL button then? It should be much more convenient than manually deleting every section of the logs one by one.

Any way to get an audio ping?

Added and updated. Thanks for the suggestion.

Do you have a sound in mind?

How can I clear my logs? I've tried localStorage.removeItem('IPChatLogs'); (like you told me ot use last time) but it's not working.

EDIT: ninja'd by Proto. I was about to say that a DELETE ALL button would be nice as well.

See the newest update. You got it mostly right (to delete from the console). The name of the file is 'IPChatLog' without the s.

I may update it to IPChatLogs in a newer version, but everyone will have to delete their old logs or run a one-time update code to move them over so I've been putting it off.

Edited by Makaze
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...