MoshMage

MoshMage

Joined
Dec 12, 2007

Activity Stream

MoshMage commented on a Page, Simple Calculator  -  Jun 30, 2013

When i coded mirc scripting i always avoided to use modals, windows or dialogs for unnecessary stuff. This is one of them cases where a simple well formatted echo would suffice.

alias calc { if ($1-) echo -ta <Calculator> $1- = $calc($1-) }

Would achieve the exact same effect in less time and less hassle. But hey, To each its own :)

MoshMage created a Page  -  Jun 19, 2013
1 65 

Returns true if the inputed string is alphanumeric (either letters or numbers) after ignoring chosen chars. The snippet makes use of str_replace and the original ctype_alnum.

  1 Thread   PHP  
MoshMage commented on a Page, PHP Dateify!  -  May 22, 2013

Not bashing on you, but you're overcoding. you could've floored the $stamp and then divide that value to get days, hours, mins and seconds. But i guess your way works as well :)

 Respond  
MoshMage   -  May 19, 2013

Wasn't there a Forum of some kind? IT would help me a bunch now.
I coded a framework, or at least I think it's a framework, and i'd like to know if it's in a MCV context because.. I really don't know. And here's the reason:
The thing (lets call it FW) loads every "module" that's inside modules/ folder and each module/module_name/ has a template/ folder inside where it has a butload of design/HTML related files (with a few echos here and there). The main folder (where the main index.php lies) has a template/ folder also where it has styles and website layout (as well as echoing the modules content). I could copy-paste the whole file structure but i'm not sure how it would present itself as I've never used this "Star Thread" thingy.

Anyhow, from my description: does it sound like a MCV Framework?

MoshMage commented on a Page, VBS Okay/Cancel MsgBox generator  -  Aug 07, 2012

@Sorasyn oh..! right. My bad. ^^'

 Respond  
MoshMage commented on a Page, URL Kicking/Ban System (GUESTS)  -  Aug 07, 2012

neat.

 Respond  
MoshMage commented on a Page, VBS Okay/Cancel MsgBox generator  -  Aug 07, 2012

don't you get tired of reinventing the wheel?

echo $input(hello world,owd,this is title)

use /help $input

 Respond  
MoshMage commented on a Page, Auto Identify (for mIRC bot)  -  Aug 07, 2012

@TochA1551 i'm confused at why so many !add and !dels as i can't think of anyone who'd want to turn off auto-login; Still.. What happens if you're not on a Nickserved network but instead on a Qserved ?

 Respond  
MoshMage commented on a Page, Facts script  -  Aug 07, 2012

Faster yet:

on *:text:!*:#:{
  if (!$2) || ($1 == !8ball) {
   var %w $right($1,-1)
    var %file $+($mircdir\text\,%w,.txt)
    if ($isfile(%file)) {
      msg $chan $read(%file)
    }
  }
}

EDIT:
@Hawkee there should be a 'delete post' option when i'm the post owner.
Also, editing "code" tag within an comment will add "br" tags and delete the "code" styling.

 Respond  
MoshMage commented on a Page, MsgtoUser  -  Aug 06, 2012

fair enough :)
and yep. i had never seen one either - but this one seems like a home-breed irc network

 Respond  
MoshMage created a Page  -  Aug 06, 2012
2 530 

hit !deal and bot shall deal a complete random hand. if you want more cards per hand just change the line

MoshMage commented on a Page, MsgtoUser  -  Aug 06, 2012

@blackvenomm666 You'd be better off saying "There are IRC networks that doon't have any kind of services or memoserv" - i just found this out x)

 Respond  
MoshMage commented on a mIRC Script, DDO style dice  -  Aug 05, 2012

Unless he is thinking of updating the code, then there's a purpose for a script entry. Still, he could remove de code and add a descriptiong to make it script-entry-like ^^'

 Respond  
MoshMage commented on a Page, MsgtoUser  -  Aug 05, 2012

There's no /memoserv in your network? that shucks.

 Respond  
MoshMage commented on a mIRC Script, Smack, slap And Spin Game  -  Feb 25, 2012

what utter..

 Respond  
MoshMage commented on a Page, MySQL Bot Core (ver1.53 STABLE) - 27.09.2011  -  Sep 07, 2011

Noutrious, you made an entire mysql bot and you forgot adding a simple popup to configure those 3, non important, variables? I thought I was lazy x)

edit:
later on, ill read the damn code and, i'll say something about the bot in-it

 Respond  
MoshMage commented on a Page, Timed Ban  -  Sep 07, 2011

Anywho, is that regsub alias a overreaction or a overkill? X) neat nonetheless

 Respond  
MoshMage commented on a Page, Uno helper  -  Aug 05, 2011

Good point. I've added a on load event, that should do the trick :)

 Respond  
MoshMage created a Page  -  Aug 05, 2011
453 

This is supposed to help you play Uno @ irc.

MoshMage commented on a Page, Hash Replace /hrep  -  Mar 09, 2011

failed silently, tho that code does work

 Respond  
MoshMage commented on a Page, Hash Replace /hrep  -  Mar 08, 2011

Somehow that is not happening here, god know why. otherwise i wouldnt have "all that trouble". but yeah, i must've fast forward the mIRC help thingy.

Still, doesn't happen to replace the hash item value on my mirc version

 Respond  
MoshMage created a Page  -  Mar 08, 2011
185 

for attempting porpuses. it seems /hadd already does it.

MoshMage commented on a Page, Hawkee Snippet Search 3.0  -  Mar 08, 2011

Glad i could help :)

 Respond  
MoshMage commented on a Page, Hawkee Snippet Search 3.0  -  Mar 07, 2011

Nice one mate! You could, tho. Add a feature to "latest in mIRC home" too. OR will it retrieve the newest snippets/scripts IF the search string is empty?

 Respond  
MoshMage commented on a Page, Script request logger  -  Mar 07, 2011

oh! also. i hate all the spam im making but im flying in a kite right now so.. its normal to forget stuff xD

excuse me for the .msg MoshMage on load, it's code its directly removed from my bot and i use that to make sure it loads when i tell it to load. you should remove the on load event

and.. all the #PTScripting should be replaced to #channel_you_want

 Respond  
MoshMage commented on a Page, Script request logger  -  Mar 07, 2011

oh. and commands are: !ticket = ask for a ticket; !tickets view tickets;
!aowner to add owner
!rowner to remove.

only onwers can use !tickets and !ticket -commands.

 Respond  
MoshMage commented on a Page, Script request logger  -  Mar 07, 2011

http://pastebin.com/GFDHut2H where: -ler = READ; -rem = REMOVE; -resp = ANSWER

 Respond  
MoshMage commented on a Page, Script request logger  -  Mar 06, 2011

wow mate! i have something quite like this for the ms channel here at ptnet i'll hook u up with a pastebin if you want to have a look

 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.