Tips &Tricks

By RoninWarrior on Oct 27, 2005

OK this is for when you have hint tips trick on what your script will do and or is capable of doing you can type in any active mIRC window /xedit and the tips.txt file will open in this file you can put in any info or helpfull hints tricks tips etc etc and when you hit the next button it will give you a random hint etc etc etc.

This goes into your remotes section of mIRC
Alt + R File/New/save then exit out of remotes and hit ok and the next time you start your script you should be good to go on some tips. REMBER to edit the tips.txt file IE: /xedit .

dialog startit {
  title "TIPS & TRICKS"
  size -1 -1 350 139
  box "", 1, 5 5 340 100
  text "", 2, 15 25 320 70, center
  button "Next tip", 4, 5 110 75 25
  button "Close", 5, 268 110 75 25, default cancel
}
alias startitup { dialog -m startit startit }
on *:dialog:startit:sclick:*: {
  if ($devent == init) { did -a startit 2 $read($mircdirtips.txt) }
  if ($did == 4) { did -ra startit 2 $read($mircdirtips.txt) }
}
alias xedit { /run $mircdirtips.txt }
on *:start: { startitup }

on *:load: {
  /write $mircdirtips.txt
  ;anything after this line you may edit BUT YOU HAVE TO HAVE /write $mircdirtips.txt first and then the msg tip trick etc etc etc.
  ;like this /write $mircdirtips.txt /hop will cycle any $active chat window you have open.
  /write $mircdirtips.txt to edit this file type in any mirc window /xedit and this file will open for you to be able to edit it.
  /write $mircdirtips.txt This is a test of what you will see in the tips field.
  /write $mircdirtips.txt this is the second thing you will see if you hit the next button tip #2
  /write $mircdirtips.txt this is the second thing you will see if you hit the next button tip #3
}

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.