Jump to content

Archived

This topic is now archived and is closed to further replies.

chain

IdleRPG Dialog.

Recommended Posts

  • Administrators

Simply replaced $server with $network. Not guaranteed to work but most likely should. In the dialog

 

 

 

>menu * {  .IdleRPG Dialog { /idlerpg }}alias IdleRPG { dialog -m IdleRPG IdleRPG }dialog IdleRPG {  title "IdleRPG"  size -1 -1 198 94  option dbu  box "Settings", 1, 5 6 177 73  text "Network Name", 2, 14 21 39 8  edit "", 3, 56 20 50 10, autohs  text "IdleRPG Chan", 4, 14 33 39 8  edit "", 5, 56 32 50 10, autohs  text "Username", 6, 14 44 39 8  edit "", 7, 56 43 50 10, autohs  text "Password", 8, 14 56 40 8  edit "", 9, 56 55 50 10, autohs, pass  check "Auto log-in/join", 10, 119 20 50 10  text "IdleRPG Dialog by Freeze", 11, 69 83 63 8  button "Okay", 12, 121 39 37 12, ok  button "Cancel", 13, 122 54 37 12, cancel  text "Bot-name", 14, 14 65 41 8  edit "", 15, 56 65 50 10, autohs}on *:DIALOG:idlerpg:SCLICK:12: {  if (!$did(3)) || (!$did(5)) || (!$did(7)) || (!$did(9)) || (!$did(15)) { echo Error! Missing fields! }  else {    set %ic [ $+ [ $did(3) ] ] $did(5)    set %iu [ $+ [ $did(3) ] ] $did(7)    set %ip [ $+ [ $did(3) ] ] $did(9)    set %ib [ $+ [ $did(3) ] ] $did(15)    $iif($did(10) == $null, unset %ij [ $+ [ $did(3) ] ], set %ij [ $+ [ $did(3) ] ] yes)  }}on *:CONNECT: {  if (%ij [ $+ [ $network] ] == yes) {    join %ic [ $+ [ $network] ]    msg %ib [ $+ [ $network] ] login %iu [ $+ [ $network] ] %ip [ $+ [ $network] ]  }} 

Link to comment
Share on other sites



×
×
  • Create New...