SA-MP Forums Archive
mIRC scripts release - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: mIRC scripts release (/showthread.php?tid=661159)



mIRC scripts release - IKKE - 24.11.2018

Hi all

I've been away from this community for a while, about 4 or 5 years and recently stumbled upon my mIRC scripts that I once made. Since I'm not using them, I will put them out for you to use. Feel free to use or modify these scripts as much as you want. The only condition is that these scripts will NEVER be used in return for a payment.

All of them I've made from scratch, a lot of them might be inspired by other scripts. Most of the scripts are extremely simple, some are more advanced, some are actually rather nice. There was still a lot to do on them - as you learn new functions you learn how to improve your scripts. Mainly I was working on an IRC RPG based on GTASA before I stopped. I'm sure IRC is not popular anymore, but some might be interested. On the other hand I mostly did this because I enjoyed it - could be a good learning school.

Keep in mind the scripts were mainly developed to work on my own channel. There is also a lot of information related to specific people I knew and servers I played often.

Find below a description of all different files with some basic description and below links to the scripts themselves, as well as my changelog and to do list.

Some information has been redacted (e-mail address, passwords). Please let me know if I forgot to remove any.

Bye,
[MM]IKKE

BOT SCRIPTS
Code:

AFK.ini
	- writes nickalerts to general echo with message
	- check on certain filters, including commands, channels, echo's, bots
	- replies to non-bots with AFK message
	- also contains a counter of how many times nickname was mentioned
	- bottom of file: older version
	
afkcmds.ini
	- $afk.bots: returns list of echo bots for filter
	- $afk.channel: returns echo channel for filter
	- $afk.msg: returns message that triggered alert
	- $afk.nick: returns nickname that triggered alert
	
aliases.ini
	- /a: same as admin chat but for IRC
	- /addbot: add bots to the list for filters
	- /addcmd: add a command to the list of commands, logs use etc.
	- /addscript: lists script files
	- /algorythm: simple algebra
	- /annoyingban: bans a user
	- /cake: gives cake to user with random adjective and noun
	- /calc: calculator
	- /convert: .map to CreateObject
	- /convspawns: for old style Sumo server
	- /countsigns: returns amount of times character was found in string
	- /cw: joins New Dawn CW server
	- /ddmap: map converter for New Dawn
	- /delbot: removes bot from list for filters
	- /delcmd: remove a command from the list of commands
	- /delscript: remove from scripts lists
	- /encode: use simple mIRC encoding tool
	- /getasc: get ascii numbers of text
	- /hug: hug
	- /initotxt: ini to txt converter
	- /invert: reverse order a file
	- /j: /join
	- /loadbot34: load bots 3 and 4
	- /netsplit: join all separate servers
	- /panel: opens New Dawn server panel
	- /pass: Password generator
	- /said: returns amount of times your nick has been mentioned
	- /SQL: opens New Dawn SQL
	- /status: what is status (AFK/IG)
	- /rev: reverse text
	- /txttoini: txt to ini
	- /update: send update to channel + link to logs
	- /w: whois and whowas
	
allbotscmds: 
	- commands for all bots simultaneously
	- lets bots do (/me) or return messages, as well as send to random channels (there is a blacklist)
	- can be used to annoy channels and people, but don't do this
	
botcmds: 
	- for specific bots
	- lets bots do (/me) or return messages, as well as send to random channels (there is a blacklist)
	- can be used to (un)ban people from main channel
	- ignore command
	- also some annoying commands
	- slap/rape/cake return commands
	- ping command
	- $getping: alias to return ping, reads the log of cmd.exe (in Dutch)
	- /addajoin: add to autojoin (own list)
	- /ajoin: join all autojoins
	- /ajoinlist: adds everything to server ajoin list
	- /botXaddadjoin, /botXajoin and botXdeljoin: similar
	- /check: verification of commands so bots don't get caught in infinite loop
	- /ghost(bot): will ghost the nick
	- $jSBots, $MMBots, $mybots, $NDBots, $UGPBots will return bot names
	- /random: some random cmds, also used to slap people with random noun and adjective
	- /slap: as above
	- $users: returns amount of users in active channel

botcontrol:
	- bot management tools, including sending global messages and warning people
	- to load and unload the bots
	- let bots join and leave channels
	- warnings are logged in user files
	- also to change nicknames of bots
	
chancmds:
	- /add<status>: shortcut to give people access to channel
	- /inv: same as /invite
	- /registerbots: cycles through registering the bots with correct settings
	- /registerchannel: will apply a LOT of nice default settings while registering a new channel
	- /registernick: registers nickname nicely
	
chancontrol:
	- used to manage statistics for channels
	- random quote system that can be enabled/disabled per channel

cmds:
	- used to list commands based on which status user has
	- rules list link to pastebin
	
connection:
	- to set and unset variables during opening and closing mIRC
	- also will set some timers used for the bots
	- identifiers for ghosting timed out bots
	- decrease channel warnings every start of the month
	- /getidle: will set your status to AFK
	- /checkchannels: if owner got kicked or is not present on channel, leave
	- /randomquote: sends random message
	- /qcheckexceptions: filter on randomquotes
	- keep undesired people out of your channel
	- checks joins of channels to increase stats etc.
	
CPUControl:
	- runs programs on your computer
	- includes link to IP tracer
	
helpcmd:
	- reads from file on disk
	- returns how to use a command
	- returns status (active or not) of command
	- returns explanation of command
	
learning:
	- adds unknown words to a dictionary folder
	- there is a counter on known words
	
nickchangecmds:
	-/afk: changes nick and sets variables
	-/back: changes nick back to main and sets variables
	-/ig: changes status to being In-Game
	-/ikke: main login command

othercmds:
	- variety of commands
	- check if user is bot
	- link to SVN and update logs
	- general information about the scripts: channel list, version of scripts, amount of lines in scripts
	- suggestions script with accept and reject
	- reporting people command
	- information command with some history information
	- uptime of bots
	- nickalert script here as well for some reason
	- random reply script to dots for some reason
	
others:
	- some commands to react on raws (eg invites, PMs)
	- blocks CTCPs or sends versions to relevant one
	- change own posts based on modes (colored, leet)
	- load bots commands
	- auto-slap with random noun and adjective on slap
	- check bots status
	- some things related to banned people (user level 543)
	- ping command to check connectivity

popups:
	- custom right-click menu

prints:
	- use the bots to send out annoying prints in chat
	- don't do this
	
protection:
	- safeguard against bans
	- safeguard against kicks in certain channels
	- might autoban the person that banned you
	- automatically gives back status if unset
	
quiz:
	- trivia system where you PM the bot, then bot asks the question in main channel

random:
	- let the bots have a conversation through files that are linked
	- let the bots say a random quote (all non-bot messages are logged)
	- more info about amount of quotes, random adjectives and random nouns
	
reply:
	- for some reason, learning words command is in here
	- adds words to the dictionary
	- some fixes for performance related to channel echo's
	- also apparently some stuff related to bot echo channel, no idea what this is
	
reset:
	- various reset command for previously described modules

resetcmds:
	- same, but now in aliases

script:
	- simple tool to generate temporay scripts
	- also has a semi-"smart" tool to convert normal language into scripting language
	- works with a whitelist of commands instead of a blacklist
	- this to prevent abuse of the system (with mIRC you can technically edit system settings)
	
stats:
	- logs channel stats
	- returns average users of channel, peak, last message, joins, leaves, kicks, bans, messages, commands etc
	- bot statistics included
	- returns channel statistics
	
statscmds:
	- used by stats script
	- also used for internal logging
	- bot_say command: alternates bot echoes
	- internal use for logging statistics
	- safeguard for small channels
	- average is calculated over 200 checks, checks are every X minutes
	- script to generate channel statistics file
	- warnings system for channels is also in here: this checks certain cases of warnings, I believe after X warnings bots leave the channel but not sure. Channels get -1 warning every month
	
vars:
	- list of variables as is
	
	
------------------------

CORE SCRIPT

accounts:
	- create and delete accounts
	- reset accounts
	- retrieve statistics of account
	- manage statistics of account
	- needs to be updated: accounts are now just .txt file, should be at least xml-structured or .ini
	
admins:
	- administration system
	- helps manage the RPG
	- includes bans and so on
	
cash:
	- anything related to money in the RPG
	- includes lottery and shop system
	- you can buy other stuff
	
cmdlist:
	- returns available commands for user

cookies:
	- cookie system
	- similar to cash
	- cookies can be stolen (attempt)

corecmds:
	- tons of aliases used internally to generate things
	- just look at it
	
GTASA:
	- I wanted to create jobs, but didn't manage to continue with it
	- yes this was before GTA V
	
info:
	- apply to become a RPG admin
	- retrieve top statistics
	- find out some info
	
masterscript:
	- to load the core of the whole RPG
	- this was versioned as v4, but never released
	- you can (un)load different modules
	- there is an administrator commands log as well
	
------------------------

JOB SCRIPTS
	- drugdealer: you deal drugs but may get wasted by cops
	- duel: fight another player, based on your current weapon
	- jobcmds: anything related
	- races: race players, fastest reaction wins
	- taxi: drive around for some money
	
------------------------

MISSIONS scripts:
	- never completed, but had awesome ideas (again before GTA V)
	
------------------------

I have some more script folders (old scripts, server scripts which relay on echo and some not used scripts) which I can provide more info about if wanted. Just reply.
Links:
Code:
My pastebin: https://pastebin.com/u/_MM_IKKE

Channels defaults: https://pastebin.com/fa5B1Nnx
SVN Log: https://pastebin.com/PND34bBS
To Do list: https://pastebin.com/FJ7WWtEi

AFK.ini: https://pastebin.com/ieB2dVec
AFKcmds.ini: https://pastebin.com/7JGNF38F
aliases.ini: https://pastebin.com/c8rhkYUy
allbotscmds.ini: https://pastebin.com/sad1b6SH
botcmds.ini: https://pastebin.com/LjHCNSYs
botcontrol.ini: https://pastebin.com/vFv46SEK
chancmds.ini: https://pastebin.com/iEueZ74c
chancontrol.ini: https://pastebin.com/xK3cGUrw
cmds.ini: https://pastebin.com/XVn9XMKa
connection.ini: https://pastebin.com/gAGMeX92
CPUcontrol.ini: https://pastebin.com/EPPY9bcM
helpcmd.ini: https://pastebin.com/7p4Bt0Pj
learning.ini: https://pastebin.com/2ZrDsATS
nickchangecmds.ini: https://pastebin.com/HxTKDqAA
othercmds.ini: https://pastebin.com/a9McK4A4
others.ini: https://pastebin.com/AcD6hS5c
popups.ini: https://pastebin.com/FLqQ2n1A
prints.ini: https://pastebin.com/MqEa7vNj
protection.ini: https://pastebin.com/84c8VdBr
quiz.ini: https://pastebin.com/MszG2cL8
random.ini https://pastebin.com/PMEhP3V5
reply.ini: https://pastebin.com/UwbEW1Lt
reset.ini: https://pastebin.com/qTLkWC6s
resetcmds.ini: https://pastebin.com/z9THrgDp
script.ini: https://pastebin.com/Uvupvu6B
stats.ini: https://pastebin.com/uPfqSfym
statscmds.ini: https://pastebin.com/dN9QEw3s
vars.ini: https://pastebin.com/Aq7z3w54

accounts.ini: https://pastebin.com/F7QFSZ8G
admins.ini: https://pastebin.com/mdndXdB3
cash.ini: https://pastebin.com/ibNRSJC6
cmdlist.ini: https://pastebin.com/2iiGQAUN
cookies.ini: https://pastebin.com/C4N4sVmE
corecmds.ini: https://pastebin.com/mmvELjs7
GTASA.ini: https://pastebin.com/SMHHWaVb
info.ini: https://pastebin.com/QUYUjs2G
masterscript.ini: https://pastebin.com/CtwE188b

drugdealer.ini: https://pastebin.com/wdW8hVhc
duel.ini: https://pastebin.com/NgNkpz9B
jobscmds.ini: https://pastebin.com/T5YsQx8m
races.ini: https://pastebin.com/DhrGSQcE
taxi.ini: https://pastebin.com/UtPaW0Cm

Folder structure mIRC: https://imgur.com/a/4k1iWux
Enjoy


Re: mIRC scripts release - Erwin. - 24.11.2018

Does someone still is using mIRC lol? I'd prefer Discord.


Re: mIRC scripts release - J0sh... - 25.11.2018

my memes work in discord


Re: mIRC scripts release - Variable™ - 25.11.2018

I spam people in discord


Re: mIRC scripts release - cuber - 25.11.2018

Quote:
Originally Posted by SjuteL
View Post
Does someone still is using mIRC lol? I'd prefer Discord.
You'd prefer an electron app instead? Mhm, mkay.

Quote:
Originally Posted by Y_Less
View Post
Thanks, I forgot about that advantage of IRC.
LMAO


https://www.y0utube.com/watch?v=_tWC5qtfby4

Josh, I'm sorry


Re: mIRC scripts release - J0sh... - 25.11.2018

Quote:
Originally Posted by Y_Less
View Post
Thanks, I forgot about that advantage of IRC.
my memes are the spiciest in this whole community, everyone will miss out


Re: mIRC scripts release - Erwin. - 25.11.2018

Quote:
Originally Posted by Y_Less
View Post
Discord is awful compared to IRC. Centralised closed-source server, no published network standard, mandatory user registration, images and emoticons shown in chat by default, electron-based (or a terrible web-based version that breaks browser’s ctrl+k for searching), no logging or persistence, invasive monitoring of what you are doing by default.

Name one thing that’s better about Discord.
I just like Discord better than IRC and that's all. I don't have to explain the reason why and what are the pros and cons.


Re: mIRC scripts release - DowDaw - 25.11.2018

I'm still using both but the thing almost everyone moving to Discord, half of servers we aware of, are creating their own Discord server(s), less activity on IRC.

Which I can say, IRC is kinda dying, especially there's only a few people who still using it comparing to Discord


Re: mIRC scripts release - yugecin - 26.11.2018

Quote:
Originally Posted by DowDaw
View Post
I'm still using both but the thing almost everyone moving to Discord, half of servers we aware of, are creating their own Discord server(s), less activity on IRC.

Which I can say, IRC is kinda dying, especially there's only a few people who still using it comparing to Discord
IRC will never die since it's just a protocol. At any point in time someone can implement it and use IRC (or nowadays just download any of the many implementations available).
Discord will die. It's a proprietary thing controlled by one entity, which will not last forever.


Re: mIRC scripts release - CharlieSanchez - 16.12.2018

I have to say, i'm not a fan of Discord, sure looks kinda neat, but its heavy resource eater just like skype lol, and somewhat Intrusive i have to agree with Y_Less on this, and also not sure its gonna last forever, with that said, i don't really use it much and wont i guess, IRC hell yes im old, screw you young fellas haha, im from the stone age when it was the best thing in the world! even met girls in real life from it!, and its so light, simple and command based that i love it and makes feel i accomplish something every time i have to write a command hehe, but its not pretty like all these modern apps and software's sure but its still cool and simple i like it.