SudsyUncle

SudsyUncle

Joined
May 24, 2009

Activity Stream

SudsyUncle commented on a Page, Kirby's PasteBin Uploader/Downloader  -  May 28, 2009

/me is too lazy to edit for width

 Respond  
SudsyUncle commented on a Page, Kirby's PasteBin Uploader/Downloader  -  May 28, 2009

for those with mini screens:

dialog pastebin {
  title "Pastebin Uploader / Downloader"
  size -1 -1 454 204
  option dbu
  box "Upload:", 1, 5 2 232 84
  text "Name:", 2, 14 11 16 8
  edit "", 3, 33 10 67 10, autohs limit 24 center
  text "Private sub-domain:", 4, 109 11 49 8
  edit "", 5, 160 10 68 10, autohs limit 50 center
  text "Syntax highlighting:", 6, 26 25 48 8
  combo 7, 81 24 75 62, sort size drop
  check "Private Paste?", 8, 171 24 45 10
  button "Browse file...", 9, 11 51 42 12
  edit "", 10, 61 52 170 10, autohs center
  text "How long should your post be retained?", 11, 19 39 96 8
  radio "a day", 12, 126 38 24 10
  radio "a month", 13, 157 38 30 10
  radio "forever", 14, 195 38 28 10
  button "Preview!", 15, 53 68 50 12
  button "Upload!", 16, 135 68 50 12
  box "Download:", 17, 237 2 213 37
  text "Pastebin URL:", 18, 244 10 34 8
  edit "", 19, 280 9 106 10, autohs center
  check "Load to remotes?", 20, 393 9 52 10
  button "Preview", 21, 273 22 50 12
  button "Download!", 22, 362 22 50 12
  edit "", 23, 5 90 443 91, multi return hsbar vsbar
  box "Information:", 24, 237 36 213 50
  text "", 25, 243 43 201 39
  button "Close Dialog", 26, 44 187 60 14
  button "Clear Screen", 27, 148 187 60 14
  button "Copy to Clipboard", 28, 254 187 60 14
  button "Go to line...", 29, 359 187 60 14
  link "", 30, 256 49 188 7
}
 Respond  
SudsyUncle commented on a Page, oobi's bot 1.3  -  May 28, 2009

@ the risk of sounding condescending, yet again. $modespl is pointless and moot, in a remote, unless you either loop or the user already knows the max.
To use $modespl and not be pointless you'd need something like

;set your vars
  var %i = 1, %os
;set loop max to names
  while (%i <= $numtok($2-,32)) {
;add a name
    %os = %os $gettok($2-,%i,32)
;are we @ max yet?
    if ($numtok(%os,32) == $modespl) { 
;we're @ max so we mode
       mode # $+(+,$str(o,$numtok(%os,32))) %os 
;safety clear as mIRC is sometimes too slow
      %os = "" 
    }
;loop some more
    inc %i
  }
;if any left or never hit max
  if (%os) {
;mode names
     mode # $+(+,$str(o,$numtok(%os,32))) %os 
  }
 Respond  
SudsyUncle commented on a Page, oobi's bot 1.3  -  May 28, 2009

true, but by definition > Regular expressions are basically a grammar that can be used to perform complicated pattern matching operations.and construction having over 20 regexed events defeats the point

quote = mIRCHelpfile

 Respond  
SudsyUncle commented on a Page, oobi's bot 1.3  -  May 28, 2009

because if you use reg expressions, even wrongly, you l00|< r337 to other n00bs

hint: @ max that all should be 2 events using regex or not; but really only 1

 Respond  
SudsyUncle commented on a Page, Proxy Killer 2.0(beta)  -  May 28, 2009

looks good

 Respond  
SudsyUncle commented on a Page, identify auto join  -  May 25, 2009

buddy best thing is...

/help dialogs
 Respond  
SudsyUncle commented on a Page, badnick kicker  -  May 25, 2009
$regex($nick,/(se(x|ks)|(s|f)uck|p(orn|enis)|horny)/i)
 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.