Page 1 of 2 12 LastLast
Results 1 to 25 of 38

Thread: Popup message if random

  1. #1
    Join Date
    Dec 2008
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Popup message if random

    Hi

    I will make it short:

    I dont know if freddy, or i can do it my self (or devs), but i think it would be great if a popup, like the one that says sucessefully compiled and executed (In the new scar 3.20)

    It should be so, when a random occur, i will tell me. Cause sometimes, i auto, while i am working on the comp, so instead it say that in the debug window, it will popup, and i will do the random manually (since they arent working).

    - That was short
    Last edited by XabdullahX; 06-13-2009 at 02:24 AM.

    OMG!!1


    Dont ever listen to that guy

  2. #2
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    +1 good idea

    T~M

  3. #3
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    No. It doesn't allow for backwards compatibility.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  4. #4
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Ehm, make a POPUPWINDOW('MESSAGE HERE'); function. shouldn't be to hard.
    ~Hermen

  5. #5
    Join Date
    Sep 2006
    Posts
    6,089
    Mentioned
    77 Post(s)
    Quoted
    43 Post(s)

    Default

    Quote Originally Posted by Hermen View Post
    Ehm, make a POPUPWINDOW('MESSAGE HERE'); function. shouldn't be to hard.
    He's talking about Alert().

  6. #6
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Right lower corner?
    Okay I tested it, why do I never know such things like this... I read the release threads but I never knew this...
    ~Hermen

  7. #7
    Join Date
    Dec 2008
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Huh ?

    Its a function?

    Testing immedietly

    I mean this:


    Btw. Wow!, already 5 replies
    --------------------EDIT-----------------------
    Quote Originally Posted by Hermen View Post
    Ehm, make a POPUPWINDOW('MESSAGE HERE'); function. shouldn't be to hard.
    PopUpWindow? that doesnt exist?

    Quote Originally Posted by nielsie95 View Post
    He's talking about Alert().
    Oh, cool ! Thats it!

    ---------------------------------------------
    Well, i will put it in my srl
    Last edited by XabdullahX; 06-13-2009 at 02:34 AM.

    OMG!!1


    Dont ever listen to that guy

  8. #8
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,553
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Yeah pretty cool.
    ~Hermen

  9. #9
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

  10. #10
    Join Date
    Dec 2008
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Shuttleu View Post
    replace your antirandoms.scar with this one

    ~shut
    Thx, already did the same, almost

    But thx for sharing

    OMG!!1


    Dont ever listen to that guy

  11. #11
    Join Date
    Nov 2007
    Location
    Chile
    Posts
    1,901
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    The problem is that Alert is only in SCAR 3.20 and not in 3.15. Many people still use it so SRL would only work with the newest versions.
    Last edited by Cazax; 06-13-2009 at 03:57 AM.


  12. #12
    Join Date
    Dec 2006
    Location
    Canada, BC
    Posts
    728
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    just make a forum that has editable text and then put it all under a function like..

    PopupWindow('message');

    and when you call the function it makes the forum pop up with the message
    Lance. Da. Pants.

  13. #13
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Alert works fine. Only is in SCAR 3.20+ though.

    Edit: Sorry, didn't read whole thread.

    However, you can use compiler directives to check what version of SCAR ($IFDEF SCAR320) you are using and use alert and if you are not using SCAR 3.20 then it will not do that and cause an error.

  14. #14
    Join Date
    Oct 2007
    Location
    http://ushort.us/oqmd65
    Posts
    2,605
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by lancerawks View Post
    just make a forum that has editable text and then put it all under a function like..

    PopupWindow('message');

    and when you call the function it makes the forum pop up with the message
    You mean form right?

    A forum in a script? That would be epic.
    I do visit every 2-6 months

  15. #15
    Join Date
    Jan 2008
    Location
    Ontario, Canada
    Posts
    7,805
    Mentioned
    5 Post(s)
    Quoted
    3 Post(s)

    Default

    I still don't think this is really necessary.
    Writing an SRL Member Application | [Updated] Pascal Scripting Statements
    My GitHub

    Progress Report:
    13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you 
                        have serious physchological problems
    13:46 <@BenLand100> HE GETS IT!
    13:46 <@BenLand100> HE FINALLY GETS IT!!!!1

  16. #16
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    A disguise at the most should work.

  17. #17
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Nava2 View Post
    I still don't think this is really necessary.
    i do
    if people like to auto and work on their computer at the same time then they will easily be able to tell when there is a random
    which then means they can watch it and see if anything goes wrong
    if something does then they can pause/stop the script and do it themselfs

    so imo it is a good idea

    ~shut

  18. #18
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    PlaySound anyone?

    PlaySound('Tada.wav');

    Or use a compiler directive (like wizzup? used in his multi miner) and make Microsoft SAM say 'you have a random'

  19. #19
    Join Date
    Apr 2008
    Location
    Northwest england
    Posts
    1,179
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    yes I've used play sound before is funny shits you up tho sometimes at night when your reading somehing scars minimized no sound then it makes a big noise :L
    Blank!

  20. #20
    Join Date
    Dec 2008
    Posts
    259
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by Da 0wner View Post
    A disguise at the most should work.
    Ya, would do it, but Alert(''); Normally recieves more attention

    Quote Originally Posted by NaumanAkhlaQ View Post
    PlaySound anyone?

    PlaySound('Tada.wav');

    Or use a compiler directive (like wizzup? used in his multi miner) and make Microsoft SAM say 'you have a random'
    Well, I dunno :/
    I usually dont have sound on when working on my comp

    OMG!!1


    Dont ever listen to that guy

  21. #21
    Join Date
    Jul 2007
    Location
    Right now? Chair.
    Posts
    8,488
    Mentioned
    3 Post(s)
    Quoted
    12 Post(s)

    Default

    SCAR Code:
    procedure OnRandomFind;
    begin
      Alert('random!');
    end;

    SRL_Procs[srl_OnFindRandom] := @OnRandomFind;

    gotta be creative people

    ~RM

    I & I know Zion. It is in the spirit, body and mind of every one of us
    RMouse(obj: TMSIObject): boolean;

  22. #22
    Join Date
    Jan 2008
    Location
    California, US
    Posts
    2,765
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Still doesn't show you what random it is. Maybe you could make some function return what random was found or something.

  23. #23
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

    Default

    Quote Originally Posted by Rasta Magician View Post
    SCAR Code:
    procedure OnRandomFind;
    begin
      Alert('random!');
    end;

    SRL_Procs[srl_OnFindRandom] := @OnRandomFind;

    gotta be creative people

    ~RM
    SCAR Code:
    procedure OnRandomFind(RandomName: string);
    begin
      Alert('random '+RandomName+'!!!');
    end;

    SRL_Procs[srl_OnFindRandom] := @OnRandomFind(Capitalize(Randoms[I].Name));
    how bout this?

    ~shut
    Last edited by Shuttleu; 06-14-2009 at 08:20 AM.

  24. #24
    Join Date
    Mar 2007
    Posts
    4,810
    Mentioned
    3 Post(s)
    Quoted
    3 Post(s)

    Default

    (RandomName: Boolean);

    ?

    Shouldn't that be a string

  25. #25
    Join Date
    Aug 2007
    Location
    in a random little world
    Posts
    5,778
    Mentioned
    0 Post(s)
    Quoted
    7 Post(s)

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •