Jump to content

IRCX Addons


Ozzy10

Recommended Posts

Please feel free to post ircx addons here, but also remember that some people dont know too much about ircx and are learning.

Please make sure you post full code for your addon.

Link to comment
Share on other sites

This addon is for dialogs using an mdx style list. The reason for this addon is because the /didtok protocol won't work for lists using mdx.dll. Here is the code...

 

;How to use: /mdidtok dialogname did Character text
;Example1: /mdidtok Testlister 1 44 Test1,Test2,Test3,Test4
;Example2: /mdidtok Testlister 1 32 Test1 Test2 Test3 Test4
alias mdidtok {
  var %mdialog = $1 , %mdid = $2 , %mchar = $chr($3) , %mdidtok = $4-
  write mdidtok.txt $replace($4-,$chr($3),$crlf)
  if ($dialog(%mdialog)) loadbuf -ro %mdialog %mdid mdidtok.txt
  .remove mdidtok.txt
}

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...