Agent Demonstration

By QuickStep on Dec 28, 2005

Small example on how to use agents, /agent to start

;edit: small update
alias agent {
  if (!$agentver) return $input(No agents installed on system. Aborting snippet!,o,Error)
  if (!$agent(mirc)) .gload mirc 1
  .gshow mirc 10 10
  var %a = 4
  while (%a) {
    .gmove mirc $r(200,600) $r(200,600)
    dec %a
  }
  .gtalk -k mirc Screw you guys, I'm going home...
  .ghide mirc
}

Comments

Sign in to comment.
KuTsuM   -  Dec 30, 2005

Surely, while using a microsoft product (Like word, excel, etc.), you\'ve seen the little agent helper cartoon character pop up on your screen!

 Respond  
Raichu   -  Dec 29, 2005

What does this do!?

 Respond  
QuickStep   -  Dec 29, 2005

mmm thats interesting tank59, in the readme it says: $agentver should return 0 if no agents installed, but for some reason it still returned something because the \'no agents installed\' check in the snippet didnt work for you. Might be a mirc bug?

 Respond  
Scruffy   -  Dec 29, 2005

.ghide mirc
it doesnt unload so you might want to do,
timer 1 21 .gunload mirc

 Respond  
RoninWarrior   -  Dec 28, 2005

nice job quickstep as useual with your work there are tons more options that mirc will support for this snippet as i am sure you already now of but this is a feature im sure alot of new users on mIRC are to familiar with great job.....

 Respond  
RoninWarrior   -  Dec 28, 2005

tank59 if you are on windows 95 or above you will have 1 with windows
pettie i think.

 Respond  
tank59   -  Dec 28, 2005

Nevermind, read up on it and it seems I need to download the agent. Great job Quickstep.

 Respond  
tank59   -  Dec 28, 2005
  • /gload: error loading \'mirc\' (default) (line 3, testing3.txt)
    Not sure if it\'s on my end or something with the script. Either way, nice job. lol
 Respond  
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.