Macro Nilly Script


  • Donor

    Original Idea by SrKarpuz
    http://nillysrealm.com/forum/viewtopic.php?f=13&t=5338


    BEFORE USE IT BE SURE IT WORK

    I just add a Gui so you can change Hotkey more easier (Don't forget to press Save…) and he detect if you play to NR .
    @SrKarpuz::

    When you press num0 : It type /nexus
    When you press num+: It type /realm
    When you press num- : It type Queen

    F12 to access to Menu (Change Key)
    End to Stop Script

    Note : Script will only work if you play Chrome Or Flash Projector

    #NoEnv
    #Persistent
    #SingleInstance Force
    SetWorkingDir,%A_ScriptDir%
    SendMode, Input
    IniFile = %A_WorkingDir%\NillyAhk.ini ;The .ini will appear in the same folder of script
    
    ;If you want change command/word.
    String1 = /Nexus
    String2 = /Realm
    String3 = Queen
    
    IfExist,%IniFile% ;Read Save Key
    {
    IniRead,Key1,%IniFile%,Keybind,Key1
    IniRead,Key2,%IniFile%,Keybind,Key2
    IniRead,Key3,%IniFile%,Keybind,Key3
    }
    Else ;Create .ini with Default Key ( + - 0 )
    {
    IniWrite,numpad0,%IniFile%,Keybind,Key1
    IniWrite,numpadAdd,%IniFile%,Keybind,Key2
    IniWrite,numpadSub,%IniFile%,Keybind,Key3
    Key1 = numpad0
    Key2 = numpadAdd
    Key3 = numpadSub
    }
    
    Menu:
    Gui, Add, Text, x22 y10 w100 h30 +Center, %String1%
    Gui, Add, Text, x22 y60 w100 h30 +Center, %String2%
    Gui, Add, Text, x22 y110 w100 h30 +Center, %String3%
    Gui, Add, Hotkey, x152 y10 w100 h30 vKey1, %Key1%
    Gui, Add, Hotkey, x152 y60 w100 h30 vKey2, %Key2%
    Gui, Add, Hotkey, x152 y110 w100 h30 vKey3, %Key3%
    Gui, Add, Button, x22 y150 w100 h30 +Center, Save
    Gui, Show, x1061 y316 h191 w278, Nilly Macro By Winter
    Return
    
    GuiClose:
    Gui Destroy
    Goto Hotkey
    
    Hotkey:
    Hotkey,F12,Menu ;To go in Gui (Change Control)
    Hotkey,End,Stop ; Exit Script
    #IfWinActive Adobe Flash Player ;Detect Flash Player
    {
    Gui Destroy
    Hotkey,%Key1%,Key1
    Hotkey,%Key2%,Key2
    Hotkey,%Key3%,Key3
    }
    #IfWinActive Nilly's Realm - Google Chrome ;Detect http://test.nillysrealm.com/ on GOOGLE CHROME
    {
    Gui Destroy
    Hotkey,%Key1%,Key1
    Hotkey,%Key2%,Key2
    Hotkey,%Key3%,Key3
    }
    Return
    
    Key1:
    Send {Enter}%String1%{Enter}
    Goto Hotkey
    
    Key2:
    Send {Enter}%String2%{Enter}
    Goto Hotkey
    
    Key3:
    Send {Enter}%String3%{Enter}
    Goto Hotkey
    
    ButtonSave:
    Gui, Submit, Hide
    IniWrite,%Key1%,%IniFile%,Keybind,Key1
    IniWrite,%Key2%,%IniFile%,Keybind,Key2
    IniWrite,%Key3%,%IniFile%,Keybind,Key3
    Goto Hotkey
    
    Stop:
    ExitApp
    
    
    

    Virus Scan:
    If you think it's a virus you can copy the source code and made your own .exe (Ahk2Exe)

    https://www.virustotal.com/fr/file/2863acadd504733c689de331e1e63a4a2350cc2385b1b1d815ae73184833a5a2/analysis/1451392762/
    https://virusscan.jotti.org/fr-FR/filescanjob/ig44ncsxcb



  • Seems to be working fine. +1


  • The Living Cancer

    BTW, There is an easier method guys!
    Donate. Help your server :3



  • Thanks for adding this :) .My normal name is SIRKarpuz forgot my password so that my name is SRKarpuz


  • Intervention Police

    Thank you for this.


  • 烧烤酸奶 ( BBQ YOGHURT )

    I still do not understand what this is.
    Can anyone enlighten me?


  • Intervention Police

    @Food::

    I still do not understand what this is.
    Can anyone enlighten me?

    Alright.

    It's basically a software that allows its users to automate repetitive tasks. It's a script which you can use for many things, such as Winter just did. Which is spamming certain phrases with a key you bind it to such as /nexus, /godlands etc. You can edit it yourself to make your own keys.



  • Why queen? Oryx is 10x better loot?


  • Donor

    @SaDoge::

    Why queen? Oryx is 10x better loot?

    • Take Source Code
    • Change String3
    • Download Ahk2Exe
    • Build your own script ;)


  • @Winter::

    @SaDoge::

    Why queen? Oryx is 10x better loot?

    • Take Source Code
    • Change String3
    • Download Ahk2Exe
    • Build your own script ;)

    Done, thanks for the help :D



  • @SaDoge::

    Why queen? Oryx is 10x better loot?

    I was using it because wanted to get card armor on my npe :C



  • How exactly do i use this? I downloaded it and am currently in Nillys and i saved the settings for the keybindings but its not working and im in chrome



  • @Dzmflame::

    How exactly do i use this? I downloaded it and am currently in Nillys and i saved the settings for the keybindings but its not working and im in chrome

    Did you download AHK (auto hot key)



  • where do i get that?



  • @Dzmflame::

    where do i get that?

    https://www.autohotkey.com



  • When i download the file off the forums Avast screams at me about it being a virus, anyone else?



  • @Tohka!::

    When i download the file off the forums Avast screams at me about it being a virus, anyone else?

    Necrobumping a thread made by a forum moderator. Real smart move there.

    Virus scanners can always be wrong. It probably is wrong unless winter managed to hide a virus in it without anyone detecting it


  • Donor

    @Tohka!::

    When i download the file off the forums Avast screams at me about it being a virus, anyone else?

    Strange thing…
    I reupload everything with updated virus scan.
    And removed .jm file and added a link dropbox (less confuse for ppl)



  • @Tohka!::

    When i download the file off the forums Avast screams at me about it being a virus, anyone else?

    Just disable it up nothing will happen I'm using Esed Smart Sec. 6 and it gives no error :P



  • Thanks.
    I set the hotkey to R.
    I went in a trench then got paralyzed.
    I spammed the R key and nothing happened.
    I closed the game, came back and my knight was dead.


  • Metronome

    @IntactAbid::

    Thanks.
    I set the hotkey to R.
    I went in a trench then got paralyzed.
    I spammed the R key and nothing happened.
    I closed the game, came back and my knight was dead.

    Was the script actually running?
    Did you test it before to see if it was working?
    Were you holding down extra keys like shift or Ctrl?



  • @lights::

    @IntactAbid::

    Thanks.
    I set the hotkey to R.
    I went in a trench then got paralyzed.
    I spammed the R key and nothing happened.
    I closed the game, came back and my knight was dead.

    Was the script actually running?
    Did you test it before to see if it was working?
    Were you holding down extra keys like shift or Ctrl?

    Yes
    No
    No


  • Donor

    @IntactAbid::

    @lights::

    @IntactAbid::

    Thanks.
    I set the hotkey to R.
    I went in a trench then got paralyzed.
    I spammed the R key and nothing happened.
    I closed the game, came back and my knight was dead.

    Was the script actually running?
    Did you test it before to see if it was working?
    Were you holding down extra keys like shift or Ctrl?

    Yes
    No
    No

    Using Script or Exe ?
    And i forget to write but "test it before"
    Sorry for you loss



  • Any that can work with mac OS X? Can't use AHK or exe.


  • Metronome

    @hieeeeeee Try this:https://www.keyboardmaestro.com/main/ You'll have to write your own macro though


Log in to reply
 

Looks like your connection to Nilly's Realm was lost, please wait while we try to reconnect.