IPB

Welcome Guest ( Log In | Register )

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

5 Pages V  1 2 3 > »   
Reply to this topicStart new topic
> Mother of all greet plugins for 2.7, New PimpList development/discuss
The-Black-Ninja
post Feb 19 2009, 06:00 PM
Post #1


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



As we all know, 2.7 is comming out soon with all it's new clan commands and objects for getting information from a user without having to do some nasty coding. What better way to kickstart it's release than to give the PimpList a much needed upgrade! We're talking a whole crap load of variables to greet users it won't even be funny, this plugin will go from displaying the system time to displaying how many wins a user has for a paticular race. Sound good? Of course it does! biggrin.gif The greets can be separated by clan, non clan, if they're in the CRS, if they aren't in the CRS, etc. Also, there will be different greets depending on what product they are on. For example: if a WC3 user joins the channel, they won't be greeted with a Diablo greeting. What I need from you guys is how you want to submit the greets. What's easiest for you? The more you tell me, the more ridiculously simple this plugin will be for you guys!

Here are some variables I have so far:
QUOTE
'// [ Greet Settings ]

'// - Greet Variables for the user:
'// %uj = The amount of times the user has joined the channel.
'// %un = The user's bnet name in lowercase, without the domain.
'// %UN = The user's bnet name, without the domain. Case sensitive
'// %udo = The user's domain only. Lowercase
'// %UDO = The user's domain only. Case sensitive
'// %ulvl = The user's level (returns 0 for non-wc3 people or non-level wc3 people)
'// %upr = The user's product
'// %uct = The user's clan tag in lowercase. Users not in a clan will return "N/A".
'// %UCT = The user's clan tag. Users not in a clan will return "N/A". Case sensitive!
'// %0 = The user's bnet name.
'// %urn = The user's real name.
'// %p = The user's ping.
'// %a = The user's database access.
'// %f = The user's database flags.
'// %wins = The user's wins. Starcraft/Diablo only.
'// %lrank = The user's Ladder Rank.
'// %icon = The user's icon. Warcraft3 ROC/TFT only.
'// %bestrace = The user's Best Race. Warcraft3 ROC/TFT only.

'// - Greet misc variables:
'// %c = The channel name.
'// %1 = The bot's current name.
'// %dtr = The channel's total traffic count. Resets with .resettraffic
'// %t = The current system time.
'// %d = The current system date.


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Masterchief
post Feb 19 2009, 06:02 PM
Post #2


Get Pwned By me!
***

Group: Members
Posts: 420
Joined: 20-May 08
From: Some where in the USA
Member No.: 37,171



wow very cool! Cant wait its been way to long for 2.7


--------------------
IPB Image
IPB Image

IPB Image
Need help with Hdx Warden Proxy? Do it the easy way: Click here
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 19 2009, 06:05 PM
Post #3


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



QUOTE(Master Chief @ Feb 19 2009, 07:02 PM) *
wow very cool! Cant wait its been way to long for 2.7
Exactly, that's why I kind of want to make the wait totally worth it so everyone can go "omg i can greet people in so many ways now!", depending how slow or fast the process goes.


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
FiftyToo
post Feb 20 2009, 02:22 AM
Post #4


Posting God
*****

Group: Sr. Members
Posts: 1,552
Joined: 28-September 06
From: Ohio
Member No.: 9,153



Would be nice to have a variable for the last time a user has been seen.

In addition, it would be awesome if you could use a format string for all of the variables that return a datetime. This would also allow you to merge %t and %d together.

CODE

'// the :(tm) will represent the total number of minutes
myGreet = "You last joined the channel %lastseen:(tm) minutes ago."



You could probably use a TimeSpan class that would help with the format string logic. This class would be initialized with 2 dates, and would then have properties like Days, Hours, Minutes, Seconds, TotalDays, TotalHours, TotalMinutes, TotalSeconds. These properties could be calculated right inside the Property Get methods using DateDiff and the 2 dates used to initialize the object.

This will just be a helper class that will help separate your code into logical chunks. This could probably be placed directly in the plugins system or some other sort of dependency. When you are parsing the greet variables that deal with datetime's, you could use this object to help simplify the logic and to maximize code reusability.

CODE
'// Example code consuming the object
Set tsLifespan = New TimeSpan
Call tsLifespan.Initialize("04/22/1982 12:30:42", Now())

MsgBox "TotalMinutes: " & tsLifespan.TotalMinutes & vbNewline &_
       "TotalSeconds: " & tsLifespan.TotalSeconds & vbNewline &_
       "Minutes: " & tsLifespan.Minutes & vbNewline &_
       "Seconds: " & tsLifespan.Seconds

'// Class definition (incomplete)
Class TimeSpan

    Private g_startTime, g_endTime, g_initialized

    '// Constructor
    Public Sub Class_Initialize()
        g_initialized = False
    End Sub

    '// Initialize our datetimes
    Public Sub Initialize(startTime, endTime)
        g_startTime = startTime
        g_endTime = endTime
        g_initialized = True
    End Sub

    '// Single place to control what happens when a someone tries to access a property
    '// when the object has not been initialized.
    Private Function uninitializedError()
        Err.Raise 1, "TimeSpan", "Timespan object has not be initializied."
    End Function

    
'YYYY     Year
'Q     Quarter
'M     Month
'Y     Day Of Year
'D     Day
'W     WeekDay
'WW Week Of Year
'H     Hour
'N     Minute
'S     Second

    '// Properties for the various DateDiff calls.
    
    Public Property Get Seconds
        '// make sure our object has been initialized
        If Not g_initialized Then
            Call uninitializedError()
            Exit Property
        End If

        '// DateDiff to get the property value
        Seconds = DateDiff("S", g_startTime, g_EndTime) Mod 60

    End Property
    
    Public Property Get TotalSeconds
        '// make sure our object has been initialized
        If Not g_initialized Then
            Call uninitializedError()
            Exit Property
        End If

        '// DateDiff to get the property value
        TotalSeconds = DateDiff("S", g_startTime, g_EndTime)

    End Property
    
    Public Property Get Minutes
        '// make sure our object has been initialized
        If Not g_initialized Then
            Call uninitializedError()
            Exit Property
        End If

        '// DateDiff to get the property value
        Minutes = DateDiff("N", g_startTime, g_EndTime) Mod 60

    End Property
    
    Public Property Get TotalMinutes
        '// make sure our object has been initialized
        If Not g_initialized Then
            Call uninitializedError()
            Exit Property
        End If

        '// DateDiff to get the property value
        TotalMinutes = DateDiff("N", g_startTime, g_EndTime)

    End Property

    
End Class


52


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 20 2009, 06:57 AM
Post #5


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



Cooooooooool smile.gif


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Zerosu
post Feb 20 2009, 08:43 AM
Post #6


Rookie
*

Group: Members
Posts: 9
Joined: 18-May 07
Member No.: 23,822



Wooooo! ph34r.gif


--------------------
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
nate
post Feb 20 2009, 08:55 AM
Post #7


Full Member
***

Group: Sr. Members
Posts: 741
Joined: 29-January 06
Member No.: 30



Also a straight last seen as in 'You were last here on: MM/DD/TT HH:mm:SS'.

Additionally make it so a user can set their own greeting. Not everyone wants the same thing. IE PlayerA can set their own greeting on PlayerB's bot.

Also, jesus christ where did Xelloss come from?

This post has been edited by Nate: Feb 20 2009, 08:56 AM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Zerosu
post Feb 20 2009, 12:26 PM
Post #8


Rookie
*

Group: Members
Posts: 9
Joined: 18-May 07
Member No.: 23,822



Just a thought, a changeable MOTD may be a nice variable to have.
(so the user wouldn't have to modify all there greets just to change a message for the day)


QUOTE
Also, jesus christ where did Xelloss come from?
I still do a little lurking around here every so often.

This post has been edited by Zerosu: Feb 20 2009, 12:28 PM


--------------------
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 20 2009, 03:10 PM
Post #9


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



QUOTE(Nate @ Feb 20 2009, 09:55 AM) *
Also a straight last seen as in 'You were last here on: MM/DD/TT HH:mm:SS'.

Additionally make it so a user can set their own greeting. Not everyone wants the same thing. IE PlayerA can set their own greeting on PlayerB's bot.

Also, jesus christ where did Xelloss come from?
The last seen stuff can be done, but I'll make the option to set their own greeting for higher access users. You don't want people making mile long greetings and such...on that note, I'll add built-in greet spam protection.


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Tanxs
post Feb 21 2009, 03:45 AM
Post #10


I eat BoOgErS!!
**

Group: Beta Testers
Posts: 84
Joined: 6-July 08
From: Sacramento
Member No.: 39,061



Uh oh, snap is posting!


--------------------
There are three kinds of people in this world. There are those who can count and those who can not count.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Snap
post Feb 21 2009, 03:52 AM
Post #11


The following post is supplementry information
*****

Group: Global Moderators
Posts: 2,922
Joined: 29-January 06
From: Eugene Oregon
Member No.: 31



'// %urn = The user's real name.
That stood out to me. How is this set? What other data about people will you be collecting?

If you store their 'last seen' will you replace the seen plugin?

How much of the plugin is based on the pimplist? - Why not use a different name for yours if you're not copying code? (Advanced Greet Plugin happy.gif AGP sounds nice for a prefix)


@Xelloss
Hey Xelloss! Nice to see you again smile.gif - I was afraid our paths wouldn't cross again. - Hope you're doing well.

@Tanxs
Shh, I don't want people to know it takes me 6+ minutes to make posts...


--------------------
~Life is all busy and stuff right now. - Car accident, lots of dr. appointments... Other stuff too. I still <3 StealthBot.net - - I'll be around.
Thinking about PMing me? Post it instead! CCX Forums | SnapNJacks Trivia Forums
IPB Image
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Tanxs
post Feb 21 2009, 04:09 AM
Post #12


I eat BoOgErS!!
**

Group: Beta Testers
Posts: 84
Joined: 6-July 08
From: Sacramento
Member No.: 39,061



QUOTE(Snap @ Feb 21 2009, 01:52 AM) *

'// %urn = The user's real name.
That stood out to me. How is this set? What other data about people will you be collecting?

If you store their 'last seen' will you replace the seen plugin?

How much of the plugin is based on the pimplist? - Why not use a different name for yours if you're not copying code? (Advanced Greet Plugin happy.gif AGP sounds nice for a prefix)


@Xelloss
Hey Xelloss! Nice to see you again smile.gif - I was afraid our paths wouldn't cross again. - Hope you're doing well.

@Tanxs
Shh, I don't want people to know it takes me 6+ minutes to make posts...


haha longer then 6 my friend smile.gif But... ya,, Shhhh

And Ninja, yet again, great job. Can't wait to use your Pimpscript


--------------------
There are three kinds of people in this world. There are those who can count and those who can not count.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
nate
post Feb 21 2009, 10:58 AM
Post #13


Full Member
***

Group: Sr. Members
Posts: 741
Joined: 29-January 06
Member No.: 30



QUOTE
'// %urn = The user's real name.
That stood out to me. How is this set? What other data about people will you be collecting?


Thats why I suggested just letting people create their own greetings. If your already taking and storing individual user information why not just let them select their own greeting.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 21 2009, 11:12 AM
Post #14


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



@Snap: User's real name will be entered manually and yeah, you're right, AGP will be the new plugin name. I'm borrowing a few of the greet variables from the original pimplist, so that's why I was going to use the original prefix.

@Nate: I'm trying to think of the easiest way to allow this, some users won't know all the greet variables and if there's alot more I add, the bot will go crazy trying to list all the variables and what they do for the user's product. I really like this idea though, giving the ability to have users make their own unique greet is something that will be much appreciated.


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
nate
post Feb 21 2009, 12:44 PM
Post #15


Full Member
***

Group: Sr. Members
Posts: 741
Joined: 29-January 06
Member No.: 30



You would only need to expose certain things like access/ping/time/last seen and so on to them, they won't need the variable for say the channel or bot name.

So you could then have a default greet displayed to everyone, and then let it be individually modified.

It would look something along the lines of "Blah blah blah Welcome to %c, %un." and then the user can append it with "Your ping is %p." so it would display something like "Blah blah blah Welcome to %c, %un. | Your ping is %p."

Then you also give them the ability to turn on/off the default, as well as giving the bot owner the ability to force it to be shown.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
FiftyToo
post Feb 21 2009, 03:51 PM
Post #16


Posting God
*****

Group: Sr. Members
Posts: 1,552
Joined: 28-September 06
From: Ohio
Member No.: 9,153



I dont think this would be a replacement for the seen script. The seen script is useful for determining when the last time someone was in your channel, which would not be a function of AGP unless they joined the channel at the very moment you wanted to know the last time they were smile.gif

Maybe there should be a hierarchy of greets that could be used to determine someone's actual greet. For example....

User's custom greet
Users with specific flag
Users in the database that are in the same clan as the bot
Users in the database that are in clan X (variable)
Everyone Else (standard greet)

The bot would check each of those conditions in that order to determine what greet someone uses. Here is a use case for the above concept...

Admin adds a greet for everyone in clan DoTH because they are an allied clan. Someone from DoTH joins the channel. The bot will check if the user has a custom greet, if so, thats what will be used (in this case, they do not). Then it will check if the user has specific flags, and use that greet if a condition is met (which it is not). The user is not in the same clan as the bot so that greet will be skipped. The user IS in clan DoTH, so AGP will use that greet for the user. If someone else joins that is NOT in clan DoTH (and no other conditions apply), they will get the standard greet. Would be super awesome if the bot owner had the ability to control the order of the hierarchy, but that might be taking it too far.

I agree with Nate though, things like username and botname would not need to be available in custom greets because the user could just type whatever the hell they want. Basically, any variable to anonymously represent something related to a user would not need to be exposed to a user. There probably is not much harm in it though, so it might be more work to prevent it than to just have a single greet parser.

52


--------------------
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 21 2009, 09:01 PM
Post #17


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



Agreed with 52 on the issue that this will not replace the seen script, but as Nate suggested, there will only be certain characteristics recorded. Not so much as the time last seen, but wins and level so the bot can override a portion of the greet to say "Congratulations on your +2 levels gained since last seen..." or something to that extent.

Again, I think 52 makes a good point that greets will be user defined (access based, flag based, individual, etc.) on a heirarchy system. That is no problem for me to make, however, my problem is figuring out a system to make all the variables exposed to the user so they can set their own greeting. You won't want users saying "/addgreet Hi %rawr" and %rawr isn't one of the variables.

Other than that, I can add functional commands like easily appending to a current greet without having to type it all out again. I'm going to be chipping away at this as best as I'm able to. smile.gif


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
nate
post Feb 22 2009, 12:58 AM
Post #18


Full Member
***

Group: Sr. Members
Posts: 741
Joined: 29-January 06
Member No.: 30



You won't need to define all your variables for the user though, they don't need to know their user name or the channel they just joined or what game they are playing, and so on.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 23 2009, 01:24 AM
Post #19


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



QUOTE(Nate @ Feb 22 2009, 01:58 AM) *
You won't need to define all your variables for the user though, they don't need to know their user name or the channel they just joined or what game they are playing, and so on.
If users want their own, customized greet, how are they supposed to set what they want to see if they don't know what to do?


Okay, do you guys want to be able to add greets through commands and/or through message box style? In command form, it would look like this:
QUOTE
.plist setgreet <custom/flag/access/clan> <diablo/starcraft/warcraft> Welcome %0 to %c blah blah blah
Message box style happens within the bot:
QUOTE
/plist setgreet
Message Popup: What type of greet is this? Custom, flag, access or clan?

<you type clan>

Message Popup: What game product is this for? Starcraft, Diablo, or Warcraft?

<you type Diablo>


Message Popup: Type your greet. Variables are: <lists variables>



--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Ribose
post Feb 23 2009, 02:45 PM
Post #20


So, it's all about fame, huh?
*****

Group: Global Moderators
Posts: 2,950
Joined: 13-February 06
From: Connecticut, USA. (GMT -5:00)
Member No.: 74



I have an idea.

Why don't you combine the variable system with the CCX of Snap's. That way, the greets are just as extensible as the CCX is.


--------------------
~Ribose
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 23 2009, 02:47 PM
Post #21


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



You mean, if someone wanted to use a variable from the CCX and put it into this plugin, they're able to? I didn't know the CCX had greet variables in there ohmy.gif


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
riffruff
post Feb 23 2009, 02:51 PM
Post #22


I riffruff
********

Group: Sr. Members
Posts: 3,727
Joined: 19-February 06
From: USA
Member No.: 278



QUOTE(The-Black-Ninja @ Feb 23 2009, 02:24 AM) *

Message Popup: What type of greet is this? Custom, flag, access or clan?

<you type clan>

Message Popup: What game product is this for? Starcraft, Diablo, or Warcraft?

<you type Diablo>


Message Popup: Type your greet. Variables are: <lists variables>

How about use the new forms -- and allow editing of commands. I can help make this part of it..

This post has been edited by riffruff: Feb 23 2009, 02:51 PM


--------------------
What you should tell your girlfriend...
QUOTE
ALL men see in only 16 colors, like Windows default settings. Peach, for example, is a fruit, not a color. Pumpkin is also a fruit. We have no idea what mauve is.

QUOTE
Women, learn to work the toilet seat. You're a big girl. If it's up, put it down. We need it up, you need it down. You don't hear us complaining about you leaving it down.

http://riffruff.mybrute.com
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jack
post Feb 23 2009, 03:07 PM
Post #23


Ultimate spammer.
********

Group: Sr. Members
Posts: 5,593
Joined: 28-January 06
Member No.: 28



If this does get rewritten, make sure all the variables (%'s) are in some kind of separate file. Xelloss first did it all in the plugin then I tried to shorten that down even more -- huge failure doing so. The cleanest way to do this is having all the variables in a separate file.

CODE
%date:Date()
%time:Time()
%myownvar:myownfunc()           <<-- scripted function in another plugin


QUOTE(The-Black-Ninja @ Feb 21 2009, 09:01 PM) *

That is no problem for me to make, however, my problem is figuring out a system to make all the variables exposed to the user so they can set their own greeting. You won't want users saying "/addgreet Hi %rawr" and %rawr isn't one of the variables.

There is no problem with someone using %rawr, that, for some odd reason, may be wanted by the user. The way we did the old pimplist is with Replace() and Execute() calls and if the replace can't find a substitute for %rawr then it leaves it as it is.



I'd like to help on the pimplist if there's not going to be too many people.

This post has been edited by Jack: Feb 23 2009, 03:08 PM


--------------------
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Swamp_Demon15
post Feb 23 2009, 03:27 PM
Post #24


Bad Idea?
***

Group: Members
Posts: 263
Joined: 15-October 08
From: Wouldn't you like to know. Pedifile.
Member No.: 42,832



This would Be soo awesome...

Also.... CANT WAIT FOR 2.7 even tho I'll have to..


--------------------
~ Swamp_Demon15

IPB Image
I made the Cadillac one, I didn't like the 1 they Had.
And made this one:
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Snap
post Feb 23 2009, 03:47 PM
Post #25


The following post is supplementry information
*****

Group: Global Moderators
Posts: 2,922
Joined: 29-January 06
From: Eugene Oregon
Member No.: 31



QUOTE(Ribose @ Feb 23 2009, 12:45 PM) *

I have an idea.

Why don't you combine the variable system with the CCX of Snap's. That way, the greets are just as extensible as the CCX is.

QUOTE(The-Black-Ninja @ Feb 23 2009, 12:47 PM) *

You mean, if someone wanted to use a variable from the CCX and put it into this plugin, they're able to? I didn't know the CCX had greet variables in there ohmy.gif

CCX Does have functions that would relate to greetings - I've kept regular vars like;
%1 %user %access %rest %args- etc etc. separated from the function system.
To use CCX functions within your greet plugin all you need is:
CODE
   '//Parse all the functions.
   If InStr(strRes, "%") Then strRes = CCX.ParseFunctions(strRes)

This would allow users to have their greeting contain datalists (%var calls) - heck it could even set vars like %setvar(lastseen_%user,%time) - which would essentially nullify the seen plugin.

CCX would make for some intricate greetings. - However more complicated CCX code - with like %if and %setvar functions may take over 100ms. - You'd have to do some testing to make sure it's okay. - Or use an option to enable/disable function parsing.

P.S. Greetings %UN You have %ST_Money(%UN) trivia dollars. You are ranked %ST_rank(%UN).
happy.gif

Edit: P.S.S. I would like to communicate with you a little bit - it would be nice if we kept some variables the same in 'AGP' and 'CCX' - as to help reduce confusion when switching between these plugins. - - So people don't say oh right-crap, it's %UN in AGP and %user in CCX.


This post has been edited by Snap: Feb 23 2009, 04:06 PM


--------------------
~Life is all busy and stuff right now. - Car accident, lots of dr. appointments... Other stuff too. I still <3 StealthBot.net - - I'll be around.
Thinking about PMing me? Post it instead! CCX Forums | SnapNJacks Trivia Forums
IPB Image
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 23 2009, 04:46 PM
Post #26


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



Wow lots of responses lol I like that smile.gif
QUOTE(riffruff @ Feb 23 2009, 03:51 PM) *
How about use the new forms -- and allow editing of commands. I can help make this part of it..
That would be fantastic because I haven't messed around with using the forms yet.

QUOTE(Jack @ Feb 23 2009, 04:07 PM) *

If this does get rewritten, make sure all the variables (%'s) are in some kind of separate file. Xelloss first did it all in the plugin then I tried to shorten that down even more -- huge failure doing so. The cleanest way to do this is having all the variables in a separate file.

CODE
%date:Date()
%time:Time()
%myownvar:myownfunc()           <<-- scripted function in another plugin
I'd like to help on the pimplist if there's not going to be too many people.
I kinda get what you mean about storing variables in another file, but could it also work if you just created a class inside the plugin? And so far, it looks like it's Riff, myself and Snap, so you're more than welcome to help us! biggrin.gif <3

QUOTE(Snap @ Feb 23 2009, 04:47 PM) *
Edit: P.S.S. I would like to communicate with you a little bit - it would be nice if we kept some variables the same in 'AGP' and 'CCX' - as to help reduce confusion when switching between these plugins. - - So people don't say oh right-crap, it's %UN in AGP and %user in CCX.
You had better communicate with me because I've never used your CCX laugh.gif


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
riffruff
post Feb 23 2009, 05:29 PM
Post #27


I riffruff
********

Group: Sr. Members
Posts: 3,727
Joined: 19-February 06
From: USA
Member No.: 278



So when do we start? tongue.gif

Anyways, I guess one of the first things would be, what storage are we using - database or text files?


--------------------
What you should tell your girlfriend...
QUOTE
ALL men see in only 16 colors, like Windows default settings. Peach, for example, is a fruit, not a color. Pumpkin is also a fruit. We have no idea what mauve is.

QUOTE
Women, learn to work the toilet seat. You're a big girl. If it's up, put it down. We need it up, you need it down. You don't hear us complaining about you leaving it down.

http://riffruff.mybrute.com
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 23 2009, 05:33 PM
Post #28


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



QUOTE(riffruff @ Feb 23 2009, 06:29 PM) *
So when do we start? tongue.gif

Anyways, I guess one of the first things would be, what storage are we using - database or text files?
I've been on/off with this because I'm waiting on input from users. What seems simple to me may be totally complicated to someone else, so I was trying to get input from users on that aspect. Regardless, in answer to your question, you can start whenever you like and we'd be using databases for sure. That way, for example, we can store the user's level when joining and use it to say "You've increased 2 levels since last seen...".


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Jack
post Feb 23 2009, 06:06 PM
Post #29


Ultimate spammer.
********

Group: Sr. Members
Posts: 5,593
Joined: 28-January 06
Member No.: 28



QUOTE(The-Black-Ninja @ Feb 23 2009, 04:46 PM) *

I kinda get what you mean about storing variables in another file, but could it also work if you just created a class inside the plugin?

The code has to be somewhere, but for the regular StealthBot functions like Ping() or something, you don't need extra code inside a class.

A text file or something with the data:
CODE
%p:GetPingByName(%u)
%pimplistfunction:SomeFunctionYouMakeInTheClass()

For %p, you don't need any extra code, but for the second one, that will have to be scripted in the plugin.

QUOTE(The-Black-Ninja @ Feb 23 2009, 04:46 PM) *

And so far, it looks like it's Riff, myself and Snap, so you're more than welcome to help us! biggrin.gif <3

I pass.


--------------------
IPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
The-Black-Ninja
post Feb 23 2009, 06:30 PM
Post #30


Pure Sex
********

Group: Moderators
Posts: 7,756
Joined: 13-August 06
Member No.: 7,372



QUOTE(Jack @ Feb 23 2009, 07:06 PM) *
I pass.
Kay sad.gif


--------------------
IPB Image

-My Plugins :: Thanks Pyro :)
IPB ImageIPB Image
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

5 Pages V  1 2 3 > » 
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 21st November 2019 - 12:26 AM
Skin by Andrea
Website Legal Information | Hosted by LunarPages