Changeset 999
- Timestamp:
- 04/16/09 07:20:06 (3 years ago)
- File:
-
- 1 edited
-
trunk/plugins/en/complex_replicate.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/en/complex_replicate.tcl
r973 r999 16 16 17 17 proc bMotion_plugin_complex_replicate { nick host handle channel text } { 18 global botnicks18 global botnicks 19 19 20 20 regexp -nocase "^${botnicks}:?,? (please )?(replicate|create|send|make|turn) (.+)" $text matches bot please action details 21 21 22 #make it so23 if [regexp -nocase "^it so$" $details] {24 bMotionDoAction $channel $nick "/makes it so for %%"25 bMotion_plugins_settings_set "system" "lastdonefor" $channel "" $nick26 return 127 }22 #make it so 23 if [regexp -nocase "^it so$" $details] { 24 bMotionDoAction $channel $nick "/makes it so for %%" 25 bMotion_plugins_settings_set "system" "lastdonefor" $channel "" $nick 26 return 1 27 } 28 28 29 # make it something30 if [regexp -nocase "^it (.+)$" $details ming details2] {31 bMotionDoAction $channel $nick "/makes it $details2 for %%"32 bMotion_plugins_settings_set "system" "lastdonefor" $channel "" $nick33 return 134 }29 # make it something 30 if [regexp -nocase "^it (.+)$" $details ming details2] { 31 bMotionDoAction $channel $nick "/makes it $details2 for %%" 32 bMotion_plugins_settings_set "system" "lastdonefor" $channel "" $nick 33 return 1 34 } 35 35 36 # actually replicate37 set who [string trim [string range $details 0 [string first " " $details]]]38 set item [string range $details [expr [string first " " $details] + 1] [string length $details]]39 set whom ""40 if {$who == ""} {41 bMotionDoAction $channel $nick "Idiot. Try pressing Alt-F4 for help, %%"42 return 143 }44 if {$who == "me"} { set whom $nick}45 if {[regexp -nocase "(yourself|you)" $who]} { set whom [getPronoun] }46 if {$whom == ""} { set whom $who }36 # actually replicate 37 set who [string trim [string range $details 0 [string first " " $details]]] 38 set item [string range $details [expr [string first " " $details] + 1] [string length $details]] 39 set whom "" 40 if {$who == ""} { 41 bMotionDoAction $channel $nick "Idiot. Try pressing Alt-F4 for help, %%" 42 return 1 43 } 44 if {$who == "me"} { set whom [bMotionGetRealName $nick] } 45 if {[regexp -nocase "(yourself|you)" $who]} { set whom [getPronoun] } 46 if {$whom == ""} { set whom $who } 47 47 if {[string tolower $action] == "make" || [string tolower $action] == "turn" } { 48 if {($whom == [getPronoun]) && [regexp -nocase "(come|cum|ejaculate|squirt)" $item]} {49 cum $channel $nick50 return 151 }52 if {[rand 4] == 0 || [regexp -nocase "into" $item]} {53 set whom "$whom is"54 if {$who == "me"} { set whom "you are" }55 if {[regexp -nocase "(yourself|you)" $who]} { set whom "I am" }56 if [regexp -nocase "into" $item] {57 set item [string range $item [expr [string first "into" $item] + 5] end]58 }59 set hisHers [getHisHers]60 bMotionDoAction $channel $hisHers "%VAR{wands}"61 bMotionDoAction $channel $whom "*PING* ... %% $item"62 if [rand 2] { bMotionDoAction $channel $whom "I AM THE WIZARD%colen" }63 bMotionGetHappy64 bMotionGetUnLonely65 bMotion_putloglev d * "bMotion: Turned someone into $item :P"66 return 167 }68 }69 bMotionDoAction $channel $whom "/replicates $item and hands it to %%" 70 bMotionGetUnLonely71 bMotion_plugins_settings_set "system" "lastdonefor" $channel "" $nick72 return 148 if {($whom == [getPronoun]) && [regexp -nocase "(come|cum|ejaculate|squirt)" $item]} { 49 cum $channel $nick 50 return 1 51 } 52 if {[rand 4] == 0 || [regexp -nocase "into" $item]} { 53 set whom "$whom is" 54 if {$who == "me"} { set whom "you are" } 55 if {[regexp -nocase "(yourself|you)" $who]} { set whom "I am" } 56 if [regexp -nocase "into" $item] { 57 set item [string range $item [expr [string first "into" $item] + 5] end] 58 } 59 set hisHers [getHisHers] 60 bMotionDoAction $channel $hisHers "%VAR{wands}" 61 bMotionDoAction $channel $whom "*PING* ... %% $item" 62 if [rand 2] { bMotionDoAction $channel $whom "I AM THE WIZARD%colen" } 63 bMotionGetHappy 64 bMotionGetUnLonely 65 bMotion_putloglev d * "bMotion: Turned someone into $item :P" 66 return 1 67 } 68 } 69 bMotionDoAction $channel $whom "%VAR{makes}" $item 70 bMotionGetUnLonely 71 bMotion_plugins_settings_set "system" "lastdonefor" $channel "" $nick 72 return 1 73 73 } 74 74 75 proc bMotion_plugin_complex_replicate2 { nick host handle channel text } { 76 global botnicks botnick 77 regexp -nocase "^${botnicks}:?,? (please )?(replicate|create|send|make) (.+?)( for| to) (.+)" $text matches bot please action details f who 75 78 76 proc bMotion_plugin_complex_replicate2 { nick host handle channel text } { 77 global botnicks botnick 78 regexp -nocase "^${botnicks}:?,? (please )?(replicate|create|send|make) (.+?)( for| to) (.+)" $text matches bot please action details f who 79 bMotion_plugin_complex_replicate $nick $host $handle $channel "$botnick $action $who $details" 80 return 1 81 } 79 82 80 bMotion_plugin_complex_replicate $nick $host $handle $channel "$botnick $action $who $details" 81 return 1 83 bMotion_abstract_register "makes" { 84 "/replicates %2 and hands it to %%" 85 "/replicates %2 for %%" 86 "/lovingly crafts %2 out of %VAR{sillyThings:strip} for %%" 82 87 } 88 89 bMotion_abstract_register "makes_female" { 90 "/pulls %2 out of her magic box for %%" 91 }
Note: See TracChangeset
for help on using the changeset viewer.
