Created
April 1, 2014 14:39
-
-
Save firstspring1845/9915475 to your computer and use it in GitHub Desktop.
名前変更用のShrimpプラグインです
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import("System.Text"); | |
import("System"); | |
function initialize (version) | |
return true, "改名プラグイン", 100, "firstspring1845"; | |
end | |
function OnRegistTweetBoxMenu ( hook ) | |
hook.text = "改名"; | |
hook.tooltipText = "ツイート欄に入力された名前に改名します"; | |
hook.callbackFunction = "ClickedTweetBoxMenu"; | |
end | |
function ClickedTweetBoxMenu ( tweetBoxValue ) | |
update_profile(tweetBoxValue.text,null,null,null); | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment