Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Testing gogodr's script

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam
View previous topic :: View next topic  
Author Message
Noodlez
<3
Reputation: 1

Joined: 27 Oct 2007
Posts: 744
Location: Hyrule

PostPosted: Wed Jun 16, 2010 10:26 pm    Post subject: Testing gogodr's script Reply with quote

Wark?
Back to top
View user's profile Send private message Send e-mail
Lyfa
The Lonely Man
Reputation: 12

Joined: 02 Nov 2008
Posts: 743

PostPosted: Wed Jun 16, 2010 10:26 pm    Post subject: Reply with quote

PM me the script
_________________
Back to top
View user's profile Send private message
gogodr
I post too much
Reputation: 125

Joined: 19 Dec 2006
Posts: 2041

PostPosted: Wed Jun 16, 2010 10:30 pm    Post subject: Reply with quote

its a public script
Back to top
View user's profile Send private message MSN Messenger
Lyfa
The Lonely Man
Reputation: 12

Joined: 02 Nov 2008
Posts: 743

PostPosted: Wed Jun 16, 2010 10:31 pm    Post subject: Reply with quote

Too lazy to search
_________________
Back to top
View user's profile Send private message
shitposter
Newbie cheater
Reputation: 5

Joined: 12 Nov 2008
Posts: 13

PostPosted: Wed Jun 16, 2010 10:32 pm    Post subject: Reply with quote

Code:
// ==UserScript==
// @name           adding text styling test
// @namespace      http://forum.cheatengine.org/*
// @include        *forum.cheatengine.org/*
// ==/UserScript==
var postButton = document.forms.namedItem("post").elements.namedItem("post");


function styling(){
var newmsg = "";
var oldmsg = "";
var postMessage = document.forms.namedItem("post").elements.namedItem("message");
var newmsgpos = 0;

 if (postMessage.value.lastIndexOf("[/quote]") == -1){
   newmsg = postMessage.value;
   oldmsg = "";
   }
 else if (postMessage.value.lastIndexOf("[/quote]") != -1){
   newmsgpos = postMessage.value.lastIndexOf("[/quote][color=darkred][size=12] ");
   newmsg = postMessage.value.substring(newmsgpos + 8);
   oldmsg = postMessage.value.substring(0,newmsgpos + 8);
   }

   
// Change this to change the color and size.
   postMessage.value = oldmsg + "[color=darkred][size=12] " + newmsg + " [/size][/color]";
 
}

postButton.addEventListener("click", styling, true);
Back to top
View user's profile Send private message
Lyfa
The Lonely Man
Reputation: 12

Joined: 02 Nov 2008
Posts: 743

PostPosted: Wed Jun 16, 2010 10:35 pm    Post subject: Reply with quote

[quote= [b][size=10] "F3ar"]Too lazy to search[/quote]test


Doesn't work
[/size][/b]

_________________
Back to top
View user's profile Send private message
gogodr
I post too much
Reputation: 125

Joined: 19 Dec 2006
Posts: 2041

PostPosted: Wed Jun 16, 2010 10:44 pm    Post subject: Reply with quote

http://forum.cheatengine.org/viewtopic.php?t=507903
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Random spam All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites