Explore Threads

Noteworthy / Threads / Pages

RichardWinters   -  4 days ago

Hello!
Several years ago I was a good programer in "mSL" but it seems that I get the amnesia flu or something... because I dont remember how to do aliases scripts.

I got this Idea that I want to recover:


alias 870 {

  inc %870
  inc %870.$1
  say takes his 870 shotgun, put inside several shells, aim against  $1 and fires..  (Shoots with his 870: %870 ,Shoots against $1: %870.$1 )

}

Ye, its awful.

now if we get a example case:
in aliases we got

%870 5
%870.pedro 5

(I dont have dat... I erease that awful aliases)

so I shoot 5 times against pedro, and now I shoot against dunno... "mIRC"

so the text must show:

RichardWinters takes his 870 shotgun, put inside several shells, aim against mIRC and fires.. (Shoots with his 870: 6 ,Shoots against mIRC: 1 )

but it doesnt works. it keep sayin

RichardWinters takes his 870 shotgun, put inside several shells, aim against mIRC and fires.. (Shoots with his 870: 6 ,Shoots against mIRC: 6 )

like if mIRC were Pedro. but mIRC is not Pedro.

So what is getting wrong? (apart my grammar)

Edit:

I tried this, but is not working yet at all:

alias 870 {
  inc %870
  inc %870 $+ $1
  say takes his 870 shotgun, put inside several shells, aim against  $1 and fires..  (Shoots with his 870: %870 ,Shoots against $1: $eval($($+(%,870.,$1),2) $+ )
}
More
 Respond  
Hawkee   -  4 days ago

Has anybody started using Google Inbox yet? I really like the design and UX. I haven't opened Gmail for a couple days and I don't miss it yet.

More
 Respond  
Lilli   -  7 days ago

I'm trying to write a death counter for my bot and I think I'm over my head. I thought it would be similar to the raffle system where you would enter something like !rekt and it would tally the amount of deaths you had in a game that day along with a short message. Can anyone help me?

More
 Respond  
RabbyTo   -  8 days ago

Anyone knows how user could toggle any action on livestream via twitch chat?
I saw something like that on 1 stream, that users gets points for being in chat and they can spend it by typing some commands. Those commands toggles live actions via streams (sounds, images and etc.)
I got point system already running in my mirc bot, but i need help with rewards, can anyone help me, at least with some hints :)

More
 Respond  
pixel   -  8 days ago

can anyone help me?
i need a script that will announce a message on someones first text of the day like:
[viewer]hiya guys
[bot] hiya viewer welcome to the stream!

More
 Respond  
SCDudeDark   -  10 days ago

So I have a personal bot for my Twitch channel and I wanted to add a kind of coliseum minigame to the channel that you enter using earned points a set entry fee basically So I have edited a raffle script and I think that my Idea is sound but it definitely doesnt work and I have no Idea how to keep track of the pot and how to award it afterwords still kinda new to scripting so any advice or help would be appreciated (work in progress have to head to bed for work so I will be changing it a bit more myself as well)
on *:TEXT:!Battle &:#:{
if (%open == 1) {

if ($2 < 11) {
  var %i = 0
  var %count = $2
  var %topic = $+(#,.,$nick)
  var %user = $readini(Points.ini,%topic,Points)
  var %final = 50 * %count
  var %remove = %user - %final
  if (%remove > 0) {
    writeini -n Points.ini %topic Points %remove
    while (%i < %count) {
      write arena.txt $nick
      %i = %i + 1
    }
    msg $chan $nick $+ , has entered the ThunderDome spending %final Scars! Wish them luck!
  }
  if (%remove < 0) {
    msg $chan Sorry $nick but you don't have enough Scars to Enter!
  }
}

}
}
on :TEXT::#:{
if ($nick isop #) {

if ($1 == !Arena) {
  if ($2 == open) {
    msg $chan The gates to the ThunderDome have opened Lets get ready to ROCK!! Type !Battle to enter. Remember only one man leaves 
    set %open 1
    write -c arena.txt
    echo -a arena Started
  }
  if ($2 == close) {
    msg $chan The Gates have closed!
    set %open 0
    write -c arena.txt
    echo -a arena Closed
  }
}
if ($1 == !Fight) {
  if (%open == 1) {
    var %user = $read(arena.txt,n)
    write -c arena.txt
    set %open 0
    msg $chan  %user $+ Has mutilated the opposition!!
    echo -a arena Closed
  }
}

}
if ($1 == !) {Thunderdome
if (%open == 1) {

msg $chan There are currently $lines(arena.txt) Contenders!

}
}
}

More
 Respond  
romkesz   -  13 days ago

that i'm trying to do: only nicknames in names.txt file can join to channel, all others got kick + ban from channel. users can add remotly by !adduser nick something like that...

menu nicklist {
  .Set As Bot Master: writeini access.ini Access $address($1,2) Master
}
on *:TEXT:-Access add *:*: {
  if ($readini(access.ini,Access,$nick) == $null) .notice $nick 4Error: You do not have access to this command
  elseif ($4 >= $readini(access.ini,Access,$nick)) && ($readini(access.ini,Access,$nick) != Master) .notice $nick 4Error: The access level can not be equal to or higher than your own unless you are Bot Master
  elseif ($4 > 10) && ($readini(access.ini,Access,$address($nick,2)) == Master) .notice $nick 4Error: Access level can not be higher than 10
  else {
    writeini access.ini Access $address($3,2) $4
    msg $chan $3 ( $+ $address($nick,2) $+ ) has been added to the access list.
  }
}
on 1:TEXT:-Access del *:*: { 
  if ($readini(access.ini,Access,$address($nick,2)) == $null) .notice $nick 4Error: You do not have access to this command
  elseif ($readini(access.ini,Access,$address($nick,2)) <= $readini(access.ini,Access,$address($3,2))) && ($readini(access.ini,Access,$address($nick,2)) != Master) .notice $nick 4Error: The access level you are trying to delete can not be equal to or higher than your own unless you are Bot Master
  elseif ($readini(access.ini,Access,$3) == $null) .notice $nick 4Error: That names isn't on the access list.
  else {
    remini access.ini Access $3 
    msg $chan $3 ( $+ $address($3,2) $+ ) has been deleted from the access list.
  }
}
on *:TEXT:-Access List:*: .play -n $nick access.ini
on @*:Join:#: {
  if ($readini(access.ini,Access,$address($nick,2)) <= 2) mode $chan +v $nick
  elseif ($readini(access.ini,Access,$address($nick,2)) <= 4) mode $chan +h $nick 
  elseif ($readini(access.ini,Access,$address($nick,2)) <= 6) mode $chan +o $nick 
  elseif ($readini(access.ini,Access,$address($nick,2)) <= 8) mode $chan +a $nick 
  elseif ($readini(access.ini,Access,$address($nick,2)) <= 10) mode $chan +q $nick
  elseif ($readini(access.ini,Access,$address($nick,2)) == akick) {
    mode $chan +b $address($nick,2) | kick $chan $nick You are not allowed to be on this channel.
  }
}

i got something like that, but its not working...

More
 Respond  
Cheiron   -  14 days ago

I would like a new script please for mirc 6.35. It will be a dual purpose script to show what port / server a user is on only... no other information. ie /showport user = user is connected on server - blah and is using port - blah.
The output for this to be shown in a fixed channel = #Opers
Non ssl port users will have text in red. ssl port users will be shown in green text.

The other part to the script will be for me to see and return what port and client i am on via echo. ie /myport

The only other information i think you might need on this... all of us opers have to be on ssl by default to get oline.
We're on unrealircd 3.2.10 and anope 2 series

More
 Respond  
azzamallow   -  18 days ago

Hi there, I am looking for an old mIRC script: Excell v1.0b2 by Lo`Tek

I used to hack around with this script and would love to track it down and have a look again. I've searched high and low on the internet and I can barely find any traces of it. Anyone know where I could possibly find it? I came here as I know this site originally started as a mIRC scripts website. Thank you in advance for your help!

More
 Respond  
Sorasyn   -  21 days ago

For the past few months I've been oddly fascinated by the creativity and projects created using a simple Raspberry Pi board. So I decided to pick one up for myself, along with a few gadgets for my little Raspberry Pi 2, as a sort of "starter kit." Among those gadgets are a Bluetooth, and Wi-Fi USB dongle.

I was particularly fascinated by a fellow who had written a program to detect when certain registered Bluetooth devices came within range of the device. He had mounted his module in his house, clocking recognized devices as they came and went from the house as the day progressed. He then used this data, maintained a list of who was currently at home, and presented this data to the owner over the internet.

Aside from that, a cheap $35 quad-core home-based file server is never a bad thing.

More
ginyudotnet   -  27 days ago

I'm looking for someone who wouldn't mind helping me out with an mIRC script I've been trying to figure out. Unfortunately I am not that tech savy when it comes to learning different computer languages and I have barely even scratched the surface of web development. I've always been a major fan of Hawkee scripts, so I figured this would be an ideal place to start. What I'm looking for, is something that I can put up and host on my website www.ginyu.net - if you're interested in helping out, or feel like you could take on the script entirely, please let me know. I would greatly appreciate it.

More
SCDudeDark   -  28 days ago

Ok, so I'm new here and new to coding stuff. But based off of many things I have read I have started to make my own chat bot I currently have a points system working and working well but I've been trying raffle systems currently this is the most common one I have found but for some reason my bot won't even respond after I put in the commands any Ideas?

on *TEXT:!Skulls $:#:{
if (%raffle = 1) {

if ($2 > 10) {
  msg $chan Sorry $nick but you can only get up to 10 skulls!
}
if ($2 < 11) {
  var %i = 0
  var %ticket = $2
  var %topic = $+(#,.,$nick)
  var %user = $readini (Points.ini,%topic,Points)
  var %end = 10 * %ticket
  var %delete = %user - %end
  if (%delete > 0) {
    writeini -n Points.ini %topic Points %delete
    while (%i < %ticket) {
      write Raffle.txt $nick
      %i = %i + 1
    }
    msg $chan $nick you have bought %ticket skulls with %end Scars.
  }
}

}
if (%raffle == 0) {

msg $chan No skulls for sale at this time!

}
}
on *:TEXT:!openbag:#:{
if ($nick isop #) {

if (%raffle == 0) {
  msg $chan Buy some !skulls and throw them in my bag Ill pick one and its owner will win!!!
  set %raffle 1
  write -c Raffle.txt
}

}
}
on *:TEXT:!closebag:#:{
if ($nick isop #) {

if ($raffle == 1) {
  msg $chan The Bag has been closed!!
  set %raffle 0
  write -c Raffle.txt
}

}
}
on *:TEXT:!pick:#:{
if ($nick isop #) {

if (%raffle == 1) {
  var %user = $read(Raffle.txt, n)
  msg $chan /me Reaches into bag digs around
  .timerOne 1 1 msg $chan /me 5!
  .timerTwo 1 2 msg $chan /me 4!
  .timerThree 1 3 msg $chan /me 3!
  .timerFour 1 4 msg $chan /me 2!
  .timerFive 1 5 msg $chan /me 1!
  .timerSix 1 6 msg $chan AND THE WINNER IS:
  .timerSeven 1 7 msg $chan %user
  set %raffle 0
  write -c Raffle.txt
}

}
}

More
Hawkee   -  Mar 11, 2015

I'm experimenting with TinkerCad and it seems to be quite powerful. Our local library has a 3D printer that's available to the public, so I've started to get into printing basic things. Anybody else have access to a 3D printer?

More
Hawkee   -  Mar 10, 2015

I decided to get into a new hobby and picked up a Cheerson CX-20. It's a neat quadcopter and allows for programmable waypoint missions and an abundance of tweaks. Anybody own a quadcopter?

More
SReject   -  Mar 09, 2015

@Hawkee A few things:
After editing a snippet page the browser page has to be refreshed before you can edit it again.
Initial container size when editing a post page covers up buttons: http://i.imgur.com/HOtBT5v.png

More
jort93   -  Mar 03, 2015

why doesnt that if statement work?
if (% $+ $1 !== 1)

More
Kame1978   -  Mar 02, 2015

I'm looking for something that will work similar to /amsg and /ame where it will broadcast to multiple channels but only to channels specified in a list. If anyone can help out it would be really appreciated.

More
Kazama-MX   -  Feb 28, 2015

Hi im new i have this code but mIRC send an msg of each command and the message is UKNOW COMMAND what is the error?

On MASTER:TEXT:.add_*:#: {
      set var %prd = $replacex($1, .add_)
      if ( (%prd==armas) || (%prd==pan) || (%prd==regalos) ){
          set var -n %file =  C:/ $+ %prd $+ .txt
          write -n %file Producto: $2 - Precio: $3 - Vendedor: $4 - Stock: $5  Link: $6
          write -n C:/all.txt Producto: $2 - Precio: $3 - Vendedor: $4 - Stock: $5  Link: $6
          msg $chan $nick Venta Guardado
      }else{
            RETURN
      }
}

On *:TEXT:.read_*:#: {
  var %prd = $replacex($1, .read_)
  if ( (%prd==armas) || (%prd==pan) || (%prd==regalos) ){
  var %file =  C:/ $+ %prd $+ .txt
  play $nick %file
  }else{
      RETURN
}
}

On *:TEXT:.read*:#: {
    play $nick C:/all.txt
} 
More
Ekwag   -  Feb 28, 2015

So, I have the same points bot that everyone has where points are added every 5 minutes to each user. I want to make it so that it can detect if the stream is online and give points for that more often than if the stream is offline. I know I could make it through a command, but in the event that I am online, is there a way to do it automatically?

More
DeeperStill   -  Feb 25, 2015

I am seeking a script to add into my mirc which will allow the moderators in my irc channel, to trigger the /sajoin command within my script. The usage of this script would allow my moderators who do not have the level of network admin, to use my own client as a bot to send idle users into an #idle channel.

The moderator would type !Idle nick to trigger the output of /sajoin nick #idle | msg $nick You have been joined to our idle channel per our anti idle rule. Please rejoin the channel when you are ready to take part again.

I attempted to script this myself but only ended up creating a script that only joined my mods to the #idle channel and not the person on the nick list whom they wished to send there.

I am a network admin and have the level myself to use the /sajoin command but by mods to do have that level.

Is there some way to script this so my mods can trigger my script to send idle nicks into our idle channel?

Thank you for any help
DeeperStill
Cornerstone Chat

More
 Respond  
[Plornt]   -  Feb 21, 2015

Messing with Dart, I seriously do not understand languages which do not have proper date time parsing nor date time formatting (Without the use of third party extensions). You have to use a very specific set of time strings to be able to parse your time (none of which are fully standards compliant), you cannot specify your own formatting - ie you cannot tell it specifically what to look for. And finally you have to pull in a third party package to be able to format the date time. For such common uses you'd think theyd have that in the core library.

More
Jordy19   -  Feb 20, 2015

I would love to see an material design at hawkee.com

More
sagargulati   -  Feb 10, 2015

@FordLawnmower : Check PM :)
Also can you tell me how can i use Google Translator, Google Search and Wikipedia script in private messages? Thanks!

More
 Respond  
afp_romania   -  Feb 02, 2015

@hawkee can you choose a darker color for text? Its too white or gray

More
sagargulati   -  Jan 31, 2015

@Hawkee : Check pm now waiting for a bug bounty (big one) and should be on hall of fame :v :3

More
raccoon   -  Jan 28, 2015

@Hawkee : Now all you need is a flag / report button for pages and threads :) Allowing some of us regulars the power to soft-delete and everyone else can mark-for-review.

More
terry8nose   -  Jan 28, 2015

Awesome, thanks guys. I'll definitely wait till the previous page is faraway from the G index before reposting my page. If I keep in mind I will post my results here. Hoping to work out some improvement.

I was additionally wondering 301 redirecting solely the penalized URL to a junk domain. I assume this is able to purpose the penalty away from my site? Either of you tried this?

More
 Respond  
michaelukz   -  Jan 27, 2015

Would anyone know how to set a warn system up, I want it to be somewhat different to those out there, I wish for it to be a 3 strike system, IE when a OP only types in the twitch chat !warn it says " has been warned" or if they type !warn it will say " has been warned" but it will output to an .ini file sayings what they have been warned for -- IE to keep a list of their offences with date and reason(if provided), I would also like a command called !warnlist, this is a just a normal command anyone can do ie "michaelukz: "!warnlist" Ukzbot: "You have 2 Warnings michaelukz"" however if an op and only an op types "!warnlist " it gives them how many times that user has been warned. Also if possible could it output " has exceeded 3 warnings"

More
 Respond  
afp_romania   -  Jan 25, 2015

@Hawkee how about multi language site? :) I can translate for romanian language. It will be nice to have this!

More
raccoon   -  Jan 25, 2015

@Hawkee : Did you cancel a registration for user @42? I never did get email confirmation after spending an easy 10 minutes on that horrible horrible CAPTCHA. (Personally I don't think it's possible for humans to pass it, only robots.)

More
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.