Forums


SassIRC :: Forums :: mIRC Scripting :: mIRC Scripting Request
 
<< Previous thread | Next thread >>
memo me script
Moderators: PuNkTuReD, Aucun, Hamtara, cheiron, sk68, Nuk3d, Dejavue, XperTeeZ
Author Post
Lenooox
Wed Jan 27 2010, 03:43PM
Mr.

Registered Member #109
Joined: Wed Jan 06 2010, 02:18AM
Posts: 35
there is a script that Remember matters?
I think that such , when one people write on channel 1on1 dm ut2k4 pm me! or 4on4 TAm pm me , the bot is remember this message . and saved in hsh or smthg .and x minutes to write ...and if write closed! the forget the message.
It is possible?
sorry for my English !
Regards


Image: http://miniprofile.xfire.com/bg/sh/type/2/lenox18.png
Back to top
XperTeeZ
Wed Jan 27 2010, 10:04PM


Registered Member #85
Joined: Sun Jul 19 2009, 11:55AM
Posts: 74
I didn't quite understand your inquire... Do you mind placing an example?


Back to top
Lenooox
Wed Jan 27 2010, 10:29PM
Mr.

Registered Member #109
Joined: Wed Jan 06 2010, 02:18AM
Posts: 35
huh , sorry my english not so good , :$

if you typed on the channel .. looking for TAM 4v4 server on pm me
the bot remember this messageand bot write every 5 minutes
until it receives a message that found an opponent or if receive a message that is closed


Examples :
(23:30:29) (@Lenooox) looking for TAM 4v4 server on pm me
(23:30:31) (@mybot) Lenooox - looking for TAM 4v4 server on
(23:32:09) (@Lenooox) closed!

and the bot forget my message

I'm sorry, I'm not an idiot , very few my English and the dictionary is [censored] :(


[ Edited Wed Jan 27 2010, 10:29PM ]

Image: http://miniprofile.xfire.com/bg/sh/type/2/lenox18.png
Back to top
PuNkTuReD
Thu Jan 28 2010, 06:59AM
Main Admin


Registered Member #1
Joined: Sun Feb 15 2009, 04:48PM
Posts: 541
Ok this is my alert script, slightly modified to alert the channel every 5 minutes.

I will actually bring back another one because,
this one was made for channel opers, and they ( and anyone else who may do !alert ) can delete alerts.

syntax:
!alert add -alert to add-
!alert del -alert id-

/*
Alert Script 
By PuNkTuReD
http://www.sassirc.com

SYNTAX 
!alert add (your alert message)
!alert del (alert id)
*/

alias alert.allow return qaohv

on *:text:*:#: { 
  if ($1 == !alert) { 
    if ($nick($chan,$nick,$alert.allow)) { 
      if ($2 == add) {
        if ($3-) { 
          inc %ads 1 
          $+(.timer,alert,%ads) 0 300 msg $chan [Alert id: %ads $+ ] $nick - $3- 
          msg $chan [Alert id: %ads Stored] $+([,$nick,]) Your alert will be displayed every 5 minute(s). 
        } 
        else { 
          msg $chan Syntax: $1 add <your alert>        }
      }
      elseif ($2 == del) { 
        if ($3) && ($3 isnum) { 
          $+(.timer,alert,$3) off 
          msg $chan [Alert id: $3 Stopped] 
          dec %ads 1  
        }
        else { 
          msg $chan Syntax: $1 del <alert id>        }
      }
      else { 
        msg $chan Syntax: $1 add <your alert>        msg $chan Syntax: $1 del <alert id>      }
    }
    else { 
      msg $chan $nick you do not have permission to use the !alert command. 
    }
  }
}          



//server -m irc.sassirc.com -j #SassIRC.com
Back to top
Lenooox
Thu Jan 28 2010, 08:39AM
Mr.

Registered Member #109
Joined: Wed Jan 06 2010, 02:18AM
Posts: 35
Thank you very much


Image: http://miniprofile.xfire.com/bg/sh/type/2/lenox18.png
Back to top
PuNkTuReD
Thu Jan 28 2010, 09:10AM
Main Admin


Registered Member #1
Joined: Sun Feb 15 2009, 04:48PM
Posts: 541
for some reason,
when i pasted the code,
it cut it up a bit,
so here it is properly

http://pastebin.sassirc.com/index.php?show=42


//server -m irc.sassirc.com -j #SassIRC.com
Back to top
 

Jump:     Back to top

User Colour Key:
Head Administrator, Administrator, Forum Moderator, Member

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System


SassIRC Partners/Affiliates


Evolution Scriptz Free Shoutbox at FreeShout ReplayIRC