VaultNetwork.netVault Network Boards
Author Topic: ISO : Someone who can Code a plugin or... [Locked]
Darktorizo  1 star
Posts: 216
Registered: 2006-12-10 14:00:32
Help me code a plugin.

Currently on my bot (Which is running Castaway, ACTool, and Lifetank) I am using Lifetank's "Takecontrol" (Connecting to an IRC Channel on Login, Then waiting on Lifetank to connect to the IRC Channel, Then opening a private tell/message to the Lifetank Client, giving Lifetank the #cmdmacro takecontrol <Password> Command, Then starting the Respponse Script)IRC function to connect to an IRC channel running a script that looks for "Certain Phrases" in the Allegiance Channel.

The Script: (Shortened)

[script]
n0=on *:load:{
n1= /echo 12Auto-Response System v1.0beta --ON--
n2= /echo 12[12Copyright3©2007]-- [DarkTorizo]--
n3= /echo 12[Turn On = /responseON] [Turn Off = /responseOFF]
n4=}
n5=alias responseON {
n6= /echo 12Auto-Response System v1.0beta --ON--
n7= /enable #response
n8=}
n9=alias responseOFF {
n10= /echo 12Auto-Response System v1.0beta --OFF--
n11= /disable #response
n12=}
n13=#response on
n14=on 1:text[AC] [Allegiance]**is now level*:/msg $nick #cmdmacro send /a «««Auto Bot Response»»» Congratulations!!!
n15=on 1:text[AC] [Allegiance]**are now level*:/msg $nick #cmdmacro send /a «««Auto Bot Response»»» Congratulations!!!
n16=on 1:text[AC] [Allegiance]**skill is now*:/msg $nick #cmdmacro send /a «««Auto Bot Response»»» Congratulations!!!
n17=on 1:text[AC] [Allegiance]**has acquired*:/msg $nick #cmdmacro send /a «««Auto Bot Response»»» Congratulations!!!
n18=on 1:text[AC] [Allegiance]**has discovered the*:/msg $nick #cmdmacro send /a «««Auto Bot Response»»» Congratulations!!!
n19=
n20=#response end
n21=on *:Unload:/echo 3Thanks -DarkTorizo


This works fine, except when Lifetank locks up or Irc loses connection. I would like to replace this method with a Decal Plugin (If Possible) but I am not a coder, and have no clue where to begin. I would do this in ACTool, but can not for the life of me find any way for it to monitor the Allegiance Channel.

I know in the Decal/AC Protocol there is the ability for it to monitor the Allegiance Channel:

ChatFilterMaskWORD

0x00040000 Allegiance

ChatDisplayMask: QWORD

0x0000000000040c00 Allegiance

Any Help/Assistance/Code ect would be helpful and greatly appreciated.

 

-----signature-----
Guinevere du Avalon - Level 275 - Mage (WarMeleeD Spec)2 Hour Buff Bot - TD
~* Explorer of Dereth *~
GoArrow Database Updates (Full): http://db.tt/6UlVIW
GoArrow Database Update Page: http://db.tt/9lJUeE4

VaultNetwork.net is an independently operated community forum and is not affiliated with, endorsed by, or technically based on IGN, GameSpy, FilePlanet, GameStats, or the former IGN/GameSpy Vault Network.
References to VaultNetwork.net mean this site/domain. VNBoards-style presentation is a visual homage only. By using this site, you agree to the forum rules.