Skip to content

Instantly share code, notes, and snippets.

@firstspring1845
Created April 1, 2014 14:39
Show Gist options
  • Save firstspring1845/9915475 to your computer and use it in GitHub Desktop.
Save firstspring1845/9915475 to your computer and use it in GitHub Desktop.
名前変更用のShrimpプラグインです
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