topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday April 26, 2024, 9:53 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - robbertA [ switch to compact view ]

Pages: [1]
1
Mircryption / on *:text:* problems
« on: August 17, 2009, 04:58 PM »
So, first of all, I did read this one:
https://www.donation...intpage;topic=8133.0

But I don't get it how I should fix my script, it gets text from a bot,
but then it splits it up like in normal mirc into $1 $2 $3, etc. One big
problem, with mircryption they all become blank, so question to the
wise guys here, how can I fix the thing I am using so $3 $5 and $8
do give the correct text that is on the 3th 5th and 8th place in the
line of text the bot says.

on *:TEXT:*:#:{
  if ($nick == TopBot) {
    set -e %type $3
    set -e %name $5
    set -e %date $8
    /scon 1 /notice %output.channel DATE:    %date
    /scon 1 /notice %output.channel TYPE:    %type
    /scon 1 /notice %output.channel NAME: %name
    /scon 1 /notice %output.channel ---------------------------
}
}

Hope to get some help, much appreciated!

Pages: [1]