Smaller code, there are chunks of redundant code in the macro that I am going to be tightening up by adding some functions.
Replacing Nuke, Ice, Snare, Buff, GroupBuff and a bunch of similar commands with 4 new sections of the InI detailed bellow (this will be powered by a new .inc shorcuts.inc). These new sections will allow for more customization without losing function.
Example:
Code: Select all
[shortcut spells]
Nuke=draught of jiva
Sow=Spirt of wolf
PLBuff=Resolution|Shield of words
[shortcut Items]
Sepic=spear of fate
[notarget Spells]
ITU=Invisibility to undead
[notarget items]
Levi=Pegasus cloak
New commands:
Setvar - for debugging or just general bot function this will change the value of a global variable to the command arguments
Rptvar - Will cause the bot to chatout the value of the requested global variable
Buff - Will cause the bot to cast the specified buff on the selected target, Bot will then remember the target,spell and duration of the buff when the buff expires (actually a random 5 or so seconds before the expire) the bot will attempt to refresh the buff on the target i.e. /tell Shamanbot buff Spirt of wolf on monkguy
command enhancement
snt – changed so that snt will remember the last spell cast with snt so that on second and subsequent casts of the same spell you don’t need to type out the spells again i.e. /tell shamanbot snt spirt of wolf on rannewbie1 /tell shamanbot snt on rannewbie2
FYI Personal.inc in my release will be stripped back down to a stub and all of the commands currently in it (including the advpath functions) will be ported into the other files or supported through the shortcut functions detailed above.
Natural language support
How commands in each file will be modified slightly, the current commands and functions that you are used to will remain as the defaults but you will have the option to change the command sent to the bot without changing the function of the command.
Example:
Code: Select all
/varset botcore-array(1,0) afk
/varset botcore-array(2,0) Do-afk
/varset botcore-array(1,1) accept
/varset botcore-array(2,1) Do-accept
/varset botcore-array(1,2) reject
/varset botcore-array(2,2) Do-reject
Code: Select all
/varset botcore-array(1,0) goaway
I might have forgotten something I’m throwing in but this should be a good list of the big changes you’ll see.




